Você está na página 1de 19

MCQ.

In COMAL language programs, parameters after name of procedure must be put in


1. punctuation marks.
2. back-slash.
3. brackets.
4. insecure data.
C
MCQ. In line "110 DIM num(10)" in BASIC language, 'Line 110' declares
1. one-dimensional array.
2. two-dimensional array.
3. three-dimension array.
4. multi-dimension array.
A
MCQ. Programming language COBOL works best if used for
1. household user interface.
2. student applications.
3. beginners.
4. commercial applications.
D
MCQ. Program subroutines are
1. called by other programs.
2. fixed variable.
3. default constants.
4. default variables.

A
MCQ. Statement "130 num(subs) = 2*subs-1" is an example of
1. array in COMAL.
2. array in Pascal.
3. array in COBOL.
4. array in BASIC.
D
MCQ. Programming languages such as COMAL and Pascal allow subroutine which is classified
as
1. subroutine format.
2. procedure.
3. routine format.
4. library format.
B
MCQ. Program which is written originally by programmer is classified as
1. object code.
2. machine code.
3. source program.
4. interactive programs.
C
MCQ. When divisions of decimals are involved in program, these numbers are stored in
1. rational numbers.
2. irrational numbers.
3. real numbers.

4. original numbers.
C
MCQ. Function which is used in stepwise refinement of program is classified
1. routine format.
2. library format.
3. subroutine format.
4. procedure.
D
MCQ. Data types are differed on basis of
1. way of storage.
2. type of operations.
3. type of operators used.
4. both a and b.
D
MCQ. In high-level language Pascal, area is calculated as
1. 100 Area = Width*Length.
2. 100 Area = Width*Length.
3. Area: = Width*Length;.
4. length 100: area*20width.
C
MCQ. Loop statement which is repeated to some given number of times is classified as
1. FOR loop.
2. GO loop.

3. REPEAT loop.
4. GO REPEAT loop.
A
MCQ. In line "100 INPUT NUM" of a BASIC program, NUM is if chosen by programmer is
classified as
1. real constants.
2. exponents.
3. identifier.
4. reserved variable.
C
MCQ. Type of statement written in sequence and are repeated until conditions met is classified
as
1. format.
2. loop.
3. case.
4. condition.
B
MCQ. Size of an array is declared by
1. programmer.
2. program users.
3. software.
4. declared automatically.
A
MCQ. An instruction which tells assembler how to deal with whole program is classified as

1. direction.
2. directive.
3. director.
4. compiler.
B
MCQ. In statement 110 IF Num = INT(Num) THEN PRINT "Whole number' "of BASIC
language, built-in function is
1. Num.
2. INT.
3. PRINT.
4. IF.
B
MCQ. Programming language 'FORTRAN' stands for
1. formula translator.
2. formula translation.
3. free translator.
4. free translation.
A
MCQ. Sequence of instructions that are carried out for a particular task is classified as
1. routine.
2. subroutine.
3. procedure.
4. function.
A

MCQ. In repeat-until loop 'UNTIL Option>0 and Option<8 AND INT(Option) = Option' , INT
function is classified as
1. option.
2. function.
3. format option.
4. format function.
B
MCQ. In COMAL language programs, variables in program procedure are declared local using
1. CLOSED function.
2. OPEN function.
3. START function.
4. END function.
A
MCQ. A program which interprets each line of high level program at time of execution is called
1. instructor.
2. interpreter.
3. translator.
4. executor.
B
MCQ. Functions used in programs that are defined by programmers are called
1. program layout.
2. program procedure.
3. built-in functions.
4. user-defined function.

D
MCQ. An assembler translates
1. machine code into assembly code.
2. assembly code into machine code.
3. processing time into manual time.
4. routine into subroutine.
B
MCQ. Name given by a programmer to some data is classified as
1. identifier.
2. identification.
3. exponent.
4. mantissa.
A
MCQ. Statement in BASIC language 150 IF A1=A2 THEN Comparison$ ="EQUAL" is an
example of
1. if then statement.
2. if else statement.
3. then else statement.
4. else one statement.
A
MCQ. When variable used in program is whole number, variable is stored as
1. fixed string.
2. integers.
3. negative whole numbers.

4. positive whole numbers.


B
MCQ. In line "100 INPUT NUM" of a BASIC program, 'INPUT NUM' is
1. line statement.
2. single instruction.
3. reserved words.
4. expression.
B
MCQ. Set of data whose items are organized together is classified as
1. data structure.
2. variable structure.
3. string structure.
4. positive structure.
A
MCQ. Comments used to make program easier are also called as
1. marked variables.
2. narrative.
3. unmarked strings.
4. unmarked variable.
B
MCQ. Programming language which is used for scientific purposes and work is to be done in
batches is
1. PASCAL.
2. FORTRAN.

3. LOGO.
4. COMAL.
B
MCQ. To made program more easier to understand, programmers can
1. add comments to it.
2. declare variable names.
3. use secure data.
4. both a and b.
D
MCQ. In line '300 IF NAME$="***" THEN Average= Total Mark/N' of BASIC program, "***"
is classified as
1. rational string.
2. string variable.
3. irrational string.
4. string constant.
D
MCQ. In programming, programmers used comments to
1. highlight program modules.
2. explain module functions.
3. explain used variables.
4. all of above.
D
MCQ. Programming language 'COMAL' stand for
1. common algorithmic language.

2. common arithmetic language.


3. common arithmetic learning.
4. common algorithmic learning.
A
MCQ. In line '200 IF NAME$="***" THEN Average= Total Mark/N' of BASIC program,
NAME$ is classified as
1. string variable.
2. string constant.
3. rational string.
4. irrational string.
A
MCQ. Third component in algorithms is classified as
1. data repetition.
2. statement repetition.
3. selection.
4. stating order of operations.
C
MCQ. Variable which uses same name in whole program and in its all routines thus best
classified as
1. middle variable.
2. default variable.
3. local variable.
4. global variable.
D

MCQ. Statement used to made choice between different options and only option is to be
performed is written as
1. if then statement.
2. if else statement.
3. then else statement.
4. else one statement.
A
MCQ. In programming language BASIC, statement ends with REM are considered as
1. narrative.
2. unmarked strings.
3. unmarked variable.
4. marked variables.
A
MCQ. In high level programming language Pascal, each program statement ends with the
1. comma.
2. semicolon.
3. double quotation marks.
4. single quotation marks.
B
MCQ. Type of program which can be run on different types of computer by making little
changes into it is classified as
1. portable program.
2. fixed program.
3. standard program.

4. compiled program.
A
MCQ. In unstructured programming language BASIC, program can be divided into the
1. different modules.
2. different arrays.
3. different dimensions.
4. different procedures.
A
MCQ. When there is range of numbers involved in a program, it can be stored as
1. real numbers.
2. original numbers.
3. rational numbers.
4. irrational numbers.
A
MCQ. Technique of using fixed words for machine code functions is classified as
1. mnemonics.
2. mechanics.
3. compiler.
4. translator.
A
MCQ. Program functions that are readily available to users of specific language are called
1. standard function.
2. program layout.

3. program procedure.
4. program layout.
A
MCQ. Program routine which is used by one or more computer programs is classified as
1. super-routine.
2. subroutine.
3. dimension routine.
4. array routine.
B
MCQ. Variable with a restricted name in only one subroutine program is classified as
1. local variable.
2. global variable.
3. middle variable.
4. default variable.
A
MCQ. In COMAL programming language, a WHILE loop must ends with
1. end while function.
2. stops function.
3. output function.
4. input function.
A
MCQ. Programming language which is extension of programming language 'BASIC' is
1. PASCAL.

2. COBOL.
3. LOGO.
4. COMAL.
D
MCQ. In Pascal and COMAL programming language, symbol ':=' is used for
1. base.
2. coefficient.
3. assignments.
4. reference.
C
MCQ. Main type of functions does not includes
1. built-in function.
2. top down procedures.
3. programmer defined function.
4. user-defined function.
B
MCQ. Programming language 'BASIC' is used for the
1. beginners.
2. commercial programs.
3. household user interface.
4. student applications.
A
MCQ. 'object program' is also called

1. program code.
2. machine code.
3. assembler.
4. compiler.
B
MCQ. When source program is translated it is classified as
1. .
2. object program.
3. featured program.
4. detailed program.
B
MCQ. In high level programming language, instructions used to supply value in an expression
are classified as
1. program function.
2. program argument.
3. program routine.
4. program default exponents.
A
MCQ. Data structure in which all elements have similar name is considered as
1. string structure.
2. positive structure.
3. array.
4. data structure.
C

MCQ. Number of subscript which is attached to every element in array is classified as


1. number of subscript.
2. number of superscripts.
3. number of dimensions.
4. number of high scripts.
C
MCQ. In programming language COMAL, symbol of '//' is used instead of
1. unmarked variable.
2. unmarked strings.
3. remarks.
4. marked structure.
C
MCQ. COMAL language statement '//PROGRAM : Input three numbers and print average//'
shows
1. defined function.
2. entered variables.
3. string variables.
4. real numbers.
A
MCQ. Program used for interactive computing is
1. translator.
2. executor.
3. instructor.
4. interpreter.

D
MCQ. In programming language BASIC, area is calculated as
1. 100 Area=Width*Length.
2. 100 Area: = Width*Length.
3. Area: = Width*Length.
4. area 100: length*width.
A
MCQ. First component in algorithms is
1. character structure.
2. repetition.
3. selection.
4. sequence.
D
MCQ. Loop which is tested at least once in case condition does not fulfilled is classified as
1. FOR loop.
2. GO loop.
3. REPEAT loop.
4. REPEAT UNTIL loop.
D
MCQ. Computer programming language which is based on problems solved is called
1. advanced level programming language.
2. ordinary programming language.
3. high level programming language.

4. low level programming language.


C

Você também pode gostar