

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.
501. |
In high-level language COMAL, area is calculated as |
A. | Area: = Width*Length |
B. | 100 Area = Width*Length |
C. | 100 Area: = Width*Length |
D. | length 100: area*20width |
Answer» D. length 100: area*20width | |
502. |
Third component in algorithms is classified as |
A. | selection |
B. | data repetition |
C. | statement repetition |
D. | stating order of operations |
Answer» B. data repetition | |
503. |
When variable used in program is whole number, variable is stored as |
A. | integers |
B. | fixed string |
C. | positive whole numbers |
D. | negative whole numbers |
Answer» B. fixed string | |
504. |
When there is range of numbers involved in a program, it can be stored as |
A. | real numbers |
B. | rational numbers |
C. | original numbers |
D. | irrational numbers |
Answer» B. rational numbers | |
505. |
Programming language 'FORTRAN' stands for |
A. | free translator |
B. | free translation |
C. | formula translator |
D. | formula translation |
Answer» D. formula translation | |
506. |
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 | |
507. |
An instruction which tells assembler how to deal with whole program is classified as |
A. | director |
B. | directive |
C. | compiler |
D. | direction |
Answer» C. compiler | |
508. |
Data types are differed on basis of |
A. | way of storage |
B. | type of operations |
C. | both (a) and (b) |
D. | type of operators used |
Answer» D. type of operators used | |
509. |
In programming language, 'identifier' can be |
A. | array |
B. | variable |
C. | constant |
D. | all of the above |
Answer» E. | |
510. |
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. | |
511. |
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 | |
512. |
Control returns in calling program at correct place exactly from |
A. | place it lefts |
B. | end of program |
C. | start of program |
D. | middle of program |
Answer» B. end of program | |
513. |
A special quantity named in a program and its value can be changed is called |
A. | variables |
B. | constant |
C. | mantissa |
D. | exponent |
Answer» B. constant | |
514. |
In statement "After last mark enter -1" in COMAL programming language, rogue value is |
A. | -1 |
B. | last |
C. | mark |
D. | after |
Answer» B. last | |
515. |
If element in array has two subscripts, then array has |
A. | single dimension |
B. | two dimensions |
C. | three dimensions |
D. | four dimensions |
Answer» C. three dimensions | |
516. |
In unstructured programming language BASIC, program can be divided into the |
A. | different arrays |
B. | different modules |
C. | different procedures |
D. | different dimensions |
Answer» C. different procedures | |
517. |
Program used for interactive computing is |
A. | executor |
B. | instructor |
C. | translator |
D. | interpreter |
Answer» E. | |
518. |
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 | |
519. |
A compiler can check |
A. | Logical Error |
B. | Syntax Error |
C. | Both Logical and Syntax Error |
D. | Not Logical and Syntax Error |
Answer» C. Both Logical and Syntax Error | |
520. |
Way data in program is to be set is called its |
A. | class |
B. | group |
C. | format |
D. | reference |
Answer» D. reference | |
521. |
In analyzing the compilation of PL/I program ,the term “lexical analysis” is associated with |
A. | recognition of basic syntactic constructs through reductions |
B. | recognition of basic elements and creation of uniform symbols |
C. | creation of more optional matrix |
D. | use of macro processor to produce more optimal assembly code |
Answer» C. creation of more optional matrix | |
522. |
Which of the following is not a source error ? |
A. | faulty design specification |
B. | faulty algorithm |
C. | compilers themselves |
D. | none of these |
Answer» E. | |
523. |
Programming languages are the tools that allow communicating between__________. |
A. | Developer |
B. | Computer |
C. | Developer and data |
D. | Both (a) and (b) |
Answer» E. | |
524. |
Context-free grammar (CFG) can be recognized by |
A. | finite state automata |
B. | 2 way linear bounded automata |
C. | push down automata |
D. | both b and c |
Answer» E. | |
525. |
Any syntactic construct that can be described by a regular expression can also be described by a |
A. | context sensitive grammar |
B. | non-context free grammar |
C. | context free grammar |
D. | none of these |
Answer» D. none of these | |
526. |
In line "550 INPUT NUM: PRINT 6.9*NUM*NUM+27" of a BASIC program, 'PRINT and INPUT' is |
A. | reserved words |
B. | reserved variable |
C. | reserved constant |
D. | reserved exponent |
Answer» B. reserved variable | |
527. |
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 | |
528. |
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 | |
529. |
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 | |
530. |
A special value placed at end of items data list is called |
A. | rogue value |
B. | vague values |
C. | decimal value |
D. | numerical value |
Answer» B. vague values | |
531. |
Comments used to make program easier are also called as |
A. | narrative |
B. | unmarked stringe |
C. | marked variables |
D. | unmarked variable |
Answer» B. unmarked stringe | |
532. |
In line '300 IF NAMEINR ="***" THEN Average= Total Mark/N' of BASIC program, "***" is classified as |
A. | string variable |
B. | rational string |
C. | string constant |
D. | irrational string |
Answer» D. irrational string | |
533. |
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 | |
534. |
In structured programming language such as Pascal, operations is then refined using |
A. | secure data |
B. | procedure |
C. | virus free data |
D. | structured data |
Answer» C. virus free data | |
535. |
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 | |
536. |
Program functions that are readily available to users of specific language are called |
A. | program layout |
B. | standard function |
C. | program procedure |
D. | none of these |
Answer» C. program procedure | |
537. |
The actual text used to write the instructions for a computer program is called a_______________. |
A. | Source code |
B. | Compiler |
C. | Both (a) and (b) |
D. | Both (a) and (b) |
Answer» B. Compiler | |
538. |
In Pascal and COMAL programming language, symbol ':=' is used for |
A. | base |
B. | reference |
C. | coefficient |
D. | assignments |
Answer» E. | |
539. |
In high level programming language Pascal, each program statement ends with the |
A. | comma |
B. | semicolon |
C. | single quotation marks |
D. | double quotation marks |
Answer» C. single quotation marks | |
540. |
In COMAL language programs, parameters after name of procedure must be put in |
A. | brackets |
B. | back-slash |
C. | insecure data |
D. | punctuation marks |
Answer» B. back-slash | |
541. |
In COMAL language programs, variables in program procedure are declared local using |
A. | START function |
B. | OPEN function |
C. | END function |
D. | CLOSED function |
Answer» E. | |
542. |
Variable with a restricted name in only one subroutine program is classified as |
A. | local variable |
B. | global variable |
C. | default variable |
D. | middle variable |
Answer» B. global variable | |
543. |
The field that contains a segment index or an internal index is called |
A. | target datum |
B. | target offset |
C. | segment fiel |
D. | fix dat |
Answer» B. target offset | |
544. |
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 | |
545. |
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 | |
546. |
In line "100 INPUT NUM" of a BASIC program, NUM is if chosen by programmer is classified as |
A. | identifier |
B. | exponents |
C. | real constants |
D. | reserved variable |
Answer» B. exponents | |
547. |
In line '200 IF NAMEINR ="***" THEN Average= Total Mark/N' of BASIC program, NAMEINR is classified as |
A. | rational string |
B. | string variable |
C. | string constant |
D. | irrational string |
Answer» C. string constant | |
548. |
Programming language that allows structuring of programs and data is |
A. | LOGO |
B. | COBOL |
C. | COMAL |
D. | PASCAL |
Answer» E. | |
549. |
One or more numbers which helps distinguish elements in array is classified as |
A. | subscript |
B. | low script |
C. | high script |
D. | superscript |
Answer» B. low script | |
550. |
In repeat-until loop 'UNTIL Option>0 and Option<8 AND INT(Option) = Option' , INT function is classified as |
A. | option |
B. | function |
C. | format option |
D. | format function |
Answer» C. format option | |