COSC 1436 Midterm Questions and Correct Answer
algorithm Answer- a process or set of rules to be followed in calculations or other problem-solving operations argument Answer- a value that you pass to a routine. For example, if SQRT is a routine that returns the square root of a value, then SQRT(25) would return the value 5. The value 25 is the argument. benefits of using functions Answerblock Answer- a structure of source code where some is grouped together (think: what would be going between the brackets) break Answer- break is used within loops and switch statements to jump to the end of the code block. It causes the "//code..." above to be skipped and terminates the loop. In switch case statements, break causes the remaining cases to be skipped--it prevents "falling through" to other cases. byte Answer- unit of digital information that most commonly consists of eight bits character Answer- a character is a unit of information that roughly corresponds to a grapheme, grapheme-like unit, or symbol cin Answer- input code; prompting user to assign a value to a given variabl
École, étude et sujet
- Établissement
- COSC 1436
- Cours
- COSC 1436
Infos sur le Document
- Publié le
- 24 juillet 2024
- Nombre de pages
- 14
- Écrit en
- 2023/2024
- Type
- Examen
- Contient
- Questions et réponses
Sujets
-
cosc 1436 midterm questions and correct answer
Document également disponible en groupe