MCQOPTIONS
Saved Bookmarks
This section includes 565 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.
| 451. |
In statement 110 IF Num = INT(Num) THEN PRINT "Whole number' "of BASIC language, built-in function is |
| A. | IF |
| B. | INT |
| C. | Num |
| D. | |
| Answer» C. Num | |
| 452. |
An assembler translates |
| A. | routine into subroutine |
| B. | processing time into manual time |
| C. | assembly code into machine code |
| D. | machine code into assembly code |
| Answer» D. machine code into assembly code | |
| 453. |
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 | |
| 454. |
High level language includes |
| A. | COMAL |
| B. | BASIC |
| C. | both (a) and (b) |
| D. | STANDARD |
| Answer» D. STANDARD | |
| 455. |
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. | |
| 456. |
Statement "130 num(subs) = 2*subs-1" is an example of |
| A. | array in BASIC |
| B. | array in PASCAL |
| C. | array in COMAL |
| D. | array in COBOL |
| Answer» B. array in PASCAL | |
| 457. |
In line "110 DIM num(10)" in BASIC language, 'Line 110' declares |
| A. | one-dimensional array |
| B. | two-dimensional array |
| C. | three-dimension array |
| D. | multi-dimension array |
| Answer» B. two-dimensional array | |
| 458. |
Variable which uses same name in whole program and in its all routines thus best classified as |
| A. | local variable |
| B. | middle variable |
| C. | default variable |
| D. | global variable |
| Answer» E. | |
| 459. |
Programming language 'COMAL' stand for |
| A. | common arithmetic learning |
| B. | common arithmetic language |
| C. | common algorithmic learning |
| D. | common algorithmic language |
| Answer» E. | |
| 460. |
In programming, programmers used comments to |
| A. | explain used variables |
| B. | explain module functions |
| C. | highlight program modules |
| D. | all of the above |
| Answer» E. | |
| 461. |
When divisions of decimals are involved in program, these numbers are stored in |
| A. | real numbers |
| B. | rational numbers |
| C. | original numbers |
| D. | irrational numbers |
| Answer» B. rational numbers | |
| 462. |
Programming languages such as COMAL and Pascal allow subroutine which is classified as |
| A. | procedure |
| B. | library format |
| C. | routine format |
| D. | subroutine format |
| Answer» B. library format | |
| 463. |
Items of data help making its structure is classified as |
| A. | elements |
| B. | data structure |
| C. | string structure |
| D. | variable structure |
| Answer» B. data structure | |
| 464. |
In high-level language Pascal, area is calculated as |
| A. | Area: = Width*Length; |
| B. | length 100: area*20width |
| C. | 100 Area = Width*Length |
| D. | 100 Area = Width*Length |
| Answer» B. length 100: area*20width | |
| 465. |
All numbers including decimals are classified as |
| A. | integers |
| B. | real numbers |
| C. | prime numbers |
| D. | composite numbers |
| Answer» C. prime numbers | |
| 466. |
Size of an array is declared by |
| A. | software |
| B. | programmer |
| C. | program users |
| D. | declared automatically |
| Answer» C. program users | |
| 467. |
Sequence of instructions that are carried out for a particular task is classified as |
| A. | routine |
| B. | function |
| C. | procedure |
| D. | subroutine |
| Answer» B. function | |
| 468. |
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 | |
| 469. |
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. | |
| 470. |
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*Length |
| Answer» D. 100 Area: = Width*Length | |
| 471. |
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. | |
| 472. |
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. | |
| 473. |
When source program is translated it is classified as |
| A. | clause program |
| B. | object program |
| C. | detailed program |
| D. | featured program |
| Answer» C. detailed program | |
| 474. |
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 | |
| 475. |
In COMAL programming language, a WHILE loop must ends with |
| A. | input function |
| B. | stops function |
| C. | output function |
| D. | end while function |
| Answer» E. | |
| 476. |
Program routine which is used by one or more computer programs is classified as |
| A. | subroutine |
| B. | array routine |
| C. | super-routine |
| D. | dimension routine |
| Answer» B. array routine | |
| 477. |
Programming language 'BASIC' is used for the |
| A. | beginners |
| B. | student applications |
| C. | commercial programs |
| D. | household user interface |
| Answer» B. student applications | |
| 478. |
Main type of functions does not includes |
| A. | built-in function |
| B. | user-defined function |
| C. | top down procedures |
| D. | programmer defined function |
| Answer» D. programmer defined function | |
| 479. |
Technique of using fixed words for machine code functions is classified as |
| A. | compiler |
| B. | translator |
| C. | mechanics |
| D. | mnemonics |
| Answer» E. | |
| 480. |
'object program' is also called |
| A. | compiler |
| B. | assembler |
| C. | machine code |
| D. | program code |
| Answer» D. program code | |
| 481. |
In high level programming language, instructions used to supply value in an expression are classified as |
| A. | program routine |
| B. | program function |
| C. | program argument |
| D. | program default exponents |
| Answer» C. program argument | |
| 482. |
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 | |
| 483. |
Number of subscript which is attached to every element in array is classified as |
| A. | number of subscript |
| B. | number of dimensions |
| C. | number of high scripts |
| D. | number of superscripts |
| Answer» C. number of high scripts | |
| 484. |
Data structure in which all elements have similar name is considered as |
| A. | array |
| B. | data structure |
| C. | string structure |
| D. | positive structure |
| Answer» B. data structure | |
| 485. |
Name given by a programmer to some data is classified as |
| A. | mantissa |
| B. | identifier |
| C. | exponent |
| D. | identification |
| Answer» C. exponent | |
| 486. |
Programming language COBOL works best if used for |
| A. | beginners |
| B. | student applications |
| C. | commercial applications |
| D. | household user interface |
| Answer» D. household user interface | |
| 487. |
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 | |
| 488. |
Programming language 'COBOL' stands for |
| A. | common business oriented learning |
| B. | common binary orientation language |
| C. | classic business orientated language |
| D. | common business orientated language |
| Answer» E. | |
| 489. |
To made program more easier to understand, programmers can |
| A. | declare variable names |
| B. | add comments to it |
| C. | both (a) and (b) |
| D. | use secure data |
| Answer» D. use secure data | |
| 490. |
Whole numbers from '0' and all negative numbers are classified as |
| A. | integers |
| B. | real numbers |
| C. | prime numbers |
| D. | composite numbers |
| Answer» B. real numbers | |
| 491. |
Type of program which can be run on different types of computer by making little changes into it is classified as |
| A. | fixed program |
| B. | standard program |
| C. | compiled program |
| D. | portable program |
| Answer» E. | |
| 492. |
Rogue value in statement "140 PRINT "For each one type in name. Type '***,0,0' to finish" is |
| A. | asterisk |
| B. | print command |
| C. | numerical values |
| D. | alphabetic statement |
| Answer» B. print command | |
| 493. |
A name which has some special meaning and significance for programmer is called |
| A. | files |
| B. | data array |
| C. | reserved words |
| D. | changing words |
| Answer» D. changing words | |
| 494. |
Statement in BASIC language 150 IF A1=A2 THEN ComparisonINR ="EQUAL" is an example of |
| A. | if then statement |
| B. | if else statement |
| C. | else one statement |
| D. | then else statement |
| Answer» B. if else statement | |
| 495. |
Complier is used when data is to be processed in |
| A. | batches |
| B. | whole at one time |
| C. | one line in one minute |
| D. | four pages in five minutes |
| Answer» B. whole at one time | |
| 496. |
Examples of program routine are |
| A. | part of a program |
| B. | set of instructions used |
| C. | complete short program |
| D. | all of the above |
| Answer» E. | |
| 497. |
Loop which does not executed at all if it is tested at beginning is classified as |
| A. | DO loop |
| B. | WHILE loop |
| C. | REPEAT loop |
| D. | GO REPEAT loop |
| Answer» C. REPEAT loop | |
| 498. |
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 | |
| 499. |
Translation of assembly language into machine code is a task of |
| A. | analysts |
| B. | financer |
| C. | assembler |
| D. | programmer |
| Answer» D. programmer | |
| 500. |
Type of subroutines which are available to users of computer as default part of software is classified as |
| A. | default routine |
| B. | local subroutine |
| C. | library subroutine |
| D. | default subroutine |
| Answer» D. default subroutine | |