Explore topic-wise InterviewSolutions in .

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

1.

_____________ denotes the format in which data is stored in memory.(a) kind(b) attach(c) select(d) usageThe question was asked by my college director while I was bunking the class.Enquiry is from COBOL Basics topic in chapter Computer Languages of Computer Fundamentals

Answer»

Correct OPTION is (d) usage

Explanation: Usage denotes the format in which data is stored in the MEMORY. Normally the phrase usage is OMITTED in COBOL.

2.

What does S denote in a picture clause?(a) A symbol(b) A character(c) A sign(d) Alphanumeric signI got this question in an interview for internship.I'm obligated to ask this question of COBOL Basics topic in chapter Computer Languages of Computer Fundamentals

Answer»

The correct answer is (b) A character

The BEST explanation: It denotes a sign in a picture CLAUSE. Picture clause values USUALLY USE 9, X, V, S, A.

3.

Which is not a data type in COBOL?(a) numeric(b) alphanumeric(c) alphabetic(d) floatI have been asked this question in a national level competition.Enquiry is from COBOL Basics in section Computer Languages of Computer Fundamentals

Answer»

The CORRECT choice is (d) float

The best I can explain: There is no data TYPE called as float in COBOL. It has only 3 basic data TYPES: numeric, ALPHABETIC and alphanumeric. Variables are created in the data division.

4.

The data division is used to ________(a) Declare program id(b) Declare variables(c) File control(d) Input-Output sectionThis question was addressed to me by my school teacher while I was bunking the class.Enquiry is from COBOL Basics topic in chapter Computer Languages of Computer Fundamentals

Answer»

The correct CHOICE is (b) Declare variables

To elaborate: The data DIVISION is used to declare and create variables and constant FIELDS. There are 3 BASIC data TYPES in COBOL.

5.

Comment in COBOL is denoted by________(a) *(b) /(c) //(d) ;I got this question in class test.Question is from COBOL Basics in chapter Computer Languages of Computer Fundamentals

Answer» RIGHT choice is (a) *

The explanation is: COMMENT is denoted by asterisk. (*) It denotes the comment line. Hyphen – denotes CONTINUATION.
6.

D in COBOL stands for _________(a) Data(b) Draft(c) Debugger(d) Debugging linesI have been asked this question in an interview for internship.This intriguing question originated from COBOL Basics topic in division Computer Languages of Computer Fundamentals

Answer»

The correct answer is (d) Debugging LINES

To EXPLAIN I would say: It STANDS for debugging lines. COMPILER fills in with the sequence numbers.There are certain coding rules that must be FOLLOWED in COBOL.

7.

Which of the following is not a part of the Identification division?(a) Paragraphs(b) Entries(c) Phrases(d) ClausesI got this question in a job interview.The query is from COBOL Basics topic in portion Computer Languages of Computer Fundamentals

Answer» RIGHT ANSWER is (c) Phrases

The EXPLANATION is: The ORDER of identification division is:

Paragraphs

Entries

Clauses.
8.

Which of the following is not a part of the program division in COBOL?(a) Identification(b) Environment(c) Procedure(d) CompilationThe question was asked in my homework.This is a very interesting question from COBOL Basics in portion Computer Languages of Computer Fundamentals

Answer»

Correct CHOICE is (d) Compilation

Easy explanation: COBOL has 4 basic parts in the division section: IDENTIFICATION, Environment, data and procedure.Each program is organized like a BOOK.

9.

COBOL is a language that keeps evolving.(a) True(b) FalseThis question was addressed to me in quiz.I need to ask this question from COBOL Basics in portion Computer Languages of Computer Fundamentals

Answer»

Correct ANSWER is (a) True

To EXPLAIN I would say: The statement is true. COBOL has billions of LINES of EXISTING code with more added each year. It thus keeps updating itself.

10.

A Fortran is not ___________(a) System supported(b) Source supported(c) Case Sensitive(d) Programmer supportedI had been asked this question during a job interview.Origin of the question is FORTRAN Basics topic in section Computer Languages of Computer Fundamentals

Answer»

The correct choice is (C) Case Sensitive

The explanation: Fortran is not a case sensitive LANGUAGE. For e.g. PROGRAM XYZ also works. Also, multiple consecutive blank spaces are IGNORED.

11.

In FORTRAN, the declarations of variables can be modified using the _____ parameter.(a) kind(b) make(c) select(d) changeThis question was posed to me during an interview.My doubt is from FORTRAN Basics topic in division Computer Languages of Computer Fundamentals

Answer»

Right ANSWER is (a) kind

For EXPLANATION I would say: Kind can be USED for this purpose.It can often be used for the precision of REALS. If you want to change the precision, it can easily be done USING one line of code.

12.

COBOL stands for _________(a) Common Business Oriented Language(b) Common Business Object Language(c) Common Beneficial Oriented Language(d) Common Beneficial Object LanguageThe question was asked in my homework.This is a very interesting question from COBOL Basics in division Computer Languages of Computer Fundamentals

Answer»

The correct answer is (a) Common Business ORIENTED LANGUAGE

To ELABORATE: COBOL stands for Common Business Oriented Language. It is designed for business PURPOSE. It is fast and relatively SIMPLE to learn.

13.

A valid variable declaration in FORTRAN is __________(a) real :: Celsius(b) real Celsius;(c) Celsius real;(d) real : CelsiusI have been asked this question in an internship interview.The question is from FORTRAN Basics topic in portion Computer Languages of Computer Fundamentals

Answer»

Correct option is (a) REAL :: Celsius

The best I can explain: A variable declaration has the FOLLOWING SYNTAX:

Data TYPE:: variable NAME

14.

A program that reads the source code and converts it to a form usable by the computer.(a) Interpreter(b) Compiler(c) Linker(d) AssemblerI have been asked this question in a job interview.Question is taken from FORTRAN Basics topic in chapter Computer Languages of Computer Fundamentals

Answer»

Right answer is (b) Compiler

The BEST I can explain: A compiler does this task. Internally, 3 steps are PERFORMED: preprocessing, CHECKING and compiling.Further, assembler and linker do the WORK.

15.

A text file that contains our program is called as __________(a) Exe file(b) Doc file(c) Obj file(d) Source fileI have been asked this question in final exam.I would like to ask this question from FORTRAN Basics in division Computer Languages of Computer Fundamentals

Answer»

Correct OPTION is (d) Source file

Easiest EXPLANATION: A file that CONTAINS the code or the main program is CALLED as the source file. Source code MUST be processed by a compiler to create an executable file.

16.

The delimiter in a FORTRAN code.(a) Semicolon(b) Blank space(c) Colon(d) CommaI had been asked this question at a job interview.This is a very interesting question from FORTRAN Basics in chapter Computer Languages of Computer Fundamentals

Answer» CORRECT ANSWER is (b) BLANK space

Explanation: Delimiter separates the tokens we use in our code. In a FORTRAN code, single blank space serves as a delimiter. Though, MULTIPLE blank SPACES are ignored.
17.

First statement in a fortran code is _________(a) include statement(b) import statement(c) program statement(d) @data statementThe question was posed to me during a job interview.My doubt stems from FORTRAN Basics topic in division Computer Languages of Computer Fundamentals

Answer»

Correct answer is (C) program STATEMENT

For explanation: It is the program statement. program statement is FOLLOWED by the program name.

Syntax : program XYZ

18.

The first widely-used high level language developed in 1957.(a) C(b) Java(c) Fortran(d) CobolI had been asked this question in a national level competition.My doubt is from FORTRAN Basics in portion Computer Languages of Computer Fundamentals

Answer»

The CORRECT answer is (C) FORTRAN

To elaborate: Fortran which stands for Formula TRANSLATION was the first widely-used high level language. It was developed by IBM for scientific applications. The program was entered as PUNCH cards.

19.

In compiled language, the translation to machine-language is performed incrementally at run-time.(a) True(b) FalseI got this question during a job interview.My question comes from FORTRAN Basics topic in portion Computer Languages of Computer Fundamentals

Answer»

Correct answer is (B) FALSE

To explain I WOULD say: The STATEMENT is false. The translation is performed once, then EXECUTABLE file is run as frequently as needed without further translation.

20.

Which is interpreted language?(a) C++(b) C(c) MATLAB(d) FortranThis question was posed to me during an interview.My enquiry is from FORTRAN Basics topic in section Computer Languages of Computer Fundamentals

Answer» CORRECT choice is (c) MATLAB

The best explanation: MATLAB is an interpreted language. All the other languages are compiled languages. In the CASE of Interpreted language, the TRANSLATION to machine-language is performed incrementally at run-time.
21.

Which of the following isn’t a characteristic of High level languages?(a) machine code(b) platform independent(c) interactive execution(d) user-friendlyThis question was addressed to me in a job interview.The question is from High Level Languages in division Computer Languages of Computer Fundamentals

Answer»

Correct option is (a) MACHINE code

For explanation: HLL isn’t in machine LANGUAGE. It is CONVERTED to machine language for further processing.

22.

A language supported by MS. Net platform.(a) C(b) C++(c) java(d) C#The question was posed to me during an interview.My question comes from High Level Languages in section Computer Languages of Computer Fundamentals

Answer»

Correct OPTION is (d) C#

To explain: C# is SUPPORTED by MS. Net PLATFORM. JAVA was ORIGINALLY designed for web purposes.

23.

JVM stands for?(a) Java virtual machine(b) Java visual machine(c) JRE virtual machine(d) JRE visual machineThis question was addressed to me in homework.The question is from High Level Languages in portion Computer Languages of Computer Fundamentals

Answer»

The CORRECT choice is (a) Java virtual machine

The explanation is: JVM stands for Java Virtual Machine. Other related TERMS are JRE which is java RUNTIME environment and JDK which is java DEVELOPMENT kit.

24.

_______________ is the assembly language for an imaginary architecture.(a) Byte code(b) Machine code(c) Native code(d) Executable codeThe question was asked during an interview.The question is from High Level Languages in portion Computer Languages of Computer Fundamentals

Answer» RIGHT answer is (a) BYTE code

Explanation: Source program is compiled to an INTERMEDIATE FORM – byte code. Byte code is the assembly language for an imaginary architecture.
25.

JIT stands for?(a) Just in time(b) Jump in time(c) Jump in text(d) Jump in termsThis question was addressed to me in an interview for internship.Enquiry is from High Level Languages in portion Computer Languages of Computer Fundamentals

Answer»

The CORRECT option is (a) Just in TIME

Explanation: JIT stands for Just in time. JVMs actually compile each BYTECODE instruction to native code the first time it is used.

26.

Source program is compiled to an intermediate form called ___________(a) Byte Code(b) Smart code(c) Executable code(d) Machine codeThis question was posed to me in an international level competition.My question is taken from High Level Languages topic in chapter Computer Languages of Computer Fundamentals

Answer» RIGHT option is (a) BYTE Code

Easy explanation: The Source program is compiled to an intermediate form called byte code. For each supported PLATFORM, WRITE a “virtual MACHINE” emulator that reads byte code and emulates its execution.
27.

Executables might be called ________(a) native code(b) executable code(c) complex code(d) machine codeThis question was posed to me in exam.This key question is from High Level Languages in division Computer Languages of Computer Fundamentals

Answer» CORRECT option is (a) native CODE

Easiest explanation: The EXECUTABLES are SOMETIMES CALLED native code. HLL are translated to Machine language called the native code.
28.

Aprogram that can execute high-level language programs.(a) Compiler(b) Interpreter(c) Sensor(d) CircuitryI had been asked this question by my college director while I was bunking the class.My question is based upon High Level Languages topic in division Computer Languages of Computer Fundamentals

Answer»

Right option is (b) Interpreter

The BEST EXPLANATION: Interpreter is a PROGRAM that can execute high-level language programs “directly,” without FIRST being translated into machine language.

29.

Java is procedural programming.(a) True(b) FalseI got this question during an interview for a job.The doubt is from High Level Languages in section Computer Languages of Computer Fundamentals

Answer»

The CORRECT choice is (b) FALSE

Explanation: The STATEMENT is false. Java is a TYPE of object oriented programming language. It involves solving real-life PROBLEMS as well.

30.

Prolog comes under ___________(a) Logic Programming(b) Procedural Programming(c) OOP(d) FunctionalI had been asked this question during a job interview.My query is from High Level Languages topic in division Computer Languages of Computer Fundamentals

Answer»

Right answer is (a) LOGIC PROGRAMMING

The best explanation: Prolog stands for Programming in Logic. The OPTIONS mentioned are the four CATEGORIES of programming. Prolog is a TYPE of logic programming.

31.

Each byte of character is stored as its ASCII value in _______(a) Hexadecimal(b) Binary(c) Octal(d) DecimalThis question was posed to me in an international level competition.Enquiry is from Assembly Languages topic in division Computer Languages of Computer Fundamentals

Answer»

Correct option is (a) Hexadecimal

For EXPLANATION I would say: Assembly language DEALS with hexadecimal values only. Each decimal VALUE is automatically converted to its 16-bit binary EQUIVALENT and STORED as a hexadecimal number.

32.

To locate the exact location of data in memory, we need the starting address of the segment, which is found in the DS register and an offset value. This offset value is also called?(a) Effective Address(b) Direct offset address(c) Memory address(d) General AddressI have been asked this question during an interview.Origin of the question is Assembly Languages topic in division Computer Languages of Computer Fundamentals

Answer» RIGHT CHOICE is (a) Effective Address

The explanation: When operands are specified in memory ADDRESSING MODE, direct access to MAIN memory, usually to the data segment, is required. This way of addressing results in slower processing of data. To get the exact location of data in memory, we need segment start address, which is found in the DS register and an offset value. This offset value is called an effective address.
33.

To speed up the processor operations, the processor includes some internal memory storage locations, called ___________(a) Drives(b) Memory(c) Units(d) RegistersThis question was addressed to me by my college director while I was bunking the class.Enquiry is from Assembly Languages topic in section Computer Languages of Computer Fundamentals

Answer»

The correct ANSWER is (d) Registers

The BEST I can EXPLAIN: The PROCESSOR has some internal memory STORAGE locations, known as registers. The registers stores data elements for processing without having to access memory.

34.

The segment containing data values passed to functions and procedures within the program.(a) Code(b) Data(c) Stack(d) SystemThis question was addressed to me in my homework.My doubt stems from Assembly Languages in portion Computer Languages of Computer Fundamentals

Answer»

The correct answer is (c) STACK

To explain I WOULD say: The stack segment contains data values passed to functions and procedures within the program. The code segment DEFINES an AREA in memory that stores the INSTRUCTION codes.

35.

The instructions that tell the assembler what to do.(a) Executable instructions(b) Pseudo-ops(c) Logical instructions(d) MacrosThis question was posed to me by my college director while I was bunking the class.The doubt is from Assembly Languages topic in section Computer Languages of Computer Fundamentals

Answer»

The CORRECT option is (a) Executable instructions

Best explanation: The executable instructions or simple instructions tell the processor what to do. Each instruction consists of an operation code (opcode). Each executable instruction generates one MACHINE LANGUAGE instruction.

36.

A Borland Turbo Assembler.(a) nasm(b) tasm(c) gas(d) asmI got this question in an internship interview.I want to ask this question from Assembly Languages topic in portion Computer Languages of Computer Fundamentals

Answer»

Right OPTION is (B) TASM

The EXPLANATION is: Tasm is the borland turbo assembler. Nasm is used with linux generally. GAS is the GNU assembler.

37.

The data size of a word is _________(a) 2-byte(b) 4-byte(c) 8-byte(d) 16-byteThe question was asked in a national level competition.My question comes from Assembly Languages in division Computer Languages of Computer Fundamentals

Answer»

Correct ANSWER is (a) 2-byte

For EXPLANATION: The processor supports the FOLLOWING data sizes:

WORD: a 2-byte data item

• Double word: a 4-byte (32 BIT) data item, etc.

38.

A direct reference of specific location.(a) Segment Address(b) Absolute Address(c) Offset(d) Memory AddressI have been asked this question during an internship interview.My question is from Assembly Languages topic in section Computer Languages of Computer Fundamentals

Answer»

Right CHOICE is (B) Absolute Address

Explanation: There are two kinds of memory ADDRESSES:

 • An absolute address – a direct REFERENCE of specific LOCATION.

 • The segment address (or offset) – starting address of a memory segment with the offset value.

39.

Assembly Language requires less memory and execution time.(a) True(b) FalseThis question was addressed to me by my college director while I was bunking the class.Enquiry is from Assembly Languages in chapter Computer Languages of Computer Fundamentals

Answer»

Correct CHOICE is (a) True

Easy EXPLANATION: The STATEMENT is true.

Advantages of USING assembly language are:

• It requires less memory and execution time.

• It allows hardware-specific complex jobs in an easier way.

• It is suitable for time-critical jobs.

40.

Each personal computer has a _________ that manages the computer’s arithmetical, logical and control activities.(a) Microprocessor(b) Assembler(c) Microcontroller(d) InterpreterI had been asked this question in an online quiz.This key question is from Assembly Languages topic in section Computer Languages of Computer Fundamentals

Answer»

The CORRECT choice is (a) Microprocessor

The best I can explain: Microprocessor handles all these activities. Each family of processors has its own SET of instructions for handling various operations like getting input from keyboard, DISPLAYING INFORMATION on a screen and performing various other JOBS.

41.

The rules that give meaning to the instructions.(a) Semantics(b) Syntax(c) Code(d) CasesThe question was asked in a job interview.My enquiry is from Machine Languages in portion Computer Languages of Computer Fundamentals

Answer»

Right option is (a) Semantics

The best I can explain: The answer is semantics. They are the RULES that GIVE meaning to the INSTRUCTIONS. The syntax is the formal rules that ensure validation of code.

42.

An approach that designs test cases by looking at the allowable data values.(a) Data coverage(b) Code Coverage(c) Debugging(d) ValidationThis question was posed to me during an interview.Query is from Machine Languages topic in portion Computer Languages of Computer Fundamentals

Answer»
43.

A program that reads each of the instructions in mnemonic form and translates it into the machine-language equivalent.(a) Machine language(b) Assembler(c) Interpreter(d) C programThis question was posed to me in class test.Question is taken from Machine Languages in portion Computer Languages of Computer Fundamentals

Answer» CORRECT ANSWER is (b) Assembler

The explanation: Assembler does this job. A language that uses MNEMONIC codes for the representation of machine-language instructions is CALLED assembly language.
44.

The formal grammar rules governing the construction of valid instruction.(a) test case(b) syntax(c) program(d) semanticsThe question was asked in unit test.My question is based upon Machine Languages in chapter Computer Languages of Computer Fundamentals

Answer» RIGHT answer is (b) syntax

To EXPLAIN I WOULD say: Syntax DETERMINES the grammatical rules in a CODE. Semantics give meaning to the instructions.
45.

An approach that designs test cases by looking at the allowable data values.(a) Maintenance(b) Evaluation(c) Data coverage(d) ValidationThis question was addressed to me in homework.Enquiry is from Machine Languages topic in portion Computer Languages of Computer Fundamentals

Answer»

The correct answer is (c) Data coverage

Easiest explanation: Data coverage is the TERM used.It is RESPONSIBLE for DESIGNING the TEST cases.

46.

A document that specifies how many times and with what data the program must be run in order to thoroughly test it.(a) addressing plan(b) test plan(c) validation plan(d) verification planI got this question in an interview.My question is based upon Machine Languages topic in portion Computer Languages of Computer Fundamentals

Answer» RIGHT option is (b) test plan

Easy explanation: Test plan is the A document that SPECIFIES how many times and with what data the program must be run in ORDER to thoroughly test it. It comes under TESTING.
47.

The memory unit is made up of _____ bytes.(a) 256(b) 124(c) 4096(d) 3096I had been asked this question during an online interview.My doubt is from Machine Languages in chapter Computer Languages of Computer Fundamentals

Answer»

Right option is (c) 4096

To explain: The memory unit is made up of 4,096 BYTES. Memory unit is responsible for the storage of DATA. It is an important ENTITY in the COMPUTER system.

48.

The ___________ contains the address of the next instruction to be executed.(a) IR(b) PC(c) Accumulator(d) System counterThis question was addressed to me in final exam.Query is from Machine Languages in portion Computer Languages of Computer Fundamentals

Answer»

The CORRECT choice is (B) PC

The best I can explain: PC stands for program counter (It contains the ADDRESS of the NEXT instruction to be executed).

49.

Binary code comprises of digits from 0 to 9.(a) True(b) FalseThis question was addressed to me during an internship interview.I would like to ask this question from Machine Languages topic in division Computer Languages of Computer Fundamentals

Answer» CORRECT answer is (B) FALSE

To elaborate: The statement is false. Binary as the WORD suggests contains only 2 digits : 0 and 1.

0 denotes false and 1 denotes a truth value.
50.

The language made up of binary coded instructions.(a) Machine(b) C(c) BASIC(d) High levelI got this question during a job interview.This key question is from Machine Languages topic in section Computer Languages of Computer Fundamentals

Answer»

Right answer is (a) Machine

To elaborate: The LANGUAGE MADE up of binary coded instructions BUILT into the hardware of a particular COMPUTER and USED directly by the computer is machine language.