A. tape.
B. disk.
C. printer.
D. bus.
A dot matrix is a printer that represents each character as a pattern of dots from a dot matrix.
A. stdio.h
B. math.h
C. iostream.h
D. stream.h
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.
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.
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.
A. documentation.
B. algorithm.
C. flowchart.
D. procedure.
An algorithm is a procedure or formula for solving a problem.
A. seven.
B. eight.
C. nine.
D. ten.
List of manuals include user, input preparation, operations, equipment, programmer, program, systems and standard module.
A. general description.
B. output specification.
C. manuals.
D. layouts.
Manuals make information easily accessible to a specific user for which they were prepared and they reduced the costs of production and maintenance.
A. corrective maintenance.
B. adaptive maintenance.
C. perfective maintenance.
D. preventive maintenance.
Changes in environment due to information system operations may lead to system maintenance. This maintenance is known as adaptive maintenance.
A. corrective maintenance.
B. adaptive maintenance.
C. perfective maintenance.
D. preventive maintenance.
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.
A. corrective maintenance.
B. adaptive maintenance.
C. perfective maintenance.
D. preventive maintenance.
If possible errors could be anticipated before they actually occur, the maintenance could be done to avoid them.
A. two.
B. three.
C. four.
D. five.
There are four kinds of maintenance: corrective maintenance, adaptive maintenance, preventive maintenance and perfective maintenance.
A. testing.
B. code walkthrough.
C. code evaluation.
D. debugging.
The process of exercising software to verify that it satisfies specified requirements and to detect errors in it is known as testing.
A. testing.
B. code walkthrough.
C. code evaluation.
D. debugging.
Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program.
A. documentation.
B. designing.
C. coding.
D. testing.
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.
A. CD-R.
B. CD-ROM.
C. DVD-R.
D. DVD-RW.
DVD-RW stands for Digital Video Disk – Rewritable. We can erase and read many times on them.
A. CD.
B. FLOPPY DISK.
C. DVD.
D. HARD DISK.
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.
A. Accelerated Graphics Port.
B. Accelerated Graphics Portable.
C. Accelerated Graph Portability.
D. Abort Graphics Port.
The AGP port is used to connect to graphic card that provides high speed video performance.
A. Erase Programmable Read Only Memory.
B. Erasable Programmable Read Only Memory.
C. Erasable Programmable Read Optical Memory.
D. Erasable Programmable Random Only Memory.
EPROM can be erased as well as reprogrammed.
A. Read Access Memory.
B. Read Accessible Memory.
C. Random Access Memory.
D. Random Accessible Memory.
In Random Access Memory (RAM), the memory cells can be accessed for information transfer from any desired random location.
A. readable memory.
B. writeable memory.
C. complex memory.
D. read-write memory.
Memories that can be both read from and written into are called read-write memories.
A. main memory.
B. auxillary memory.
C. virtual memory.
D. single memory.
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.
A. optical disks and keyboard.
B. RAM and ROM.
C. magnetic tapes, RAM and ROM.
D. hard drives, floppy disks and optical disks.
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.
A. hard drives.
B. floppy disks.
C. CDs and DVDs.
D. magnetic tapes.
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.
A. electromagnetic printer.
B. thermal printer.
C. dot matrix printer.
D. electrostatic printer.
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.
A. sectors.
B. tracks.
C. cylinders.
D. segments.
The floppy disk is divided into many concentric circles called tracks; each track is further sub-divided into smaller sections called sectors.
Bluetooth provides agreement at the protocol level, where products have to agree on:
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.
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.
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.
Electromagnetic printers, thermal printers, electrostatic printers, inkjet printers and laser printers are all examples of non-impact printers.
Every task follows IPO cycle. That is, a computer takes certain data, processes data, outputs information and then saves the information.
i) Impact printers are used for economical printing of data.
ii) Plotters are used for high quality drawing.
OCR - Optical Character Reader
OMR - Optical Mark Reader
The time taken to access data from a magnetic disk depends upon seek time and latency.
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.
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.
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.
Memories can be read from or written into:
LCD or Liquid Crystal Display is the latest technology being used in TV or computer screens.
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.
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.
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.
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.
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.

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.

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.
The latest version of mouse is an optical mouse.
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.
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.
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.

A plotter works closely with a computer's imaging software to produce a final picture or object.
Advantages of plotters:
1. Larger size of papers can be used.Disadvantages of plotters:
1. They are slower than printers.
2. Not suitable for text.
3. Limited detail can be produced.
A. motherboard.
B. printer.
C. keyboard.
D. semiconductor.
A keyboard is a data input device for computers; arrangement of keys is modelled after the typewriter keyboard.
A. Rachna Sagar.
B. Lawrence Peter.
C. Joan Christ.
D. Joan Peter.
Lawrence Peter statement means that a systematic approach in software design should be adopted to develop an acceptable and efficient solution.
A. robustness.
B. portability.
C. maintainability.
D. atomicity.
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.
A. iomanip.h
B. string.h
C. ctype.h
D. math.h
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.
A. #include < iostream.h>
B. int R ; W = 90;
C. while (W>60)
D. R=W-50;
It should be int R, W = 90. The variable list should be separated using commas.
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
The loop is initialized with 1 and continues up to 9 as i is less than 10.
A. algorithm.
B. layouts.
C. documentation.
D. flowchart program logic.
Documentation should describe the who, what, when, where and how of each system application.
A. Louis A Rose.
B. Rose P. Lousis.
C. A Rose Louis.
D. Peter Joan.
The statement means that maintenance time is totally unnecessary because, little planning and testing can avoid maintenance time.
A. corrective maintenance.
B. adaptive maintenance.
C. perfective maintenance.
D. preventive maintenance.
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.
A. gravure printing.
B. offset printing.
C. echo printing.
D. screen printing.
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.
A. robustness.
B. redundancy.
C. consistency.
D.
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.
A. may not require testing.
B. keep an eye on the future.
C. abstain from user specifications.
D. system design is not considered.
The system information panel provides real time monitoring of processor, memory and disk activity.
A. program maintenance.
B. program completion.
C. program modification.
D. program documentation.
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,
A. is new technology coming with new features.
B. is anticipating errors.
C. depends on company policies.
D. does not produce new reports.
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.
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.
Self documentation code is the source code that uses meaningful names for constants, variables and subprogram identifiers to clarify their meaning in the program.
A. uses free formatting style.
B. avoids use of free formatting style.
C. has bugs.
D. avoids use of syntax or semantics.
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.
A. documentation code.
B. syntax.
C. statement without meaning.
D. set of rules that govern the meaning of a statement.
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.
A. expressions.
B. difficult to understand.
C. comments explaining the action/role of statements.
D. functions.
The explanatory comments should be inserted wherever applicable since they explain the role and purpose of other identifers (variable, constants) and statement(s).
A. processing.
B. formatting.
C. testing.
D. compilation.
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.
A. divide and conquer.
B. documentation.
C. multiply and conquer.
D. segementation.
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.
A. the external documentation.
B. opposite of free formatting.
C. similar to free formatting.
D. is simliar to the self documentation.
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.
A. is a characterstic of a good program.
B. is a stage of program development process.
C. is prettyprinting.
D. is external documentation.
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
A. declare-define-use.
B. public functions and private variables.
C. top down programming.
D. bottom up programming.
Object oriented systems use bottom up approach. It uses concept of objects and classes.
A. base class.
B. derived class.
C. derivable class.
D. inherited class.
Derived classes inherit properties including the methods of old class, which are called base class or super class.
A. derived class.
B. super class.
C. base class.
D. inheritable class.
Derived classes (sub-classes) inherit the properties of a base class (super class).
A. increases readability.
B. increases time, money and efforts to use the code again.
C. increases reliability of a program.
D. increases writability.
Reusability is using the already tested and saved previous code again. It’s advantages are faster development time, easier maintenance, and easy to extend.
A. object code.
B. class code.
C. structure code.
D. defined code.
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.
A. inheritance.
B. polymorphism.
C. encapsulation.
D. abstraction.
It is the way of combining both data and the functions that operate on that data under a single unit.
A. module.
B. class.
C. abstract.
D. data.
A class is a template or blue-print representing a group of objects that share common properties.
A. procedural programming approach.
B. modular programming approach.
C. structural programming approach.
D. object oriented programming approach.
The code can only be reused in object oriented programming approach, which uses the concept of objects and classes.
A. characteristics.
B. functions.
C. data.
D. actions.
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.
A. behaviour.
B. attributes.
C. data.
D. functions.
The characteristics of an object are represented by its data. For example, if orange is an object, then its colour and shape are data.
A. object based and object oriented programming.
B. structural and object oriented programming.
C. procedural and modular programming.
D. procedural and object oriented programming.
The drawbacks of procedural and modular programming are removed by object oriented programming technique. So, only object oriented can model the real world well.
A. data.
B. information.
C. program.
D. method.
A program is a set of instructions which tells the computer the task it has to perform.
A. modular programming.
B. structured programming.
C. object oriented programming.
D. object based programming.
A module is a set of related procedures with the data they manipulate.
A. early binding.
B. dynamic binding.
C. function binding.
D. late binding.
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.
A. procedural language.
B. object oriented language.
C. object based language.
D. structural language.
Procedural languages are used in the traditional programming that is based on the algorithms.
A. data abstraction.
B. polymorphism.
C. overloading.
D. inheritance.
Polymorphism is the ability for a message or data to be processed in more than one form.
A. object creation.
B. object formation.
C. instantiation.
D. instant object.
An object is an instance of a class. It is the root of class hierarchy and the process of creating it is called instantiation.
A. class.
B. object.
C. group.
D. module.
Object is the root of class hierarchy. It is a discrete entity with some characteristics and behaviour.
A. module.
B. abstraction.
C. polymorphism.
D. data.
Grouping a number of functions together into a larger entity is called module.
A. module.
B. class.
C. data.
D. methods.
A class is a group of objects that share common properties and relationships. It represents a group of similar objects.
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.
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.
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 -
·
·
·
·
·
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.
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.
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.
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.
A. modular programming.
B. procedural programming.
C. object based programming.
D. object-oriented programming.