Explore topic-wise MCQs in Computer Languages.

This section includes 118 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Languages knowledge and support exam preparation. Choose a topic below to get started.

51.

General term use for self-contained small set of instructions is referred as

A. routine
B. function
C. procedure
D. subroutine
Answer» B. function
52.

In COMAL language programs, procedures are defined between

A. first two statements
B. start and stop statement
C. PROC and non-PROC statement
D. EXEC and non-EXEC statement
Answer» E.
53.

In line "400 INPUT NUM: PRINT 5.6*NUM+10" of a BASIC program, 'NUM is

A. constant
B. variable
C. exponent
D. real identifier
Answer» C. exponent
54.

In line '500 IF NAMEINR ="***" THEN Average= Total Mark/N' of BASIC program, Total Mark and N are considered as

A. set of integers
B. positive odd numbers
C. positive even numbers
D. negative odd numbers
Answer» B. positive odd numbers
55.

When data to be input is numeric in nature, data type in program is classified as

A. string
B. real integers
C. rational string
D. irrational string
Answer» B. real integers
56.

Values that are passed between program and its called subroutine are classified as

A. argument
B. parameter
C. both (a) and (b)
D. global values
Answer» D. global values
57.

High level language includes

A. COMAL
B. BASIC
C. both (a) and (b)
D. STANDARD
Answer» D. STANDARD
58.

In line "200 INPUT NUM: PRINT 5.8*NUM+5" of a BASIC program, 'PRINT 5.8*NUM+5" ' is

A. statement
B. single variable
C. double identifier
D. reserved expression
Answer» B. single variable
59.

In COMAL language programs, procedures are usually executed by

A. EXEC statement
B. PROC statement
C. CLOSED statement
D. start PROC statement
Answer» B. PROC statement
60.

Word or set of letters that can be used to represent a specific function and are easily memorable is classified as

A. mechanics
B. mnemonics
C. lined addresses
D. symbolic addresses
Answer» C. lined addresses
61.

Statement used to perform one of two possible actions is written as

A. if else statement
B. if then statement
C. else one statement
D. then else statement
Answer» D. then else statement
62.

In high level programming language Pascal, END statement lasts with the

A. colon
B. full stop
C. semicolon
D. double quotation marks
Answer» C. semicolon
63.

Second component in algorithms is classified as

A. repetition
B. constant selection
C. variable selection
D. variable sequence
Answer» B. constant selection
64.

The electrical conducting lines with which different components on the motherboard of a PC processor unit that are linked together is called

A. Wires
B. Connectors
C. Conductors
D. Buses
Answer» E.
65.

In line '400 IF NAMEINR ="***" THEN Average= Total Mark/N' of BASIC program, AVERAGE is considered as

A. real numbers
B. negative integers
C. rational variables
D. irrational numbers
Answer» B. negative integers
66.

In line "750 INPUT NUM: PRINT 7.3*NUM*NUM+15" of a BASIC program, '7.3*NUM*NUM+15' is

A. an exponent
B. an expression
C. a fixed identifier
D. reserved identifier
Answer» C. a fixed identifier
67.

LDA is used instead of LOAD ACCUMULATOR and can be classified as

A. mechanics
B. mnemonics
C. lined addresses
D. symbolic addresses
Answer» C. lined addresses
68.

Statement in Comal language 'IF age >=18 THEN PRINT "Yes" ELSE PRINT "No" is an example of

A. if else statement
B. if then statement
C. else one statement
D. if then else statement
Answer» E.
69.

Programming language used to encourage logical thinking is classified as

A. LOGO
B. COMAL
C. COBOL
D. PASCAL
Answer» B. COMAL
70.

If element in array has two subscripts, then array has

A. single dimension
B.
C. C.
D. D.
Answer» C. C.
71.

In line 100 INPUT NUM: PRINT 3.1*NUM*NUM+5" of a BASIC program, ' PRINT 3.1 and 5' are classified as

A. constants
B. real statement
C. string statement
D. integer statement
Answer» B. real statement
72.

A program which translates high level program into machine code is classified as

A. compiler
B. translator
C. instruction analyst
D. translating analyst
Answer» B. translator
73.

Program style and must be written in

A. well structured manner
B. easily understandable
C. easy modification format
D. all of the above
Answer» E.
74.

Group of all special characters such as digits and letters are classified as

A. strings
B. odd numbers
C. even numbers
D. negative numbers
Answer» B. odd numbers
75.

In programming a single instruction is classified as

A. statement
B. set of codes
C. set of formula
D. set of instructions
Answer» B. set of codes
76.

Loop statement used in program to continue repetition until some condition is met is classified as

A. GO loop
B. WHILE loop
C. GO WHILE loop
D. REPEAT UNTIL loop
Answer» E.
77.

Program used for interactive computing is

A. executor
B. instructor
C. translator
D. interpreter
Answer» E.
78.

All numbers including decimals are classified as

A. integers
B. real numbers
C. prime numbers
D. composite numbers
Answer» C. prime numbers
79.

In programming language BASIC, area is calculated as

A. Area: = Width*Length
B. area 100: length*width
C. 100 Area=Width*Length
D. 100 Area: = Width*Lengt
Answer» D. 100 Area: = Width*Lengt
80.

In JMP PRNT command, JMP and PRNT respectively are classified as

A. assembler and compiler
B. source and object program
C. low level and high level code
D. mnemonics and symbolic addresses
Answer» E.
81.

In line "300 INPUT NUM: PRINT 4.2*NUM*NUM+17" of a BASIC program, '300' is

A. variable
B. identifier
C. line number
D. single number
Answer» D. single number
82.

Names used to identify a specific location and are invented by programmers are called

A. mechanics
B. symbolic addresses
C. mnemonics
D. lined addresses
Answer» C. mnemonics
83.

Statement which is treated as choice for a possible actions is classified as

A. case
B. condition
C. error statement
D. variable recognition
Answer» B. condition
84.

How is the instructions and memory address represented?

A. By parity bit
B. By character code
C. By binary codes
D. By binary words
Answer» D. By binary words
85.

A bit is the measuring unit of the width of a processor s data path. Commonly used data path is of

A. 24 bits
B. 32 bits
C. 8 bits
D. 16 bits
Answer» D. 16 bits
86.

Loop which is tested at least once in case condition does not fulfilled is classified as

A. GO loop
B. FOR loop
C. REPEAT loop
D. REPEAT UNTIL loop
Answer» E.
87.

First component in algorithms is

A. selection
B. repetition
C. sequence
D. character structure
Answer» D. character structure
88.

To which command the ALU of computer responds?

A. Command coming from external memory
B. Command coming from control section
C. Command coming from cache memory
D.
E. Command coming from primary memory
Answer» C. Command coming from cache memory
89.

Computer programming language which is based on problems solved is called

A. ordinary programming language
B. low level programming language
C. high level programming language
D. advanced level programming language
Answer» D. advanced level programming language
90.

In programming language COMAL, symbol of '//' is used instead of

A. remarks
B. unmarked strings
C. marked structure
D. unmarked variable
Answer» B. unmarked strings
91.

The command of a computer is mainly executed by

A. Arithmetic and logical unit
B. Control unit
C. Memory unit
D. All of the above
Answer» B. Control unit
92.

COMAL language statement '//PROGRAM : Input three numbers and print average//' shows

A. real numbers
B. string variables
C. defined function
D. entered variables
Answer» D. entered variables
93.

Which of the following is included in the machine cycle?

A. Fetch
B. Decode
C. Execute
D. None of the above
Answer» E.
94.

RISC technology is used by the processor

A. Power PC
B. 6320
C. 486 dx
D. None of the above
Answer» B. 6320
95.

The machine cycle is usually controlled by

A. The mathematical unit
B. The logical unit
C. The control unit
D. The memory unit
Answer» D. The memory unit
96.

CPU is made up of two main components, and they are

A. Registers and main memory
B. Control unit and registers
C. ALU and bus
D. Control unit and ALU
Answer» E.
97.

What affects the processor speed?

A. System clock rate
B. Booting rate
C. System memory rate
D. System run rate
Answer» B. Booting rate
98.

Which of the following statement is valid?

A. 1MB = 2048 bytes
B. 1KB = 1024 bytes
C. 1KB = 1000 bytes
D.
E. 1MB = 1024 bytes
Answer» C. 1KB = 1000 bytes
99.

When is the job processed by the computer?

A. During execution time
B. During delay time
C. During real time
D. During down time
Answer» B. During delay time
100.

What do you mean by the simultaneous processing of two or more programs by multiple processors?

A. Time sharing
B. Multiprocessing
C. Multiprogramming
D. Multitasking
Answer» D. Multitasking