MidTerm Papers Solved MCQS with Reference (1 to 22 lectures)




MidTerm Papers Solved MCQS with Reference (1 to 22 lectures)

1. The structure in which another list starts before the first list is finished is called .

o Multiple List

o Nested List PG # 52
o Ordered List

o Un-ordered List

2. retains its information when the power of the system is turned off.

o RAM

o DIMM

o ROM PG # 25
o SIMM


Read Only Memory is non-volatile, turning off the computer doesn't erase it.
 



3. represents element(s) of flow chart.

o Only start

o Only stop

o Both start and stop PG # 105
o Connector

4. Software development starts from and ends with .

o Design, Coding

o Concept, Designing

o Coding, Testing

o Concept, Decommissioning PG # 134
5. For drawing charts on the basis of mathematical calculations, which of the following software is considered most efficient and easiest choice?

o Spreadsheet

o Word Processor
o Database Management System

o Dreamweaver

6. Language of the microprocessor is called

o HTML

o COBOL

o FORTRAN

o INSTRUCTION SET PG # 36
 

7. language cannot be executed without an interpreter.


o FORTRAN

o Pascal

o LISP
o C#

8. is the first phase in the development process of a software application.

o Concept and Feasibility PG # 60
o Implementation

o Design

o User Requirements

9. Which of the following software category is used to attain something productive as opposed to games or entertainment software?

o System Software

o Application Software
o Programming Software

o Productivity Software

10. Notepad is an example of 

o System Software

o Application Software
o Device Driver

o Kernal
 

11. CPU uses to store the intermediate and final results of its arithmetic and logical operations.

o Registers

o Hard Disk

o Bus

o FPU PG # 35
12. All processes of a microprocessor are processed under the supervision of .

o Memory Unit

o Floating Point Unit

o Control Unit
o Arithmetic and Logic Unit

13. Choose the correct sequence of technologies used in the evolution of computer from starting to today.

o Mechanical, Electro mechanical, Vacuum Tubes, Transistors PG # 317

o Electro mechanical, Mechanical, Vacuum Tubes, Transistors

o Electronic, Mechanical, Electro mechanical

o Mechanical, Electrical, Quantum Computing, Transisters

Progression of Computer Technology
1. Mechanical computing
2. Electro-mechanical
3. Vacuum tube
4. Transistor
5. Quantum computing

14. Which one of the following is not true for ICs?

o Consume less power

o Require low manufacturing cost

o Small in size

o Have no categories
 

15. The Web Pages developed for human as well as computer understanding are called as .

o Static Web Pages

o Semantic Web Pages
o Dynamic Web Pages

o Java Web Pages

16. Web is a unique invention by humans in terms of it is:

o accessible to all humans
o accessible to only the educational institutes

o accessible to only the owners who control it

o accessible from particular locations only

17. In order to refer to an object’s property is used.

o Comma

o Asterisk

o Dot
o Ampersand

18. I am following a procedure to solve a problem. My selected procedure is not giving the right answer on each time but giving nearly right answer. The procedure can be called as .

o Deterministic Algorithm

o Heuristic Algorithm PG # 102

o Greedy Algorithm

o Randomized Algorithm
 

19. Which one of the following is the correct code syntax in JavaScript?

o onmouseover

o OnMouseOver

o onMouseOver PG # 97
o onMouseover

20. The term “Identifier” in JavaScript refers to .

o Value of a variable

o Name of a variable PG # 195
o A key word

o Type of a variable

Identifiers are names used by JavaScript to refer to variables (as well as objects, properties, methods, and functions!)

21. Total number of elements in flow chart are .

o 5

o 6

o 7 PG # 105
o 8

22. The name of computer language used by the Defense Department of the United States is .

o Smalltalk

o C

o C++

o Ada PG # 9


Ada: A programming language specifically designed by the US Dept of Defense for developing military applications was named Ada to honor her contributions towards computing.
 

23. "Postal address" plays an important role in the postal service; similarly also plays an important role in the world of Internet.

o Intranet

o Internet connection

o URL PG # 18
o Browser

24. There are so many web browsers available with Graphical User Interface these days. Which one of the following is the oldest GUI based web browser.

o IE

o Mozilla

o Mosaic Click here for more detail
o Opera

25. <p> </p> is an example of:

o Single Tag

o Paired Tag
o Single with Attribute Tag

o Single without Attribute Tag

26. The number of steps required to execute an algorithm can be used to measure .

o Space

o Time PG # 101
o Memory

o Bandwidth
 

27. You are asked to pick two things from different types of things like jewelry, mobile phones and cars. Which algorithm will be best suited in this situation to get maximum benefits?

o Deterministic Algorithm

o Non Deterministic Algorithm

o Greedy Algorithm

o Randomized Algorithm

28. Just like JavaScript, was used for writing script.

o FORTRAN

o QBasic

o Perl
o JAVA

29. Which device can act as an Input and Output device at the same time?

o Monitor

o Modem PG # 25
o Projector

o Scanner

Modem is output as well as input device at the same time. It receives the data (analog signal) coming through telephone line, converts them to digital signals and sends them to computer to which it is attached. It also receives the data from computer and changes it to analog signals.

30. The contribution of Ada to Analytical Engine was?

o A design

o Testing

o A program PG # 9
o Binary system
 

31. are the best choice for showing data generally needed to be expressed in percentage.

o Line Charts

o Area Charts

o Bar Charts

o Pie Charts PG # 154
32. Which one of the following will not be considered as the use of Word Processor?

o Composing Magazines

o Writing Memos

o Writing Research Reports

o Making Ledgers
33. The text written in between is only displayed on the webpage.

o <BODY/></BODY>

o <BODY></HEAD>

o <HEAD></HEAD>

o <BODY></BODY>
34. was known as “mill” in Analytical engine.

o Memory

o Processor

o Monitor

o Punched Card
 


35. represents the element of flow chart.

o Proces

o Input PG # 105
o Display

o Connector

36. converts the source code written in high level language into machine language code.

o Utilities

o Drivers

o Language Translator PG # 61
o System Software

37. Select the variable name which is invalid in JavaScript:

o While PG # 145
o sum

o _sum

o cs_101

do not name a variable as “while”. When the browser sees this term in JavaScript code, it will get confused as it already knows this keyword as part of a loop statement. Same is the case for “var” or “if” or any of the other keywords.

38. JavaScript stores all numbers as .

o Integers

o Floating point numbers PG # 147
o String

o Dynamic typed
 

39. Which one of the following is not the building block of an algorithm?

o Processes PG # 106
o Sequences

o Repetitions

o Conditions

40. Which of the following symbol is used in JavaScript to add multiple line comments in a program?

o /

o //

o /* PG # 149
o //*

41. To make a text bold in html, the tag is used:

o <BR> </BR>

o <BOLD> </BOLD>

o <B> </B> PG # 269
o <BODY> </BODY>

42. The effect of paragraph tag (<P></P>) in a webpage, is that it:

o Brings the cursor to the next line
o Brings back the cursor to the previous line

o Brings the cursor to the next after next line

o Keeps the cursor in the same line
 

43. Mr. Abdullah has to go from Lahore to Islamabad. He decided to go by Motorway instead of going by GT Road because he wanted to reach there as soon as possible. "What sort of algorithm will he apply?

o Greedy Algorithm

o Deterministic Algorithm

o Randomized Algorithm

o Heuristic Algorithm

44. An algorithm developed to deal with a particular situation is giving the desired results but taking long execution time. It will be called as .

o Monte Carlo algorithm

o Greedy algorithm

o Deterministic algorithm

o Heuristics
45. If we apply the Bubble Sort algorithm on an array of 4 elements, then what will be the number of comparisons in the first pass?

o 5

o 4

o 3
o 2

46. In the evolution of computing, paid its major contribution by introducing PCs.

o Microsoft

o Apple Macintosh

o IBM
o HP
 

47. To start an ordered list from 20 instead of 1, the correct option will be .

o <OL begin = “20">

o <OL initiate = “20">

o <OL start = „„20"> Click here for more detail
o <OL from = “20">

48. For computers, number system is natural.

o Decimal

o Octal

o Binary PG # 42
o Hexadecimal

49. Analytical Engine used for storing data.

o Floppy Disk

o Magnetic Tape

o Punched Cards
o Hard Disk

50. Command which saves the selected text before deleting is .

o Copy

o Delete

o Cut
o Undo

Cut out the selected text. (Copy selected text to the clipboard before deleting it.)
 

51. Choose the right extensions for saving a web page.

o .index, *.doc

o .xls,*. cvs

o .html,*.htm
o .jpg, * .bmp

52. Microphone lies in the category of devices.

o Output

o Input Click here for more detail
o Both Input and Output

o Storage

Microphone is an input device to input sound that is then stored in a digital form. The microphone is used for various applications such as adding sound to a multimedia presentation or for mixing music.

53. Choose the correct html format to create a checkbox.

o <checkbox>

o <input type = “checkbox”> PG # 76
o <check>

o <input type = “check”>

54. is the memory that does not retain the data, when electric power goes off.

o RAM PG # 24

o ROM

o Hard Disk

o CD ROM

The data in RAM stays there only as long as your computer is running. When you turn the computer off, RAM loses its data.
 
55. In software development, process, normally the coding phase consumes time of the whole duration required for the development.

o 15 %
o 80 %

o 75 %

o 50 %

56. If you are asked to provide an algorithm for a particular problem, then in how many ways you can represent the algorithm?

o 1

o 2

o 3 PG # 104
o 4

Pseudo code , Flowcharts , Actual code



57.
Output in cell D4 due to logical expression will be:

o True
o False

o 65

o An error message

58. What will happen if I start a new list without closing the original one?

o An error will be generated

o A nested list will be created PG # 51 , 52
o Previous list will end and a new will start.

o Nothing will happen
 

59. provide the facility of data manipulation through references instead of the actual values.

o Constants

o Variables
o Data Types

o Operators

60. Relationship among the cells of MS Excel sheet can be created by .

o Relationship diagram

o Formatting

o Formula PG # 221
o Test

61. You cannot close Microsoft Word 2003 by .

o Choosing File menu then Exit command

o Pressing Alt+F4

o Clicking X button on title bar

o Choosing Close submenu from File menu
62. Which of the following is a single tag in HTML?

o TH

o TD

o HR
o TR
 

63. can execute a single program faster than a mainframe.

o Supercomputers PG # 21
o Laptops

o Personal Computers

o PDA

64. Language translator is a computer .

o Program PG # 61
o Hardware

o Internet Browser

o Mobile device

65. Which of the following memory is the fastest?

o Hard Disk

o Registers

o RAM PG # 24
o USB Disk

RAM is much faster to read from and write to than the other kinds of storage in a computer, the hard disk, floppy disk, and CD-ROM.

66. Which of the following is/are Word Processing software?

o Word Perfect

o StarOffice

o MS Word

o All of the Above
 

67. Which one of the following is not a valid value for the “type” attribute of <INPUT> tag?

o Password

o Reset

o Width PG # 92
o Submit

Possible Values for the “type” Attribute of <INPUT> tag : text ,password, hidden, checkbox, radio, file, reset, submit.

68. To allow a user for multiple selection from a list on a webpage, the web developer makes use of
  .

o Check box
o Text box

o Radio button

o Text area

69. Select the voltage combination, not supported by PC's power supply.

o +3.3 and +5 V DC

o -12 and +12 V DC

o -10 and +10 V DC
o -5 and + 5 V D C

70. Write the name of tag(s) that can be used to select only one option from multiple choices.

o SELECT and LIST

o RADIO and TEXT AREA

o SELECT and RADIO
o CHECKBOX
 

71. Choose the correct HTML tag for the largest heading.

o <head>

o <Heading>

o <h1> Click here for more detail
o <h6>

The <h1> to <h6> tags are used to define HTML headings. <h1> defines the most important heading. <h6> defines the least important heading

72. Graphics creation in JavaScript is .

o Easy

o Difficult

o Simple

o Not Possible PG # 264

JavaScript doe sn’t support drawing of graphics

73. Computer works same like a human but in , computer can’t work well than a human.

o Speed

o Accuracy

o Image recognition
o Storage

74. What is the shortcut key to open the cell format window in MS Excel?

o Ctrl + 1
o Ctrl + F

o Ctrl + 4

o Ctrl + Shift + Enter
 

75. In developer specification phase, the user requirements are defined in a more way.

o Structured
o Ambiguous

o Unstructured

o Difficult

76. How many symbols are used in Binary Number System?

o 10

o 2 PG # 39
o 8

o 16

77. Which of the following software is the best suited to tie together all important activities and major systems of an organization into a single software system?

o DSS

o OS

o ERP PG # 83
o MMS

78. If someone wants to develop a web page then which one of the software from the following list will be his / her preference?

o Spreadsheet

o Word processor

o MS Outlook

o Dreamweaver
 

79. Which of the following is Not a type of RAM?

o SIMM

o ROM
o DIMM

o DDR

80. Which of the following is Not a type of RAM?

o BIOS
o SIMM

o DIMM

o DDR

81. is considered the first electronic digital computer.

o ABC PG # 14

o UNVAC 1

o Harvard Mark 1

o ENIAC

The Atanasoff-Berry Computer was the world's first electronic digital computer. It was built by John Vincent Atanasoff and Clifford Berry at Iowa State University during 1937-42.

82. A software that allows an operating system to interact with a hardware device is called .

o Compiler

o Linker

o Driver PG # 61
o Kernel
 

83. If a user is using CGI script on a UNIX server, then the script type is called .

o Client side scripting

o Server side scripting PG # 71
o Stand-alone scripting

o GUI scripting

84. Today’s fastest computer can do of calculations in a second.

o Thousands

o Billions

o Trillions PG # 21
o Millions

85. When we run a program in a computer, the actual execution of the program takes place in .

o RAM

o ROM

o Microprocessor

o Hard Disk

86. Processing speed of a super computer is measured in .

o Giga Hertz

o Millions of instructions per second

o Trillions of floating point instructions per second
o Mega bytes
 

87. Which one of the following is not a suitable option when we talk about JavaScript language?

o Object based language

o Markup language PG # 96
o Interpreted language

o Event driven language

88. The default style of text to represent a hyper link in a web page is .

o Red and Italic

o Black and Underlined

o Green and Bold

o Blue and Underlined
89. A developer analyses the user's requirements, performs further investigation, and produces unambiguous specifications in step.

o Planning

o Users Requirements

o Designing

o Developer Specifications PG # 136
90. computers have low power consumption processors.

o Personal

o Laptop

o Super

o Main Frame
 

91. A new cell is added in a table row by using tag in html.

o <BR>…</BR>

o <TR>…. </TR>

o <TD> . . . </TD>
o <TABLE> . . . </TABLE>

92. Anti Virus software is a kind of .

o Utility Program PG # 61
o System Software

o Device Driver

o Freeware

93. If there are multiple programs running on my PC having windows XP, then it refers to:

o Multi User

o Single User

o Single user, Multitasking
o Multiuser, Multiprocessing

94. Suppose a web developer wants to permit the user to make multiple selections from the list of 5 options on a web page. Which type of element will he use for this situation?

o Check box
o Text box

o Radio button

o Text, area
 

95. Which operator is used to complement the given value?

o OR

o NOR

o AND

o NOT
96. Usually there is only a single hard drive in a computer but you can insert hard drives in a modern PC.

o Only One

o Only Two

o Only Three

o More than three
97. Video card has its own and processor.

o Network Card

o Memory Click here for more detail
o Serial Port

o Power Supply

98. Battery on the motherboard of a computer is used to .

o Give power to the processor

o Save time and BIOS information, when computer is off Click here for more detail

o Turn on the CPU lights

o Increase the processor speed

The motherboard’s battery is used for low-level system functions like powering the real-time clock and storing a computer’s BIOS settings. On newer computers, the battery may only be used for the clock.
 

99. Punched Cards were invented first time for the purpose of .

o Calculation

o Entering Patterns in Textile Looms

o Storing Data
o Playing Cards

100. If we use <INPUT type= “password” > in HTML, what will happen?

o Text will not be visible

o Text will be in normal format

o Text will be in **** format
o Text will be in #### format

The characters in a password field are masked (shown as asterisks or circles).

101. is the essential property of every JavaScript object.

o Color

o Width

o Name
o Size

102. A program designed to activate an alarm after every two hours is the example of .

o Batch Program

o Event Driven Program

o Time Program

o Real Time Program
 

103. The communication line between the CPU, memory and peripherals is called as

o RAM

o BUS
o FPU

o ALU

104. is / are more suitable technique (s) for a developer to use in order to construct the actual code of a software.

o Pseudo code PG # 117
o Flow chart

o Algorithm

o Heuristics

105. UNIVAC contained vacuum tubes and was able to process instructions per second.

o 5000, 5000

o 19000, 5000

o 5000, 2000 Click Here for more detail
o 19000, 2000

UNIVAC I used 5,000 vacuum tubes weighed 16,000 pounds (7.3 metric tons), consumed 125 kW, and could perform about 1,905 operations per second running on a 2.25 MHz clock.

106. The microprocessors that do not have a separate unit to handle floating point data are .

o Not able to handle floating point operations

o Slower than other microprocessors PG # 35
o Costly than other microprocessors

o Not invented yet
 

107. Which of the following is not a peripheral device for a computer?

o USB

o Printer

o Scanner

o Power Supply Unit
A peripheral device connects to a computer system to add functionality. Examples are a mouse, keyboard, monitor, printer and scanner.

108. Which of the following computer can be considered as a portable computer?

o PC PG # 21
o Mainframe

o PDA

o Supercomputer

Portable computer is a personal computer that is designed to be easily transported and relocated, but is larger and less convenient to transport than a notebook computer. The earliest PCs designed for easy transport were called portables.

109. Which computer category is widely used in our daily life?

o Super Computer

o Main Frame

o Personal Computer
o Laptop

110. is a programming language which was specifically designed to develop business applications.

o BASIC

o FORTRAN

o COBOL Click here for more detail
o Perl
 

111. In MS Excel ∑ sign represents:

o The AutoCorrect button

o The AutoFormat button

o The AutoSum button
o The conditional formating button

112. operator is used to assign values to JavaScript variables.

o Comparison

o Binary

o Assignment Click here for detail
o Logical

113. Computers loses accuracy for a task after doing that task for:

o One millions of times

o One billions of times

o One trillions of times

o Computer never loses accuracy
114. There are tags in html.

o Only Single

o Only Paired

o Single and Paired
o Multiple

In HTML, there is a division of tags on a single (not paired) and paired tags. So, a single HTML tags consist of a single tag, that is, they have no closing tag. And paired descriptors have opening and closing tag.
 

115. If you have to draw some charts on the basis of mathematical calculations then which one of the software from the following list will be your preference?

o Spreadsheet

o Word Processor
o Database Management System

o Dreamweaver

116. Which of the following is not a type of page margin in MS Word?

o Left

o Right

o Centre
o Top

117. A is the key part in all the modern aged electronic equipments.

o Diode

o Resister

o Capacitor

o Transistor
118. A is the key part in all the modern aged electronic equipments.

o Vacuum tubes

o Heating fan

o Electro-mechanical device

o Transistor
 

119. is collection of directories, sub-directories and their organization in a logical order.

o File System PG # 66
o Process Management

o Hardware functionality

o Folder indexing

120. The "page title tag" is written inside the tag.

o Body

o Head PG # 28
o Meta

o Script

121. determines whether the development process should go forward or not.

o Feasibility assessment

o Opportunity identification

o System evaluation

o Program specification

122. My friend claims to have a better algorithm than the existing one. We can say his algorithm is better than the existing algorithms if it is .

o Easier to analyze and easier to implement
o Easier to analyze but difficult to implement

o Difficult to analyze and difficult to implement

o Difficult to analyze but easier to implement.
 

123. If a computer could pass the Turing test then it would be able to:

o Win a million dollar prize

o Think like human beings PG # 13
o Think but slower than humans

o Do the things faster

124. The left most digits in a Binary Number is called and right most digit is called
  .

o Least significant, middle significant

o Least significant, most significant

o Most significant, least significant PG # 41
o Left significant, right significant







125. Web standards are being developed by .

o Mozilla

o Microsoft

o IBM

o Worldwide Web Consortium Click here for more detail
 

126. The man power, technical resources and duration required to develop a purposed system are estimated in
  phase.

o Testing

o Feasibility
o Planning

o Designing

127. Select the best option in the context of HTML and JavaScript.

o Both are case sensitive

o Both are not case sensitive

o JavaScript is case sensitive but HTML is not PG # 20
o HTML is case sensitive but JavaScript is not

128. I developed an algorithm myself But after testing it deeply, I found it syntactically excellent but semantically not well, this situation is .

o Very good

o Very dangerous PG # 104
o Not very bad

o Neutral

An algo. can be syntactically correct, yet semantically incorrect – very dangerous situation!
129. Base of the octal number system is .

o 2

o 16

o 7

o 8 PG # 39
 

130. While writing Pseudo code of an algorithm, there are rules to follow.

o Standard

o No standard PG # 117
o Strict

o Pre-defined

Unlike flowcharts, no standard rules exist for writing pseudo code

131. Preliminary exploration of possible solutions, technologies and suppliers is called .

o Designing

o Feasibility PG # 135
o Planning

o Integration

132. In the context of computer evolution, was built to help University to solve the .

o ENIAC, artillery tables

o UNIVAC, numeric and textual information

o ABC, Simultaneous linear equations

o Harvard Mark 1, gunnery and ballistic calculation PG # 14
133. Which one of the following devices acts as the main controller of a computer system?

o CPU PG # 36

o RAM

o ROM

o Hard drive
 

134. Which one of the following is not an Application Software?

o Word Processor

o Web Browser

o Microsoft Windows
o MS Excel

135. Which of the following is not an Operating System?

o DOS

o Windows XP

o Linux

o MS Access PG # 60 & 61
136. In the context of JavaScript, x in the statement x=x+20; is a(an) .

o Constant

o Object

o Variable PG # 143
o Integer

137. In , up gradation/ repair is possible without switching off the computer.

o Super Computer

o Main Frame

o Server

o Laptop
 

138. A lot of information is available over the internet, we can access that information by using an application called
  .

o URL

o Browser PG # 18
o HTML

o Compiler

139. Concatenate Operator in JavaScript is used to elements.

o Subtract

o Multiply

o Join PG # 271
o Add

140. In html, the text area tag (<textarea>) defines:

o A multi-line text input control PG # 92
o An input control

o Html form for the user input

o A group of related options in a selected list

141. Forms can be submitted through and methods.

o Include, Post

o Include, Get.

o Get, Post PG # 71
o Send , Post

method: Forms can be submitted through two alternate methods – GET & POST
 

142. What will be the result of the following formula in Spreadsheet application? SUM (A2:A3)= (Assume that A2 = 25, A3 = -75)

o 50

o 100

o 25

o -50

143. is used to terminate JavaScript statements.

o Colon

o Semicolon PG # 149
o Apostrophe

o Double quotes

Terminate all JavaScript statements with a semicolon. It is not always necessary, but highly recommended.

144. Anchor tag is used to create:

o Address

o Hyperlink Click here for more detail
o Paragraph

o Title


The <a> tag defines a hyperlink, which is used to link from one page to another.

145. brought the use of mouse-driven graphical user interface in computing.


o Apple Macintosh PG # 16

o Microsoft

o HP

o IBM
 

146. If type attribute of INPUT tag is set to "reset”, then it will:

o Save all the data

o Set the shape of all the fields

o Set all fields to their default values PG # 79
o Do nothing; you have to write code for it

147. Select the correct tag pair from the followings.

o <HEAD> </HEAD>
o <HEAD> <END>

o <HEAD> </BODY>

o <\HEAD> <\\HEAD>


148.
This element of Flow Chart is called .

o Process

o Off-page connecter PG # 105
o Decision

o Connector

149. In a truth table, we have all the for all the related for a function.

o Input – Outputs

o Outputs – Inputs PG # 44
o Process – Inputs

o Inputs – Processes

A truth table defines the output of a logic function for all possible inputs.
 

150. attribute of FORM tag is used to mention a URL when the form is being submitted.

o Name

o Action PG # 71
o Method

o Submit

action: Specifies the URL that is accessed when the form is being submitted



0 comments:

Post a Comment