CBSE - MCQ Question Banks (के. मा. शि. बो . -प्रश्नमाला )

PreviousNext

Q. 192201 Dot Matrix is a type of


A. tape.

B. disk.

C. printer.

D. bus.

Right Answer is: C

SOLUTION

A dot matrix is a printer that represents each character as a pattern of dots from a dot matrix.


Q. 192202 The file which consists of declarations of standard stream input and output facilities is known as


A. stdio.h

B. math.h

C. iostream.h

D. stream.h

Right Answer is: C

SOLUTION

The iostream is a header file which is used for input/output in the C++ programming language. It is a part of the C++ standard library.


Q. 192203 The similarity between break and continuous statement is


A. both statements terminate the entire loop execution.

B. both statements terminates single pass of the loop.

C. both statements are jump statements.

D. both statements are evaluated at the entry point of the loop.

Right Answer is: C

SOLUTION

The break command terminates the execution of the innermost enclosing loop, causing execution to resume after the nearest done statement. The continue command causes execution to resume at the while, until or for statement, which begins the loop containing the continue command.


Q. 192204 The logical sequence of precise steps that solve a given program is known as


A. documentation.

B. algorithm.

C. flowchart.

D. procedure.

Right Answer is: B

SOLUTION

An algorithm is a procedure or formula for solving a problem.


Q. 192205 The number of modules of documentation (manuals) are


A. seven.

B. eight.

C. nine.

D. ten.

Right Answer is: B

SOLUTION

List of manuals include user, input preparation, operations, equipment, programmer, program, systems and standard module.


Q. 192206 The documentation modules are generally referred to as


A. general description.

B. output specification.

C. manuals.

D. layouts.

Right Answer is: C

SOLUTION

Manuals make information easily accessible to a specific user for which they were prepared and they reduced the costs of production and maintenance.


Q. 192207 To accommodate changing needs from time to time, maintenance is done. This is called


A. corrective maintenance.

B. adaptive maintenance.

C. perfective maintenance.

D. preventive maintenance.

Right Answer is: B

SOLUTION

Changes in environment due to information system operations may lead to system maintenance. This maintenance is known as adaptive maintenance.


Q. 192208 The maintenance that is done to rectify the errors is known as


A. corrective maintenance.

B. adaptive maintenance.

C. perfective maintenance.

D. preventive maintenance.

Right Answer is: A

SOLUTION

When a program after completion, is put to operations, some errors might show up because of some unexpected situations and untested areas. Such errors are fixed and this type of maintenance is known as corrective maintenance.


Q. 192209 The type of maintenance which aims at avoiding errors, is known as


A. corrective maintenance.

B. adaptive maintenance.

C. perfective maintenance.

D. preventive maintenance.

Right Answer is: D

SOLUTION

If possible errors could be anticipated before they actually occur, the maintenance could be done to avoid them.


Q. 192210 The number of different kinds of program maintenance is


A. two.

B. three.

C. four.

D. five.

Right Answer is: C

SOLUTION

There are four kinds of maintenance: corrective maintenance, adaptive maintenance, preventive maintenance and perfective maintenance.


Q. 192211 The process of finding errors in a program is called


A. testing.

B. code walkthrough.

C. code evaluation.

D. debugging.

Right Answer is: A

SOLUTION

The process of exercising software to verify that it satisfies specified requirements and to detect errors in it is known as testing.


Q. 192212 The process of correcting errors in a program is known as


A. testing.

B. code walkthrough.

C. code evaluation.

D. debugging.

Right Answer is: D

SOLUTION

Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program.


Q. 192213 90% of the cost of a program is spent on


A. documentation.

B. designing.

C. coding.

D. testing.

Right Answer is: D

SOLUTION

The process of exercising software to verify that it satisfies specified requirements and detect errors in it is known as testing. Maximum cost is spent on this stage only.


Q. 192214 The erasable disk on which we can write multiple times is


A. CD-R.

B. CD-ROM.

C. DVD-R.

D. DVD-RW.

Right Answer is: D

SOLUTION

DVD-RW stands for Digital Video Disk – Rewritable. We can erase and read many times on them.


Q. 192215 A term used interchangeably with Super Density disk is


A. CD.

B. FLOPPY DISK.

C. DVD.

D. HARD DISK.

Right Answer is: C

SOLUTION

A DVD is also called Super Density disk (SD) and can hold upto 17 gigabytes of data or four hours of movies on a slide.


Q. 192216 AGP stands for


A. Accelerated Graphics Port.

B. Accelerated Graphics Portable.

C. Accelerated Graph Portability.

D. Abort Graphics Port.

Right Answer is: A

SOLUTION

The AGP port is used to connect to graphic card that provides high speed video performance.


Q. 192217 EPROM stands for


A. Erase Programmable Read Only Memory.

B. Erasable Programmable Read Only Memory.

C. Erasable Programmable Read Optical Memory.

D. Erasable Programmable Random Only Memory.

Right Answer is: B

SOLUTION

EPROM can be erased as well as reprogrammed.


Q. 192218 RAM stands for


A. Read Access Memory.

B. Read Accessible Memory.

C. Random Access Memory.

D. Random Accessible Memory.

Right Answer is: C

SOLUTION

In Random Access Memory (RAM), the memory cells can be accessed for information transfer from any desired random location.


Q. 192219 If someone can read from a memory and also write into it, it is known as


A. readable memory.

B. writeable memory.

C. complex memory.

D. read-write memory.

Right Answer is: D

SOLUTION

Memories that can be both read from and written into are called read-write memories.


Q. 192220 The other name of secondary memory is


A. main memory.

B. auxillary memory.

C. virtual memory.

D. single memory.

Right Answer is: B

SOLUTION

Auxiliary memory is a high-speed memory that is in a large mainframe or supercomputer. It is not directly addressable by the central processing unit and is connected to the main memory by a high-speed data channel.


Q. 192221 The examples of secondary memory devices are


A. optical disks and keyboard.

B. RAM and ROM.

C. magnetic tapes, RAM and ROM.

D. hard drives, floppy disks and optical disks.

Right Answer is: D

SOLUTION

RAM (Random Access Memory) and ROM (Read Only Memory) are the main memories, also called as primary memory. Secondary memory devices include magnetic disks like hard drives and floppy disks, optical drives and magnetic tapes.


Q. 192222 The examples of optical disks are


A. hard drives.

B. floppy disks.

C. CDs and DVDs.

D. magnetic tapes.

Right Answer is: C

SOLUTION

The compact disk or CDs are optical media. Similarly, DVD is also an optical storage device that looks the same as a compact disk but is able to hold about 15 times more information than CD.


Q. 192223 A printer that forms characters out of a set of dots is called a/an


A. electromagnetic printer.

B. thermal printer.

C. dot matrix printer.

D. electrostatic printer.

Right Answer is: C

SOLUTION

It is a type of printer that produces characters and illustrations by striking pins against an ink ribbon to print closely spaced dots in the appropriate shape.


Q. 192224 The concentric circles on the floppy disk are further divided into


A. sectors.

B. tracks.

C. cylinders.

D. segments.

Right Answer is: A

SOLUTION

The floppy disk is divided into many concentric circles called tracks; each track is further sub-divided into smaller sections called sectors.


Q. 192225 What is the function of a bluetooth port in a device?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

Bluetooth provides agreement at the protocol level, where products have to agree on:


Q. 192226 Name the basic units of a CPU. 
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

CPU consists of the Control Unit (CU), which controls the entire operation being carried out and the Arithmetic and Logical Unit (ALU), which performs the arithmetic and logical operations.


Q. 192227 What is the role of a VDU?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

VDU: Visual Display Unit, simply a monitor or display, is a piece of electrical equipment, which displays images generated from the video output of devices such as computers, without producing a permanent record.


Q. 192228 If a memory is organized into 2k words, then what does k represents?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

The 'k' represents the number of address lines that provide a binary number of k bits, which specify the address of a particular word chosen among the available 2k inside the memory.


Q. 192229 Name some non-impact printers.
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

Electromagnetic printers, thermal printers, electrostatic printers, inkjet printers and laser printers are all examples of non-impact printers.


Q. 192230 What is the role of an IPO cycle? 
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

Every task follows IPO cycle. That is, a computer takes certain data, processes data, outputs information and then saves the information.


Q. 192231 Name the device that can be used for
i) Economical printing of small quantity of data
ii) High quality drawing
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

i) Impact printers are used for economical printing of data.
ii) Plotters are used for high quality drawing.


Q. 192232 Write the full form of OCR and OMR.
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

OCR - Optical Character Reader
OMR - Optical Mark Reader


Q. 192233 What are the factors that determine the time taken to access data from a magnetic disk?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

The time taken to access data from a magnetic disk depends upon seek time and latency.


Q. 192234 What is the function of a bus?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

A bus carries information from one place to another. A bus may carry data or address or control information. Thus, we can say various components of the computer interact with one another through bus.


Q. 192235 What is the advantage of non-impact printers over impact printers?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

The non-impact printers have more speed compared to their impact-counterpart. Also, non-impact printers offer high quality output but at higher cost. On the other hand, impact printers are less expensive but they do not offer quality output.


Q. 192236 How is RAM different from ROM?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

RAM stands for Random Access Memory. It can store information and have new information stored over it later. RAM is volatile in nature, i.e., any unsaved data is lost when power is switched off.
ROM stands for Read Only Memory. It performs the read operation only; it does not have a write capability. It is non-volatile.


Q. 192237 Classify memory on the basis of the memory operations.
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

Memories can be read from or written into:


Q. 192238 What was the main motive behind introducing the Thin Film Transistors along with the LCD screen?  
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

  1. TFT-LCD (Thin Film Transistor-Liquid Crystal Display) is a variant of Liquid Crystal Display (LCD), which uses Thin-Film Transistor (TFT) technology to improve image quality. 
  2. TFT-LCD is one type of active matrix LCD, though it is usually synonymous with LCD. It is used in both flat panel displays and projectors.
  3. With TFT, power consumption is still lesser and image can be screened on the screen from even 180 degrees.

 


Q. 192239 Why LCD’s have replaced the CRT monitors in TV screens?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

LCD or Liquid Crystal Display is the latest technology being used in TV or computer screens.

  1. The Cathode Ray Tube monitors are bigger in size and weight of the tubes. An equivalent sized LCD monitor is upwards of 80% smaller in size and weight compared to a CRT tube.
  2. The larger the screen, the bigger the size difference.
  3. The other major drawback deals with the power consumption. The energy needed for the electron beam means that the monitors consume and generate a lot more heat than the LCD monitors.

 


Q. 192240 How does the cache memory increase the speed of processor? 
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

Since, memory/RAM is much faster than a disk, so on writing data to the disk, it goes to the cache and the task is quickly reported as complete, thus freeing the machine for the next task. But the data is then written from the cache to the disk without using any of the machine resources.
    A similar process happens when data is read from a disk. Often a disk is able to retrieve data faster than the PC can handle it. It is therefore written to the cache, where the PC can read it on demand but the disk itself is already idle and awaiting for the next instruction.


Q. 192241 A computer memory is organized into 1024 x 32 cells. Determine the number of address input signals and input/output data signals.
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

Size of memory=1024 x 32= 32768 bits.  ( 1024=210 )
Therefore, number of address input signal lines = 10. 
Number of input/output data signal lines = 32.


Q. 192242 Write the use of : light pen and track ball. 
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

Light pen: It is used to identify a specific location on the screen. It is also used to draw images on the screen.
Track ball: It is used to move an object on the screen.


Q. 192243 Why is it necessary to format a floppy disk?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

Before the computer can save information onto a blank floppy disk, it must be formatted. Floppy usually stores the data in a magnetic medium where these datas are sticked on. Deletion alone can’t make it emptied fully, since some backup data will be sticking there.  We can also format a previously used disk to erase all existing information on the disk.


Q. 192244 Why is primary memory termed as non-destructive read memory? 
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

When data is read from the primary memory, the contents of the memory word remain the same; they do not get altered. Therefore, a primary memory is termed as a non-destructive read memory.


Q. 192245 Explain the two levels of cache that help to speed up the memory operations with the help of a diagram.
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION


The cache memory lies between the microprocessor and the system RAM. It is used as a buffer to reduce the time of memory access. There are two levels to this memory called L1 (level 1) and L2 (level 2). 

Level 1 (Primary Cache): It is the fastest memory on the PC and is referred to as 'internal' cache. It is built directly into the processor itself. This cache memory is very small, ranging from 8 KB to 64 KB and runs at the same speed as the processor. 
Level 2 (Secondary Cache): It is referred to as 'external' cache and is larger and slightly slower. It is used to catch recent accesses that are not caught by the level 1 cache, and is usually 64 KB to 2 MB in size. A level 2 cache is usually found either on the motherboard or a daughter board that inserts into the motherboard.


Q. 192246 Explain the organization of memory with the help of a diagram. 
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION



A basic memory system is shown here: 
k address lines are decoded to address 2k words of memory.
Each word is n bits.
Read and Write are single control lines
defining the simplest of memory operations.


Q. 192247 Explain the functioning of the latest version of mouse.
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

The latest version of mouse is an optical mouse.

  1. An optical mouse is an advanced computer-pointing device that uses a light-emitting diode (LED), an optical sensor and digital signal processing (DSP) in place of the traditional mouse ball and electromechanical transducer.
  2. Movement is detected by sensing changes in reflected light, rather than by interpreting the motion of a rolling sphere.
  3. In practice, an optical mouse does not need cleaning, because it has no moving parts.
  4. If the device is used with the proper surface, sensing is more precise than is possible with any pointing device using the old electromechanical design.
  5. An asset in graphics applications making computer operation easier in general.
  6. It also eliminates mechanical fatigue and failure.

 


Q. 192248 How is data accessed in a hard disk?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

Hard disks store information on flat, circular disks called platters, which are rigid and have a magnetic coating on both sides, in which the digital data is stored. Each platter requires two read/write heads, one for each side. All the read/write heads are attached to a single access arm, so that they cannot move independently. To store data on the hard disk, the read/write heads convert bits of digital data into magnetic pulses and then reverse the process to read data from the disk.


Q. 192249 What is memory? Discuss RAM and ROM in detail.
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

Memory is something that stores, preserves and recalls data when needed. It is a collection of storage cells capable of storing binary information together. Computer memory stores data that is accessed by the Central Processing Unit (CPU).

Memories can be read from or written into:

RAM or Random Access Memory: RAM allows the system to access any data stored in the memory in any location at any time. This memory is often referred to as volatile (power dependent), i.e., when the power is isolated the data is lost.

Communication is achieved through data input and output lines, address selection lines, and control lines that specify the direction of transfer.

RAM is further divided into :
1)     Dynamic RAM
2)    
Static RAM

Dynamic RAMs store information in integrated circuits that contain capacitors. As capacitors lose their charge over time, dynamic RAM boards must include logic to “refresh” (recharge) the RAM chips as many as thousand times a second. While a dynamic RAM is being refreshed, the processor cannot read it.

SRAM (static RAM) retains data bits in its memory as long as power is being supplied. Unlike dynamic RAM (DRAM), which stores bits in cells consisting of a capacitor and a transistor, SRAM does not have to be periodically refreshed. A static RAM is faster than DRAM but it is expensive.

ROM or Read Only Memory: ROM is a type of memory that normally can only be read. It is capable of holding data but cannot write to or modify data. Read only memories (ROMs) are used in computer systems to provide a permanent storage of program instructions.
     ROM retains its contents even when the computer is turned off. It is
referred to as being non-volatile, whereas RAM is volatile. Most personal computers contain a small amount of ROM containing program that boots the computer. ROMs are used extensively in calculators and peripheral devices such as, laser printers. 


Q. 192250 While connecting the peripherals like mouse and keyboard to a computer, you must have noticed that they are colour coded. What is the colour code for keyboard and mouse and what are these ports called?
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

A keyboard is connected to a purple port while for a mouse it is green in colour.
The ports used for this purpose are known as PS/2 or Personal System/2 ports.

The concept is similar to the colour-coded composite audio/video connections on the back of a TV, which uses red, yellow or white connectors.

 


Q. 192251 How does a plotter create pictures? Write some of the advantages and disadvantages of plotters.
A. sectors.
B. tracks.
C. cylinders.
D. segments.

Right Answer is:

SOLUTION

A plotter works closely with a computer's imaging software to produce a final picture or object. 

  1. Firstly, enter the appropriate coordinates where you want the image to appear on the paper.
  2. Modern software allows the user to accomplish this goal very easily by drawing lines and images with the imaging software.
  3. Once the schematics for the image are complete, the computer downloads the coordinates to the plotter, which interprets the code and calculates the most efficient path for the pen and paper.

Advantages of plotters:

1. Larger size of papers can be used.
2. Higher quality of drawings
 

Disadvantages of plotters:
1. They are slower than printers.
2.
Not suitable for text.
3.
Limited detail can be produced.


Q. 192252 The most common input device used today is a


A. motherboard.

B. printer.

C. keyboard.

D. semiconductor.

Right Answer is: C

SOLUTION

A keyboard is a data input device for computers; arrangement of keys is modelled after the typewriter keyboard.


Q. 192253 The statement “Software design technology is a system not a secret” is given by


A. Rachna Sagar.

B. Lawrence Peter.

C. Joan Christ.

D. Joan Peter.

Right Answer is: B

SOLUTION

Lawrence Peter statement means that a systematic approach in software design should be adopted to develop an acceptable and efficient solution.


Q. 192254 The ability of software written for one computer to run successfully on different machines, is known as


A. robustness.

B. portability.

C. maintainability.

D. atomicity.

Right Answer is: B

SOLUTION

In computer science, portability is the process of adapting software so that, an executable program can be created for a computing environment that, is different from the one for which it was originally designed.


Q. 192255 The header file which declares the C++ streams, I/O manipulator and contains macros for creating parameterized manipulators is known as


A. iomanip.h

B. string.h

C. ctype.h

D. math.h

Right Answer is: A

SOLUTION

The iomanip.h header file contains a definition for a macro IOMANIPdeclare().The IOMANIPdeclare() takes a type name as an argument and creates a series of classes you can use to define manipulators, for a given kind of stream.


Q. 192256 The syntax error in the following program is# include < iostream.h > void main() { int R ; W = 90; while (W>60) { R=W-50; } }


A. #include < iostream.h>

B. int R ; W = 90;

C. while (W>60)

D. R=W-50;

Right Answer is: B

SOLUTION

It should be int R, W = 90. The variable list should be separated using commas.


Q. 192257 The output of the following code fragment is for(int i = 1; i<10 ; i++)
cout << i;


A. 1 2 3 4 5 6 7 8 9 10

B. 0 1 2 3 4 5 6 7 8 9

C. 1 2 3 4 5 6 7 8 9

D. 0 1 2 3 4 5 6 7 8 9 10

Right Answer is: C

SOLUTION

The loop is initialized with 1 and continues up to 9 as i is less than 10.


Q. 192258 Written descriptions, specifications, design, code and comment, internal and external to a program, which makes the program more understandable is termed as


A. algorithm.

B. layouts.

C. documentation.

D. flowchart program logic.

Right Answer is: C

SOLUTION

Documentation should describe the who, what, when, where and how of each system application.


Q. 192259 “ I firmly believe that the maintainability of a system is a direct function of how well it was developed initially ”. This statement was said by


A. Louis A Rose.

B. Rose P. Lousis.

C. A Rose Louis.

D. Peter Joan.

Right Answer is: A

SOLUTION

The statement means that maintenance time is totally unnecessary because, little planning and testing can avoid maintenance time.


Q. 192260 If the existing system is maintained to keep attuned with new features, new facilities, new capabilities, it is said to be


A. corrective maintenance.

B. adaptive maintenance.

C. perfective maintenance.

D. preventive maintenance.

Right Answer is: C

SOLUTION

In an information technology world, no technology has proved permanent. Every year, new technologies come with new features, new facilities. Maintenance in order to install new features is known as perfective maintenance.


Q. 192261 Printing of the input data, as they are read, is called


A. gravure printing.

B. offset printing.

C. echo printing.

D. screen printing.

Right Answer is: C

SOLUTION

The print and echo are commands used to output information to the visitors screen (on the web page). Both do the same job, so it usually comes down to a matter of personal preference on which one you like to use.


Q. 192262 The ability of a program, to recover from an error and to continue operating within its environment, is called


A. robustness.

B. redundancy.

C. consistency.

D.  isolation.

Right Answer is: A

SOLUTION

A program must anticipate situations of data type conflict and all other incompatibilities, which result in run time errors and stop the program. The focus of robustness is the interaction with the user and the handling of error messages.


Q. 192263 Information systems


A. may not require testing.

B. keep an eye on the future.

C. abstain from user specifications.

D. system design is not considered.

Right Answer is: B

SOLUTION

The system information panel provides real time monitoring of processor, memory and disk activity.


Q. 192264 The modification of a program after it has been completed refers to


A. program maintenance.

B. program completion.

C. program modification.

D. program documentation.

Right Answer is: A

SOLUTION

Program maintenance refers to the modification of a program after it has been completed, in order to meet changing requirements or to take care of errors that show up. There could be four kinds of maintenance: Corrective Maintenance, Adaptive Maintenance, Preventive Maintenance and Perfective Maintenance,


Q. 192265 Adaptive Maintenance


A. is new technology coming with new features.

B. is anticipating errors.

C. depends on company policies.

D. does not produce new reports.

Right Answer is: C

SOLUTION

Changes in the environment in which an information system operates may also lead to system maintenance. For example, new laws or government regulation may require a company to process new reports, or markets conditions, on which the system depends, change or company's policies may change. To accomodate changing needs, time to time, maintenance is done and is called adaptive maintenance.


Q. 192266 Self documentation code is the


A. object code using meaningful identifier names.

B. source code that uses meaningful identifier names.

C. proper use of constants.

D. proper use of variables.

Right Answer is: B

SOLUTION

Self documentation code is the source code that uses meaningful names for constants, variables and subprogram identifiers to clarify their meaning in the program.


Q. 192267 A good program


A. uses free formatting style.

B. avoids use of free formatting style.

C. has bugs.

D. avoids use of syntax or semantics.

Right Answer is: B

SOLUTION

A program written in good style is easily understandable to a reader, therefore, is a good program. A good program not only efficiently solves the given problem but also presents itself well. The use of free formatting should be avoided and indentation and blank lines, spaces should be used while writing a program.


Q. 192268 Semantics is


A. documentation code.

B. syntax.

C. statement without meaning.

D. set of rules that govern the meaning of a statement.

Right Answer is: D

SOLUTION

Semantics errors occur when statements are not meaningful. For instance, 'Ravi plays Piano' is syntactically and semantically correct as it has some meaning but the statement 'Piano plays Ravi' is syntactically correct (as the grammar is correct) but semantically incorrect.


Q. 192269 Explanatory comments are


A. expressions.

B. difficult to understand.

C. comments explaining the action/role of statements.

D. functions.  

Right Answer is: C

SOLUTION

The explanatory comments should be inserted wherever applicable since they explain the role and purpose of other identifers (variable, constants) and statement(s).


Q. 192270 Process of converting source code into object code is known as


A. processing.

B. formatting.

C. testing.

D. compilation.

Right Answer is: D

SOLUTION

After feeding the program, next step is to compile it. Compilation is the process to convert the source code (code written in the programming language) into the object code (code in the machine language). For compilation, appropriate compiler is used which can translate the program written in a specific programming language.


Q. 192271 The top-down design is also called


A. divide and conquer.

B. documentation.

C. multiply and conquer.

D. segementation.
 

Right Answer is: A

SOLUTION

In top-down design, also called divide and conquer, firstly the major steps or sub-problems are listed, that need to be solved, then the original problem is solved by solving each of its sub-problems.


Q. 192272 Prettyprinting is


A. the external documentation.

B. opposite of free formatting.

C. similar to free formatting.

D. is simliar to the self documentation.

Right Answer is: B

SOLUTION

Free formatting style refers to any number of statements written in one line using a statement separator, whereas, prettyprinting gives a logical structure of a program.


Q. 192273 Self documentation code


A. is a characterstic of a good program.

B. is a stage of program development process.

C. is prettyprinting.

D. is external documentation.

Right Answer is: A

SOLUTION

A program written in good style is easily understandable to a reader, therefore, is a good program. A good program not only efficiently solves the given problem but also presents itself well. The use of free formatting should be avoided and indentation and blank lines, spaces should be used while writing a program.
The characteristics of a good program are :
1. Effective and efficient
2. User friendly
3. Self-documenting code
4. Reliable
5. Portable


Q. 192274 The program design method we learned in order to write object-oriented programs is


A. declare-define-use.

B. public functions and private variables.

C. top down programming.

D. bottom up programming.

Right Answer is: D

SOLUTION

Object oriented systems use bottom up approach. It uses concept of objects and classes.


Q. 192275 The class whose properties are inherited by other classes is known as the


A. base class.

B. derived class.

C. derivable class.

D. inherited class.

Right Answer is: A

SOLUTION

Derived classes inherit properties including the methods of old class, which are called base class or super class.


Q. 192276 The class which inherits the properties of another class is known as the


A. derived class.

B. super class.

C. base class.

D. inheritable class.

Right Answer is: A

SOLUTION

Derived classes (sub-classes) inherit the properties of a base class (super class).


Q. 192277 Reusing an existing code


A. increases readability.

B. increases time, money and efforts to use the code again.

C. increases reliability of a program.

D. increases writability.

Right Answer is: C

SOLUTION

Reusability is using the already tested and saved previous code again. It’s advantages are faster development time, easier maintenance, and easy to extend.


Q. 192278 Machine code produced by a compiler or assembler from a source code is known as


A. object code.

B. class code.

C. structure code.

D. defined code.

Right Answer is: A

SOLUTION

In computer science, an object code or an object file is the representation of the code that a compiler or an assembler generates by processing a source code file.


Q. 192279 The wrapping up of data and associated functions into a single unit is called


A. inheritance.

B. polymorphism.

C. encapsulation.

D. abstraction.

Right Answer is: C

SOLUTION

It is the way of combining both data and the functions that operate on that data under a single unit.


Q. 192280 A group of objects that share common properties and relationships is called


A. module.

B. class.

C. abstract.

D. data.

Right Answer is: B

SOLUTION

A class is a template or blue-print representing a group of objects that share common properties.


Q. 192281 The software reuse is possible in


A. procedural programming approach.

B. modular programming approach.

C. structural programming approach.

D. object oriented programming approach.

Right Answer is: D

SOLUTION

The code can only be reused in object oriented programming approach, which uses the concept of objects and classes.


Q. 192282 While programming using OOP approach, the behaviour of an object is represented by its


A. characteristics.

B. functions.

C. data.

D. actions.

Right Answer is: B

SOLUTION

An object represents an entity that can store data and has its interface through functions. For example, if orange is an object, then it’s behaviour is that it is juicy and it tastes sweet sour.


Q. 192283 While programming using OOP approach, the characteristics of an object are represented by its


A. behaviour.

B. attributes.

C. data.

D. functions.

Right Answer is: C

SOLUTION

The characteristics of an object are represented by its data. For example, if orange is an object, then its colour and shape are data.


Q. 192284 The programming methodologies which do not model the real world very well are


A. object based and object oriented programming.

B. structural and object oriented programming.

C. procedural and modular programming.

D. procedural and object oriented programming.

Right Answer is: C

SOLUTION

The drawbacks of procedural and modular programming are removed by object oriented programming technique. So, only object oriented can model the real world well.


Q. 192285 A list of instructions where each statement tells the computer to do something, is called


A. data.

B. information.

C. program.

D. method.

Right Answer is: C

SOLUTION

A program is a set of instructions which tells the computer the task it has to perform.


Q. 192286 Grouping of components that carry out specific tasks is the principle of


A. modular programming.

B. structured programming.

C. object oriented programming.

D. object based programming.

Right Answer is: A

SOLUTION

A module is a set of related procedures with the data they manipulate.


Q. 192287 Dynamic binding is also called


A. early binding.

B. dynamic binding.

C. function binding.

D. late binding.

Right Answer is: D

SOLUTION

Dynamic binding refers to the case, where compiler is not able to resolve the call at the compiled time and the binding is done at run time only.


Q. 192288 The programming technique which focuses on the algorithm is


A. procedural language.

B. object oriented language.

C. object based language.

D. structural language.

Right Answer is: A

SOLUTION

Procedural languages are used in the traditional programming that is based on the algorithms.


Q. 192289 The property by which the same message can be sent to objects of several classes is called


A. data abstraction.

B. polymorphism.

C. overloading.

D. inheritance.

Right Answer is: B

SOLUTION

Polymorphism is the ability for a message or data to be processed in more than one form.


Q. 192290 The process of creating an object is called


A. object creation.

B. object formation.

C. instantiation.

D. instant object.

Right Answer is: C

SOLUTION

An object is an instance of a class. It is the root of class hierarchy and the process of creating it is called instantiation.


Q. 192291 An identifiable entity with some characteristics and behaviour is known as


A. class.

B. object.

C. group.

D. module.

Right Answer is: B

SOLUTION

Object is the root of class hierarchy. It is a discrete entity with some characteristics and behaviour.


Q. 192292 A number of functions grouped and kept as a separate entity is called as


A. module.

B. abstraction.

C. polymorphism.

D. data.

Right Answer is: A

SOLUTION

Grouping a number of functions together into a larger entity is called module.


Q. 192293 A group of objects is


A. module.

B. class.

C. data.

D. methods.

Right Answer is: B

SOLUTION

A class is a group of objects that share common properties and relationships. It represents a group of similar objects.


Q. 192294 Explain the following:
a. Self-documenting code
b. Prettyprinting
A. module.
B. class.
C. data.
D. methods.

Right Answer is:

SOLUTION

a. Self documenting code is the source code that uses meaningful names for constants, variables and subprogram identifers to clarify their meaning in the program.
b. Prettyprinting refers to program formatting to make a program more readable. It is encouraged by C++ relaxed rules about blank spaces and lines, we can convey the logical structure of a program at a glance. 


Q. 192295 What are the different stages involved in program development process?
A. module.
B. class.
C. data.
D. methods.

Right Answer is:

SOLUTION

There are four stages in program development process as given below:
1. Crack the problem: In the first stage, the problem is cracked and an algorithm is formulated which gives the solution for the problem.
2. Code the algorithm: In this stage, the algorithm is translated into a program (called source code) using some programming language. This process is called coding. The coded program is then fed into the computer for further processing. 
3. Compile the program: After feeding the program, next step is to compile it. Compilation is a process to convert the source code into the object code. For compilation, appropriate compiler is used which can translate the program written in a specific programming language.
4. Execute the program: After compilation of an error free program, the program is executed. This phase is called run-time, the phase of program execution during which program instructions are carried out.


Q. 192296 What are run-time errors and how can they be prevented ? Give examples.
A. module.
B. class.
C. data.
D. methods.

Right Answer is:

SOLUTION

Errors that occur during the execution of a program are run-time errors. These are harder to detect errors. Some run-time errors stop the execution of the program which is then called "program crashed" or "abnormally aborted".
The instructions in a program may contain illegal operations like -
· Division by zero 
· Finding square root of a negative number
· Attempting to read from a file that does not exist
· Attempt to write on a read only file
· The program is terminated abnormally when an instruction prompts the system for an illegal operation

Run time errors can be avoided by making the program code take care of unusual events which normally should not occur. For e.g., put a check on that an integer is not being divided by zero. Denominator should not be zero. In such a case, the program should exit with an appropriate message.


Q. 192297 What is an error? Explain the different types of errors.
A. module.
B. class.
C. data.
D. methods.

Right Answer is:

SOLUTION

Error is called a 'bug' and correcting errors is referred to as debugging. 
Errors are of the following types:-
i) Compile-time errors 
    a) Syntax errors
    b) Semantic errors
ii) Run time errors 
iii) Logical errors 
iv) Linker errors 

Syntax errors : refer to formal rules governing the construction of valid statements in a language.   
Semantics errors : occur when statements are not meaningful

Run-Time errors : occur during execution of a programme. 
Logical errors 
: are not encountered during compile time and run time These errors give incorrect result. 
Linker errors  : After compilation, the program may not link to the library for execution.


Q. 192298 What are the steps to be taken while creating a working program ?
A. module.
B. class.
C. data.
D. methods.

Right Answer is:

SOLUTION

The steps are as follows:-
1. Understand the problem well. 
2. Analyze the problem to 

     -- identify minimum number of inputs required for output.

     -- identify processing components.

3. Design the program by

     -- deciding step by step solution.
     -- breaking down solution into simple steps.

4. Code the program by
     -- identifying arithmetic and logical operations required for solutions.

     -- using appropriate control structures like conditional and looping control structure.

5. Test and Debug your program by
     -- finding errors in it.
     -- rectifying the errors.

6. Complete the documentation.

7. Maintanence of the program.


Q. 192299 Explain User Documentation. 
A. module.
B. class.
C. data.
D. methods.

Right Answer is:

SOLUTION

As users are different, there is need for different user manuals. For e.g., the manager who supervises operations of the computer applications or receives its printed reports; the manager or end user may directly use an application through a computer terminal; clerk who prepares input for a computer and may even use its output. All these users interact with the same system in different ways.

The documentation for a specific user must ensure that proper understanding of user’s job and must provide all the necessary information to them. For different types of users, different manuals are prepared. However, the contents of the manuals are more or less similar. Additional information is provided wherever needed.


Q. 192300 Real-time systems, AI and expert systems, simulation and modelling are the application areas of


A. modular programming.

B. procedural programming.

C. object based programming.

D. object-oriented programming.

Right Answer is: D

SOLUTION

OOP is useful in real business systems and other applications because it can simplify a complex problem.


PreviousNext