- Which of the following algorithms does NOT display four consecutive numbers?
- For vß2 to 5
Display v
- hß
While h<5
Display h
hßh+1
end while
- for kß7 down to 4 step-1
display k
- fß6
while f<3
display f
fßf-1
- The variables h and s are assigned the following values, hß4 and sß3*h.
Display h+s*2 will show
- 28
- 30
- 32
- 38
- Which of the following languages is ONLY understood by computers
- 4GLs
- Machine Languages
- Natural Languages
- Procedural languages
- Which of the following languages is NOT a high-level language?
- C
- COBOL
- ASSEMBLY
- PASCAL
- Errors that occur in a program when the rules of the programming languages are NOT obeyed are called
- Syntax errors
- Logical errors
- Execution errors
- Run-time errors
- Which of the following is NOT type of program error
- Logic error
- Syntax error
- Run time error
- Debug
- Which of the following term is not a term used to describe the process of manually going through a program looking for errors
- Tracing
- Dry run
- Debugging
- Documentation
- Which of the following is an example of a conditional construct?
- F-Next
- If-then-else
- While-endwhile
- For-endfor
- Which of the following reserved words in Pascal displays data and places the cursor on a new line.
- write
- read
- writeln
- readln
- Program implementation involves a number of steps. Which of the following steps is NOT legitimate?
- Executing
- Bonding
- Compiling
- Linking
- Which of the following identifiers is NOT a valid variable name?
- Input
- totalCost
- 9Count
- NumCount
- The term used to describe a memory location whose value changes during program execution
- Constant
- Volatile
- Variable
- Dynamic
Leave a Comment