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
Written for
- Institution
- COSC 1436
- Course
- COSC 1436
Document information
- Uploaded on
- July 24, 2024
- Number of pages
- 14
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
cosc 1436 midterm questions and correct answer
Also available in package deal