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
Escuela, estudio y materia
- Institución
- COSC 1436
- Grado
- COSC 1436
Información del documento
- Subido en
- 24 de julio de 2024
- Número de páginas
- 14
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
cosc 1436 midterm questions and correct answer
Documento también disponible en un lote