CMPSC 201-Final (100% correct answers)
A set of instructions a computer follows to perform a specific task is called ______ A) CUP B) Main Memory C) Secondary Memory D) Program correct answers D) Program Which of the following statement is the correct one to get input into variable numberOfCustomer? A) cin >> numberOfCustomer; B) cin >> "numberOfCustomer"; C) cin << numberOfCustomer; D) cin << "numberOfCustomer"; correct answers A) cin >> numberOfCustomer; Which of the following statement is true? A) Adding comments will increase the executable file size. B) Commends are non-executable. C) A program will not run without comments. D) Comments must be in the beginning of the source files. correct answers B) Commends are non-executable. Monitors, printers, and speakers are all examples of ____________. A) Input devices B) CPU C) Main Memory D) Output devices correct answers D) Output devices Windows, DOS, and Unix are a type of _____________. A) Operating System B) Hardware C) Application D) Main Memory correct answers A) Operating System The following C++ statement is valid (asume x has been declared)? cin >> x >> endl; A) True B) False correct answers B) False "Data Dictionary" is a place to ____________. A) Declare all of your variables B) Get use input C) Processing data D) Generating program output correct answers A) Declare all of your variables x = 1.234;
Written for
- Institution
- Plastic Surgery
- Course
- Plastic Surgery
Document information
- Uploaded on
- June 1, 2023
- Number of pages
- 9
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
a set of instructions a computer follows to perform a specific task is called a cup b main memory c secondary memory d program
Document also available in package deal