Explore topic-wise MCQs in Technical Programming.

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.

401.

If a=14, b=4 then a%b =

A. 2
B. 4
C. 5
D. 6
Answer» B. 4
402.

The most significant hit will be lost in which of the following operations?

A. >>
B. complementation
C. <<
D. none of the above
Answer» B. complementation
403.

An _______ is a fixed size sequence collection of elements of the same data type

A. integer
B. function
C. array
D. pointer
Answer» D. pointer
404.

Continue statement is allowed inside the switch case statement ?

A. No
B. Yes
C. Depends on the Compiler
D. None of the above
Answer» B. Yes
405.

If the bit pattern corresponding to a signed integer is shifted to the right then

A. vacant bit will be filled by the sign bit
B. vacant bit will be filled by 0
C. the outcome is implementation dependent
D. none of the above
Answer» D. none of the above
406.

If space occupied by a null terminated string "S1" and "S2"in "C" are respectively "m" and "n",the space occupied by the string obtained by concentrating "S₁"and "S₂"is always

A. Less than m+n
B. Equal to m+n
C. Greater than m+n
D. Equal to m*n
Answer» B. Equal to m+n
407.

The language C is

A. an assembly language
B. a third generation high level language
C. a machine language
D. none of the above
Answer» C. a machine language
408.

Which of these is true about embedded C?

A. Only i & ii
B. Only i & iii
C. Only ii & ii
D. All of the above
Answer» E.
409.

C is a

A. high level language
B. low level language
C. high level language with some low level features
D. low level language with some high level features
Answer» D. low level language with some high level features
410.

Identify the correct statement?

A. The variable names VOLUME and volume are identical
B. The variable names sun and sun are identical
C. Variables are not declared before use
D. Variable may he absent in a declaration.
Answer» E.
411.

Length of the string " correct " is

A. 7
B. 8
C. 6
D. implementation dependent
Answer» B. 8
412.

What is C language?

A. C language is a structure/procedure oriented
B. C language is a middle level programming language
C. C language was invented for implementing UNIX operating system
D. All of the above
Answer» E.
413.

In statement '100 LET N1 = LEN(AINR )' of BASIC language, built-in function is

A. LEN
B. LET
C. whole statement
D. numerical values
Answer» B. LET
414.

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
415.

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
416.

Function which is placed between FOR statements and other repeated statements is classified as

A. FOR loop
B. DO function
C. GO function
D. WHILE function
Answer» C. GO function
417.

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

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

In BASIC language, '150 LET Area=Width*Length' , optional word is

A. LET
B. area
C. width
D. length
Answer» B. area
419.

Computer language based on machine code is classified as

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

A special quantity whose value does not change is classified as

A. constant
B. mantissa
C. exponent
D. variables
Answer» B. mantissa
421.

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
422.

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.
423.

C Programming was created in Year _______ .

A. 1976
B. 1972
C. 1967
D. 1980
Answer» C. 1967
424.

Dennis Was Author of Famous Programming Book _________ .

A. C Programming and Techniques
B. Thinking in C
C. The C Programming Language
D. Learn C Step By Step
Answer» D. Learn C Step By Step
425.

C Programming was created at ______ by Dennis Ritchie.

A. Stanford Lab
B. Haward University
C. AT&T Bell Laboratory
D. L&T Laboratory
Answer» D. L&T Laboratory
426.

By Nationality , Dennis Ritchie Was _________ ?

A. British
B. Russian
C. Canadian
D. American
Answer» E.
427.

Who is called as Father of C Programming Language ?

A. Steve Jobs
B. Dennis Ritchie
C. Ken Thompson
D. Bill Gates
Answer» C. Ken Thompson
428.

Dennis Ritchie Born On ___________ ?

A. September 9, 1941
B. September 9, 1958
C. September 9, 1951
D. September 9, 1947
Answer» B. September 9, 1958
429.

Ritchie and Brian Kernighan jointly carried out the development of C and that version is ________ .

A. K&R C
B. ANSI C
C. C99
D. R&K C
Answer» B. ANSI C
430.

Who was Creator of B Language , which inspired Dennis Ritchie to create Strong Procedural Language called C ?

A. Ken Thompson
B. Thomas E. Kurtz
C. John W. Backus
D. Brian Kernighan
Answer» B. Thomas E. Kurtz
431.

Which Committee standardize C Programming Language ?

A. ANSI
B. W3C
C. TRAI
D. ISO
Answer» B. W3C
432.

Many features of C were derived from an earlier language called _____.

A. B
B. PASCAL
C. BASIC
D. FORTRAN
Answer» B. PASCAL
433.

Second component in algorithms is classified as

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

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
435.

What will be output of the following code?

A. 8 4 2
B. 8 4 2
C. 8 4 4
D. 8 4 3
Answer» D. 8 4 3
436.

What will be output of the following c code? ( according to GCC compiler)

A. 0 0
B. 65536 -10
C. 0 65536
D. Compilation error
Answer» B. 65536 -10
437.

Device used to translate programming language into machine code is classified as

A. inverter
B. reversal
C. operator
D. assembler
Answer» E.
438.

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

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

Special character symbol '/' is used to indicate

A. director
B. direction
C. directive
D. direction arrows
Answer» D. direction arrows
440.

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
441.

Programming language used to encourage logical thinking is classified as

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

Explanations at right side of mnemonics and symbolic addresses are called

A. user comments
B. compiler comments
C. assembler comments
D. programmers comment
Answer» E.
443.

Statement which gives value to a variable is called

A. assignment
B. real assigning
C. string assigning
D. constant assigning
Answer» B. real assigning
444.

In high level programming language BASIC, statements written with GOTO and IF commands are considered as

A. loop
B. case
C. format
D. condition
Answer» B. case
445.

In analyzing the compilation of PL/I program,the description creation of more optimal matrix is associated with

A. assembly and output
B. code generation
C. syntax analysis
D. machine independent optimization
Answer» E.
446.

Language which have many types, but the type of every name and expression must be calculated at compile time are

A. weakly typed languages
B. loosely typed languages
C. strongly-type languages
D. none of these
Answer» D. none of these
447.

What will be output of the following c code?

A. -4
B. -5
C. 10
D. 11
Answer» B. -5
448.

In some programming languages, an identifier is permitted to be a letter followed by any number of letters or digits. If L and D denotes the sets of letters and digits respectively, which of the following expressions define an identifier ?

A. ( L . D )*
B. ( L∪ D ) *
C. L . ( L . D )*
D. L ( L ∪  D)*
Answer» E.
449.

In line "100 INPUT NUM" of a BASIC program, 'INPUT NUM' is

A. expression
B. line statement
C. reserved words
D. single instruction
Answer» E.
450.

Functions used in programs that are defined by programmers are called

A. built-in functions
B. program layout
C. program procedure
D. user-defined function
Answer» E.