Quiz
Chapter 2 multiple choice questions
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (20)
1The value of the expression 12 - 4 * 3 / 2 + 9 is _________.
- A21
- B15
- C-6
- D18
2Which of the following is not a variable data type?
- ANumber
- BInteger
- CReal
- DString
3The program development cycle is made up of ______ steps that are repeated until no errors can be found in the program.
- Afour
- Bthree
- Cfive
- Dsix
4What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed?
- APsuedocode
- BSource code
- CAlgorithm
- DFlowchart
5A(n) __________ is a variable whose content has a value that is read only and cannot be changed during the program's execution.
- Astatic variable
- Buninitialized variable
- Cnamed constant
- Dlocked variable
6Which symbol is used for an assignment statement in a flowchart?
- AProcessing
- BI/O
- CTerminal
- DParallelogram
7A _____ is any hypothetical person that is using a program and providing input for it.
- Adesigner
- Bguinea pig
- Ctest subject
- Duser
8A(n) _____ sets a variable to a specified value.
- Avariable declaration
- Bmath expression
- Cassignment statement
- Dstring literal
9 What symbol is used to mark the beginning and end of a string?
- AQuotation
- BComma
- CAsteric
- DSlash
10A(n) _____ is a message that tells (or asks) the user to enter a specific value.
- Ainquiry
- Binput statement
- Cdirective
- Dprompt
11A _________ structure is a set of statements that execute in the order they appear.
- AControl
- BRepetition
- CDecision
- DSequence
12The process where the programmer steps through each of the program?s statements one by one is called _____________.
- AHand tracing
- BDebug
- CExecute
- DChecking
13What term is used for a string that appears in the actual code of a program?
- AString literal
- BVirtual string
- CHard copy
- DStrongly typed
14In the expression 12 + 7, the values on the right and left of the + symbol are called _____
- Aoperands
- Boperators
- Carguments
- Dmath expressions
15The following is an example of what type of statement: Set rate = 5.75
- AAssignment
- BDeclarartion
- CInput
- DOutput
16Assigning a value to a variable in a declaration statement is called ______
- AAllocation
- BInitialization
- CCertification
- DProgramming Style
17What is another term used for "desk checking"?
- AHand Tracing
- Bchecking
- Cdebugging
18A _____ is a storage location in memory that is represented by a name.
- Avariable
- Bregister
- CRAM slot
- Dbyte
19A(n) ____ is a set of well-defined logical steps that must be taken to perform a task.
- Alogarithm
- Bplan of action
- Clogic schedule
- Dalgorithm
20A ______ is a single function that the program must perform in order to satisfy the customer.
- Atask
- Bsoftware requirement
- Cprerequisite
- Dpredicate
Information
- Description
- Computer Science Quiz on Chapter 2 multiple choice questions, created by Naina Minhas on 15/10/2022.
- Author
- Naina Minhas
- Language
- English
- Views
- 4
- Tags
- Rating
- No ratings yet Rate this quiz