R4RIN
Articles
Java 8
MCQS
System programming MCQ Quiz Hub
SYSTEMS PROGRAMMING /PROGRAMMING LANGUAGES MCQ SET 3
Choose a topic to test your knowledge and improve your System programming skills
1. A program which translates high level program into machine code is classified as
compiler
translator
instruction analyst
translating analyst
2. If element in array has two subscripts, then array has
single dimension
two dimensions
three dimensions
four dimensions
3. Names used to identify a specific location and are invented by programmers are called
mechanics
mnemonics
lined addresses
symbolic addresses
4. In line "300 INPUT NUM: PRINT 4.2*NUM*NUM+17" of a BASIC program, '300' is
variable
identifier
line number
single number
5. In JMP PRNT command, JMP and PRNT respectively are classified as
assembler and compiler
source and object program
low level and high level code
mnemonics and symbolic addresses
6. Statement in Comal language 'IF age >=18 THEN PRINT "Yes" ELSE PRINT "No" is an example of
if else statement
if then statement
else one statement
if then else statement
7. Programming language used to encourage logical thinking is classified as
LOGO
COMAL
COBOL
PASCAL
8. Statement which is treated as choice for a possible actions is classified as
case
condition
error statement
variable recognition
9. In line "750 INPUT NUM: PRINT 7.3*NUM*NUM+15" of a BASIC program, '7.3*NUM*NUM+15' is
an exponent
an expression
a fixed identifier
reserved identifier
10. LDA is used instead of LOAD ACCUMULATOR and can be classified as
mechanics
mnemonics
lined addresses
symbolic addresses
11. In line '400 IF NAMEINR ="***" THEN Average= Total Mark/N' of BASIC program, AVERAGE is considered as
real numbers
negative integers
rational variables
irrational numbers
12. Second component in algorithms is classified as
repetition
constant selection
variable selection
variable sequence
13. Explanations at right side of mnemonics and symbolic addresses are called
user comments
compiler comments
assembler comments
programmers comment
14. In COMAL language programs, procedures are defined between
first two statements
start and stop statement
PROC and non-PROC statement
EXEC and non-EXEC statement
15. General term use for self-contained small set of instructions is referred as
routine
function
procedure
subroutine
16. Computer language based on machine code is classified as
ordinary programming language
low level programming language
high level programming language
advanced level programming language
17. In high level programming language BASIC, statements written with GOTO and IF commands are considered as
loop
case
format
condition
18. Programming language 'COBOL' stands for
common business oriented learning
common binary orientation language
classic business orientated language
common business orientated language
19. Way data in program is to be set is called its
class
group
format
reference
20. A special quantity whose value does not change is classified as
constant
mantissa
exponent
variables
21. In BASIC language, '150 LET Area=Width*Length' , optional word is
LET
area
width
length
22. In structured programming language such as Pascal, operations is then refined using
secure data
procedure
virus free data
structured data
23. In high level programming language Pascal, END statement lasts with the
colon
full stop
semicolon
double quotation marks
24. In line "200 INPUT NUM: PRINT 5.8*NUM+5" of a BASIC program, 'PRINT 5.8*NUM+5" ' is
statement
single variable
double identifier
reserved expression
25. Statement used to perform one of two possible actions is written as
if else statement
if then statement
else one statement
then else statement
26. In COMAL language programs, procedures are usually executed by
EXEC statement
PROC statement
CLOSED statement
start PROC statement
27. High level language includes
COMAL
BASIC
both (a) and (b
STANDARD
28. When data to be input is numeric in nature, data type in program is classified as
string
real integers
rational string
irrational string
29. Values that are passed between program and its called subroutine are classified as
argument
parameter
both (a) and (b)
global values
30. In line '500 IF NAMEINR ="***" THEN Average= Total Mark/N' of BASIC program, Total Mark and N are considered as
set of integers
positive odd numbers
positive even numbers
negative odd numbers
31. In line "400 INPUT NUM: PRINT 5.6*NUM+10" of a BASIC program, 'NUM is
constant
variable
exponent
real identifier
32. In statement '100 LET N1 = LEN(AINR )' of BASIC language, built-in function is
LEN
LET
whole statement
numerical values
33. Control returns in calling program at correct place exactly from
place it lefts
end of program
start of program
middle of program
34. Programming language that allows structuring of programs and data is
LOGO
COBOL
COMAL
PASCAL
35. Device used to translate programming language into machine code is classified as
inverter
reversal
operator
assembler
36. Statement which gives value to a variable is called
assignment
real assigning
string assigning
constant assigning
37. Function which is placed between FOR statements and other repeated statements is classified as
FOR loop
DO function
GO function
WHILE function
38. In statement "After last mark enter -1" in COMAL programming language, rogue value is
-1
last
mark
after
39. Special character symbol '/' is used to indicate
director
direction
directive
direction arrows
40. Loop which does not executed at all if it is tested at beginning is classified as
DO loop
WHILE loop
REPEAT loop
GO REPEAT loop
41. Translation of assembly language into machine code is a task of
analysts
financer
assembler
programmer
42. Type of subroutines which are available to users of computer as default part of software is classified as
default routine
local subroutine
library subroutine
default subroutine
43. In programming language, 'identifier' can be
array
variable
constant
All of the above
44. Rogue value in statement "140 PRINT "For each one type in name. Type '***,0,0' to finish" is
asterisk
print command
numerical values
alphabetic statement
45. Complier is used when data is to be processed in
batches
whole at one timed.
one line in one minute
four pages in five minutes
46. Examples of program routine are
part of a program
set of instructions used
complete short program
All of the above
47. One or more numbers which helps distinguish elements in array is
classified as
low script
high script
superscript
48. Indicate which of the following is not true about interpreter ?
Interpreter generate an object program from the source program
Interpreter analyses each source statement every time it is to be executed
Interpreter is a kind of translator
All of above
49. An interpreter is
A program that places programs into memory an prepares them for execution
A program that automate the translation of assembly language into machine language
A program that accepts a program written in high level language and produces an object program
Is a program that appears to execute a source program as if it were machine language
50. An interpreter is a program that
places programs into memory and prepares then for execution
automates the translation of assemble language into machine language
accepts a program written in a high level language and produces an object program
appears to execute a resource as if it were machine language
Submit