Computer Science Canada Turing Exam |

Author: | Hugetanks [ Thu Jun 21, 2018 2:02 pm ] |

Post subject: | Turing Exam |

Hello, I have a computer science exam on turing and I wanted to know if anyone of you know the following: Are turing variables case sensitive? What is sequence in turing? Can you give me an example, since I don't understand what exactly it is. Logic behind comparing words for alphabetical order. THanks, |

Author: | Insectoid [ Thu Jun 21, 2018 8:14 pm ] |

Post subject: | RE:Turing Exam |

Yes I know all of those things. |

Author: | ecookman [ Thu Jun 21, 2018 10:26 pm ] |

Post subject: | Re: RE:Turing Exam |

Insectoid @ Thu Jun 21, 2018 8:14 pm wrote:Yes I know all of those things.
ily Hugetanks @ Thu Jun 21, 2018 2:02 pm wrote:Are turing variables case sensitive? Logic behind comparing words for alphabetical order. As much as I loved to be spoon-fed at your age, I'm going to suggest the "try it and find out" approach. Although it isn't what you're looking for (directly), Take one of your old programs and change a variable's case and see what happens! As for the second bit, you can also learn that quite quickly with some exploratory coding. I can't remember if truing has a function for this, but if it doesn't the logic is really however you set it up. For instance string to array (possibly) or assign each letter/possible returns a word a hierarchy of value. |

Author: | Hugetanks [ Sat Jun 23, 2018 7:29 pm ] |

Post subject: | RE:Turing Exam |

Well thanks for the answers...... I took the exam yesterday and.... i forgot to use constants on the questions, so im going to lose a ton of marks, so i think i screwwed up. |

Author: | Insectoid [ Sun Jun 24, 2018 9:06 am ] |

Post subject: | RE:Turing Exam |

In practise using variables instead of constants won't affect your program. Using constants where you want a variable, however, will give you problems. |

Author: | Hugetanks [ Sun Jun 24, 2018 1:56 pm ] |

Post subject: | RE:Turing Exam |

The thing is that the teachers expect us to use constants for everything. So if the question involved outputting something if the input is larger than 500,000, we would need a constant for the 500,000. I directly wrote the number, which is why im going to lose marks. |

: |

You can syndicate this boards posts using the file backend.php or view the topic map using sitemap.php.