You are on page 1of 797

CS101-Introduction to Computing

All Solved MCQS With References In One File.

Spring 2010
CS101- Introduction to Computing

1
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 1 ( Marks: 1 ) - Please choose one

Vacuum tubes were replaced by ___

► Punch cards

► Transistors

► Micro Processors

► Resistors

Page 14 .Prior to the transistor the only alternative to its current regulation
and switching functions (TRANSfer resISTOR) was the vacuum tubes

Question No: 2 ( Marks: 1 ) - Please choose one

Hexadecimal number system is based on -------------------- digits

►2

►8

► 12

► 16

Page 39

2
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 3 ( Marks: 1 ) - Please choose one

Java script interact with user through______________

► Special control

► Internet explorer

► Event handlers

► Java script does not interact with user

The most compelling reason people have to use JavaScript for web pages are
to allow interaction with users.

http://www.bellaonline.com/articles/art39576.asp

Question No: 4 ( Marks: 1 ) - Please choose one

Which one is correct for JavaScript?

► onMouseOver

► OnMouseOver

► onmouseover
3
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► All of the given

JavaScript understands onMouseOver – it is one of the pre-defined keywords in


JavaScript

Page 97:

Question No: 5 ( Marks: 1 ) - Please choose one

Programs that reside on Web servers and receive info that a user enters in a form,
are known as:

► Server-Side Scripts

► Client-Side Scripts

► Super Scripts

► Form Scripts

Page 94: Are programs that reside on Web servers


Receive info that a user enters in a form
Process that info and take appropriate action
Examples:
CGI scripts on UNIX servers
ASP scripts on Windows servers

Question No: 6 ( Marks: 1 ) - Please choose one

4
CS101-Introduction to Computing
All Solved MCQS With References In One File.

The ______ is connected to all other modules of the microprocessor.

► Control unit

► Memory unit

► Floating Point unit

► Arithmetic and Logic unit

Page 36: A control unit is the part of a CPU or other device that directs its operation. The
outputs of the unit control the activity of the rest of the device. A control unit can be
thought of as a finite state machine.

Question No: 7 ( Marks: 1 ) - Please choose one

WWW stands for:

► Wide World Web

► World Wide Web

► World White Web

► World Web Wide

http://in.answers.yahoo.com/question/index?qid=20061023005113AALDWvC

Question No: 8 ( Marks: 1 ) - Please choose one


5
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Supercomputers are used in:

► Weather forecasting

► Aeroplane mnufacturing

► Atomic bomb experiments

► All of the given choices

http://mason.gmu.edu/~tbell5/page5.html

Question No: 9 ( Marks: 1 ) - Please choose one

Which one of these is NOT an example of storage devices?

► Tape

► RAM

► Floppy

► DVD
Page 25:

Question No: 10 ( Marks: 1 ) - Please choose one

To display a checkbox on the web page, we use ___ tag

► CHECKBOX

6
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► CHECK

► INPUT

► INPUTBOX
Page 92:
Possible Values for the “type” Attribute of <INPUT> tag text
Password hidden checkbox radio file reset submit

Question No: 11 ( Marks: 1 ) - Please choose one

Users communicate with the computer using a consistent user interface provided by the OS.

► True

► False

A user interface is the system by which people (users) interact with a machine.

http://en.wikipedia.org/wiki/User_interface

Question No: 12 ( Marks: 1 ) - Please choose one

OO software is all about _____________.

► Behaviors

► Methods
7
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Properties

► Objects

Object-oriented programming (OOP) is a programming paradigm using "objects"

http://en.wikipedia.org/wiki/Object-oriented_programming

Question No: 13 ( Marks: 1 ) - Please choose one

Web standards are being developed by

► Mozilla

► Microsoft

► IBM

► World Wide Web Consortium


Page 16:

Question No: 14 ( Marks: 1 ) - Please choose one

_________ are great for showing parts of a whole that are generally expressed in
percentages.

► Line Charts

8
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Pie Charts

► Bar Charts

► None of the options described

Page 154:

Question No: 15 ( Marks: 1 ) - Please choose one

A diode is a __________terminal device

9
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Three

► Two

► One

► None of above

Page 32: The basis of all semiconductor components is the pn junction.

http://electroniccircuitsforbeginners.blogspot.com/2010/11/diode-most-basic-
semiconductor-device.html

Question No: 16 ( Marks: 1 ) - Please choose one

Select the attribute of the <form> tag

► Method

► Action

► Value

► All of above
Page 74:

Review of the Tags Used in Forms


<FORM>
name=“nameOfTheForm”
10
CS101-Introduction to Computing
All Solved MCQS With References In One File.

method=“get” or “post”
action=“URL”

MIDTERM EXAMINATION
Fall 2008
CS101- Introduction to Computing (Session - 2)

Question No: 1 ( Marks: 1 ) - Please choose one


_______ consists of cells arranged in rows & columns
_ Spreadsheets Software
_ Word processor
_ Presentation Software
_ Microsoft Paint Software

Page 83:
13.17 Spreadsheet SW (2)
Consist of cells arranged in rows and columns

Question No: 2 ( Marks: 1 ) - Please choose one


_________ manages the HW and SW resources ( memory, disk drives etc) of the
computer
system, often invisibly.
_ Explorer.exe
_ System Files
_ Operating System
_ Application Software

page 61:

Question No: 3 ( Marks: 1 ) - Please choose one


Forms can be submitted through _______ & _______ methods
_ INCLUDE, POST
_ INCLUDE, GET
_ GET, POST
11
CS101-Introduction to Computing
All Solved MCQS With References In One File.

_ SEND, POST

Question No: 4 ( Marks: 1 ) - Please choose one


To display a checkbox on the web page, we use ___ tag
_ CHECKBOX
_ CHECK
_ INPUT
_ INPUTBOX
Repeated:
Page 92:
Possible Values for the “type” Attribute of <INPUT> tag
text
password
hidden
checkbox
radio
file
reset
submit

Question No: 5 ( Marks: 1 ) - Please choose one


You
can ________ from/to a website containing interactive forms.
_ Only read
_ Only write
_ Read and write
_ Not read and write
Question No: 6 ( Marks: 1 ) - Please choose one
There is a battery on the motherboard to:
_ Give power to the processor
_ Save information when computer is off
_ Save information when computer is on
_ Give power to the motherboard

12
CS101-Introduction to Computing
All Solved MCQS With References In One File.

http://www.kids-online.net/learn/clickjr/details/bat.html
The motherboard battery is used to preserve the computer's time and BIOS
settings while the computer is turned off.

Question No: 7 ( Marks: 1 ) - Please choose one


We
can change the background color in HTML, using ___ attribute of <body>
_ background
_ bgcolor
_ backcolor
_ backgroundcolor

Page 125:

Question No: 8 ( Marks: 1 ) - Please choose one


___
contains the name of the protocol required to access the resource, a domain name
that identifies a
specific computer on the internet and a pathname on the computer
_ HTML
_ HTTP
_ URL
_ WWW

Page 16:

Question No: 9 ( Marks: 1 ) - Please choose one


______ is a client program that uses HTTP to make requests to Web servers
throughout the
internet on behalf of the user.
_ Web Application
_ Web Browser
_ Internet Application
_ HTML

13
CS101-Introduction to Computing
All Solved MCQS With References In One File.

See the Lecture 3:

Question No: 10 ( Marks: 1 ) - Please choose one


WWW stands for:
_ Wide World Web
_ World Wide Web
_ World White Web
_ World Web Wide

page 18:

Question No: 11 ( Marks: 1 ) - Please choose one


The
weaknesses of the computer are:
_ Pattern recognition & Storage
_ Speed & Innovative ideas
_ Pattern recognition & Innovative ideas
_ Speed & Storage

MIDTERM EXAMINATION
Fall 2008
CS101- Introduction to Computing (Session - 2)

Question No: 1 ( Marks: 1 ) - Please choose one


_______ consists of cells arranged in rows & columns
_ Spreadsheets Software
_ Word processor
_ Presentation Software
_ Microsoft Paint Software

Page 83:
13.17 Spreadsheet SW (2)
Consist of cells arranged in rows and columns

14
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 2 ( Marks: 1 ) - Please choose one


_________ manages the HW and SW resources ( memory, disk drives etc) of the
computer
system, often invisibly.
_ Explorer.exe
_ System Files
_ Operating System
_ Application Software

page 61:

Question No: 3 ( Marks: 1 ) - Please choose one


Forms can be submitted through _______ & _______ methods
_ INCLUDE, POST
_ INCLUDE, GET
_ GET, POST Sure
_ SEND, POST

Question No: 4 ( Marks: 1 ) - Please choose one


To display a checkbox on the web page, we use ___ tag
_ CHECKBOX
_ CHECK
_ INPUT
_ INPUTBOX
Repeated:
Page 92:
Possible Values for the “type” Attribute of <INPUT> tag
text
password
hidden
checkbox
radio
file
reset
submit

15
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 5 ( Marks: 1 ) - Please choose one


You
can ________ from/to a website containing interactive forms.
_ Only read
_ Only write
_ Read and write
_ Not read and write
Question No: 6 ( Marks: 1 ) - Please choose one
There is a battery on the motherboard to:
_ Give power to the processor
_ Save information when computer is off
_ Save information when computer is on
_ Give power to the motherboard

http://www.kids-online.net/learn/clickjr/details/bat.html
The motherboard battery is used to preserve the computer's time and BIOS
settings while the computer is turned off.

Question No: 7 ( Marks: 1 ) - Please choose one


We
can change the background color in HTML, using ___ attribute of <body>
_ background
_ bgcolor
_ backcolor
_ backgroundcolor

Page 125:

Question No: 8 ( Marks: 1 ) - Please choose one


___
contains the name of the protocol required to access the resource, a domain name
that identifies a

16
CS101-Introduction to Computing
All Solved MCQS With References In One File.

specific computer on the internet and a pathname on the computer


_ HTML
_ HTTP
_ URL
_ WWW

Page 16:

Question No: 9 ( Marks: 1 ) - Please choose one


______ is a client program that uses HTTP to make requests to Web servers
throughout the
internet on behalf of the user.
_ Web Application
_ Web Browser
_ Internet Application
_ HTML

See the Lecture 3:

Question No: 10 ( Marks: 1 ) - Please choose one


WWW stands for:
_ Wide World Web
_ World Wide Web
_ World White Web
_ World Web Wide

page 18:

Question No: 11 ( Marks: 1 ) - Please choose one


The
weaknesses of the computer are:
_ Pattern recognition & Storage
_ Speed & Innovative ideas
_ Pattern recognition & Innovative ideas
_ Speed & Storage
Question No: 12 ( Marks: 1 ) - Please choose one
17
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Floating point unit is also known as _________ unit


_ Real
_ Integer
_ Numeric
_ Fractional
Question No: 13 ( Marks: 1 ) - Please choose one
Programs that reside on Web servers and receive info that a user enters in a form,
are known as:
_ Server-Side Scripts Page 71:
_ Client-Side Scripts
_ Super Scripts
_ Form Scripts
Question No: 14 ( Marks: 1 ) - Please choose one
-----
------- is volatile memory
_ RAM page 25
_ ROM
_ Hard Disk
_ CD ROM
Question No: 15 ( Marks: 1 ) - Please choose one
What will be the result of the following formula in Spreadsheet application ?
SUM(A2:A3) =_________(Assume that A2 = 25 A3 = 75)
_ 25
_ 50
_ 75
_ 100

18
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 16 ( Marks: 1 ) - Please choose one


VisiCalc was the first popular _______application on PC’s.
_ Spreadsheet Page 151
_ Word processor
_ Presentation
_ Database
Question No: 17 ( Marks: 1 ) - Please choose one
____________ is a system software that converts the source code written in high
level language
into machine language code.
_ Utilities
_ Drivers
_ Language Translator Page 59
_ None of the these
Question No: 18 ( Marks: 1 ) - Please choose one
What happens if I start a new list without closing the original one?
_ An error will be generated
_ A nested list will be created Page 52
_ Previous list will end and a new will start.

19
CS101-Introduction to Computing
All Solved MCQS With References In One File.

_ Nothing will happen


Question No: 19 ( Marks: 1 ) - Please choose one
__________ is a program that executes instructions line by line written in a high-level
language.
_ Interpreter Page 130, 131
_ Compiler
_ Predictor
_ Executor
Question No: 20 ( Marks: 1 ) - Please choose one
There are_________________ rules to write the Pseudo Code.
_ Standard
_ No standard Page 109.
_ Strict
_ Pre-defined
Question No: 21 ( Marks: 1 ) - Please choose one
Which one is not the building block of an algorithm?
_ Statements Page 107
_ Sequences
_ Repetitions
_ Conditionals
Question No: 22 ( Marks: 1 ) - Please choose one
In flow charts, there is only one entry point in conditions while there
is/are__________ exit points.
_1
_ 2 I think True and False two conditions are found.
_3
_4
Question No: 23 ( Marks: 1 ) - Please choose one
A procedure that usually but not always works or that gives nearly the right answer is
called_____________
_ Deterministic Algorithm
_ Heuristic Algorithm Page 102
_ Greedy Algorithm
_ Randomized Algorithm
Question No: 24 ( Marks: 1 ) - Please choose one
A Modem is a kind of ___
_ Input device
20
CS101-Introduction to Computing
All Solved MCQS With References In One File.

_ Output device
_ Storage device
_ Input and Output device Page 25
Question No: 25 ( Marks: 1 ) - Please choose one
The
memory size of the Altair 8800 was
_ 128 bytes
_ 128 Kilo bytes
_ 256 Kilo bytes
_ 256 bytes Page 15
Question No: 26 ( Marks: 1 ) - Please choose one
---------- was known as “mill” in Analytical engine.
_ Memory
_ Processor
_ Monitor
_ Mouse

MIDTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing

Question No: 1 ( Marks: 1 ) - Please choose one

Vacuum tubes were replaced by

► Punch cards

► Transistors Lecture 2

► Micro Processors

► Resistors

21
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 2 ( Marks: 1 ) - Please choose one

Hexadecimal number system is based on -------------------- digits

►2

►8

► 12

► 16 Lecture 8

Question No: 3 ( Marks: 1 ) - Please choose one

Java script interact with user through

► Special control

► Internet explorer

► Event handlers

► Java script does not interact with user

22
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 4 ( Marks: 1 ) - Please choose one

Which one is correct for JavaScript?

► onMouseOver Lecture 15 (Web development 5)

► OnMouseOver

► onmouseover

► All of the given

Question No: 5 ( Marks: 1 ) - Please choose one

Programs that reside on Web servers and receive info that a user enters in a
form, are known as:

► Server-Side Scripts page 71 (Repeated)

► Client-Side Scripts

► Super Scripts

► Form Scripts
23
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 6 ( Marks: 1 ) - Please choose one

The is connected to all other modules of the microprocessor.

24
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Control unit Page 36

► Memory unit

► Floating Point unit

► Arithmetic and Logic unit

Question No: 7 ( Marks: 1 ) - Please choose one

WWW stands for:

► Wide World Web

► World Wide Web Page 16 (Repeated)

► World White Web

► World Web Wide

Question No: 8 ( Marks: 1 ) - Please choose one

Supercomputers are used in:

► Weather forecasting

► Aeroplane mnufacturing

► Atomic bomb experiments

25
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► All of the given choices Lecture 4

Question No: 9 ( Marks: 1 ) - Please choose one

Which one of these is NOT an example of storage devices?

26
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Tape

► RAM Sure Lecture 4

► Floppy

► DVD

Question No: 10 ( Marks: 1 ) - Please choose one

To display a checkbox on the web page, we use tag

► CHECKBOX

► CHECK

► INPUT Page 92

► INPUTBOX

Question No: 11 ( Marks: 1 ) - Please choose one

Users communicate with the computer using a consistent user interface provided by
the OS.

► True sure

► False

27
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 12 ( Marks: 1 ) - Please choose one

OO software is all about .

► Behaviors

28
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Methods

► Properties

► Objects

Question No: 13 ( Marks: 1 ) - Please choose one

Web standards are being developed by

► Mozilla

► Microsoft

► IBM

► World Wide Web Consortium

Question No: 14 ( Marks: 1 ) - Please choose one

are great for showing parts of a whole that are generally


expressed in percentages.

► Line Charts

► Pie Charts Page 154 Diagram (Repeated)

29
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Bar Charts

► None of the options described

Question No: 15 ( Marks: 1 ) - Please choose one

30
CS101-Introduction to Computing
All Solved MCQS With References In One File.

A diode is a terminal device

► Three

► Two page 32

► One

► None of above

Question No: 16 ( Marks: 1 ) - Please choose one

Select the attribute of the <form> tag

► Method

► Action

► Value

► All of above <form name=”” method=”” action=”” value=””> </form>

MIDTERM EXAMINATION Spring 2010


31
CS101-Introduction to Computing
All Solved MCQS With References In One File.

CS101- Introduction to Computing (Session - 4)

Question No: 1 ( Marks: 1 ) - Please choose one


Ada, Countess of Lovelace developed first:
► Computer
► Website
► Computer Program Lecture 1
► Analytical engine

Question No: 2 ( Marks: 1 ) - Please choose one


Charles Babbage was a/an
► Mathematician Lecture 1
► Computer Scientist
► Physician
► Analyst

Question No: 3 ( Marks: 1 ) - Please choose one


Detailed plan, specifying the required resources and expected deliverables, is done
in
phase.

► Planning
► User Requirements
► Design
► Developer Specification Page 136 Diagram.

Question No: 4 ( Marks: 1 ) - Please choose one


A computer program that facilitates the communication between the
computer and a peripheral device is called

► Operating system Sure


► Utilities
► Language Translator
► Device Drives

Question No: 5 ( Marks: 1 ) - Please choose one


32
CS101-Introduction to Computing
All Solved MCQS With References In One File.

To start an ordered list from 20 instead of 1, we will write

► <OL begin = “20">


► <OL initiate = “20">

► <OL start = “20"> page 53


► <OL from = “20">

Question No: 6 ( Marks: 1 ) - Please choose one


is the best known builder for supercomputers.

33
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Sun
► Cray Research p a g e 21
► Microsoft
► Apple

Question No: 7 ( Marks: 1 ) - Please choose one


Using COLSPAN, number of rows of the current cell should extend itself
► Upward
► Downward Page 56
► Both Upward and Downward
► None of the given choices

Question No: 8 ( Marks: 1 ) - Please choose one


Interactive forms are always placed
between ► Dynamic software
► TITLE
► HEAD ► Distributed software
► BODY
► HTML
Question No: 10 ( Marks: 1 ) -
Please choose one
Speakers fall into the hardware
category.
► True
► False

Question No: 11 ( Marks: 1 ) -


Please choose one
software directly
interacts with the
hardware.

► Application software

► System software page 60 Tag set

34
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 13 ( Marks: 1 ) - Please choose one


is known as the best feature in word processing.
► Cut
► Copy
► Paste
► Undo because by using undo we can recover our mistakes and do
experiments without risks.

Question No: 14 ( Marks: 1 ) - Please choose one


In java script objects may have properties.
► Single

► Several

► Multiple
► All of the given options

Question No: 14 ( Marks: 1 ) - Please choose one


In java script objects may have properties.
► Single

► Several

► Multiple
► All of the given options

Question No: 15 ( Marks: 1 ) - Please choose one


are great for showing parts of a whole that are generally expressed in
percentages.

► Line Charts

► Pie Charts page 154 repeated


35
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Bar Charts

► None of the options described

Question No: 16 ( Marks: 1 ) - Please choose one


Small Computer System Interface is
► Slower and harder to configure then serial and parallel ports

► Faster then USB


► Both first choices

► Slower then USB but Faster then serial and parallel page24

MIDTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing

Question No: 1 ( Marks: 1 ) - Please choose one

Vacuum tubes were replaced by

► Punch cards

► Transistors Repeated

► Micro Processors

► Resistors

36
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 2 ( Marks: 1 ) - Please choose one

Hexadecimal number system is based on -------------------- digits

►2

►8

► 12

► 16 Lecture 8

Question No: 3 ( Marks: 1 ) - Please choose one

Java script interact with user through

► Special control

► Internet explorer Repeated

► Event handlers

► Java script does not interact with user

37
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 4 ( Marks: 1 ) - Please choose one

Which one is correct for JavaScript?

► onMouseOver Repeated

► OnMouseOver

► onmouseover

► All of the given

Question No: 5 ( Marks: 1 ) - Please choose one

Programs that reside on Web servers and receive info that a user enters in a
form, are known as:

► Server-Side Scripts Repeated

► Client-Side Scripts

► Super Scripts

► Form Scripts
38
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 6 ( Marks: 1 ) - Please choose one

The is connected to all other modules of the microprocessor.

39
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Control unit Repeated

► Memory unit

► Floating Point unit

► Arithmetic and Logic unit

Question No: 7 ( Marks: 1 ) - Please choose one

WWW stands for:

► Wide World Web

► World Wide Web Repeated

► World White Web

► World Web Wide

Question No: 8 ( Marks: 1 ) - Please choose one

Supercomputers are used in:

► Weather forecasting

► Aeroplane mnufacturing

► Atomic bomb experiments

40
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► All of the given choices Lecture 4

Question No: 9 ( Marks: 1 ) - Please choose one

Which one of these is NOT an example of storage devices?


► Tape

► RAM Repeated

► Floppy

► DVD

Question No: 10 ( Marks: 1 ) - Please choose one

To display a checkbox on the web page, we use tag

► CHECKBOX

► CHECK

► INPUT

► INPUTBOX

MIDTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing
Question No: 1 ( Marks: 1 ) - Please choose one

41
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Cray-1 was first commercial computer

► Super Repeated Lecture 4 (Topic Super Computer)

► Mini

► Micro

► Personal

Question No: 2 ( Marks: 1 ) - Please choose one

language is very good for writing well-structured and readable programs,


but it is not as flexible as the C programming language

► BASIC

► PASCAL page 131

► JAVA

► FORTRAN

Pascal is very good for writing well-structured and readable programs, but
it is not as flexible as the C programming language

Question No: 3 ( Marks: 1 ) - Please choose one

What happens if I start a new list without closing the original one?
42
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► An error will be generated

► A nested list will be created Repeated

43
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Previous list will end and a new will start.

► Nothing will happen

Question No: 4 ( Marks: 1 ) - Please choose


one

A computer program that facilitates the communication between the computer and a
peripheral device is called

► Operating system Repeated

► Utilities

► Language Translator

► Device Drives

Question No: 5 ( Marks: 1 ) - Please choose one

AutoCAD falls in the category of

► Engineering Applications page 61

► Graphics Applications

44
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Scientific Applications

► Business Applications

Question No: 6 ( Marks: 1 ) - Please choose one

45
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Tag used to make a Text Bold is

► <BOLD></BOLD>

► <B></B> sure

► <BODY></BODY>

► None of these

Question No: 7 ( Marks: 1 ) - Please choose one

Which one of these is NOT an example of embedded computers?

► IMB PC

► Microwave oven

► Refrigerator

► Calculator

Question No: 8 ( Marks: 1 ) - Please choose one

Supercomputers are used in:

► Weather forecasting
46
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Aeroplane manufacturing

► Atomic bomb experiments

► All of the given choices Repeated

47
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 9 ( Marks: 1 ) - Please choose one

Which one of these is NOT an example of storage devices?

► Tape

► RAM Repeated

► Floppy

► DVD

Question No: 10 ( Marks: 1 ) - Please choose one

In which case Cache Memory is


used

► To increase RAM
speed

► To overcome BUS
speed

► To overcome Speed rate between RAM and CPU Not sure

► To overcome CPU speed

Question No: 11 ( Marks: 1 ) - Please choose one

A set of stand alone productivity applications designed to work together known as


48
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Productivity software suites page 84

► Compiled software

► Secure software

49
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Intelligent software

Question No: 12 ( Marks: 1 ) - Please choose one

File handling in java script is done .

► In more accurate way

► In more easy way

► Both more easy and in accurate way

► Not at all

Question No: 13 ( Marks: 1 ) - Please choose one

Which one of the following is a valid variable name?

► Break

► Switch

► Catch

50
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► None of the given Lecture 21

Question No: 14 ( Marks: 1 ) - Please choose one

An algorithm that always takes the best immediate or local solution while finding an
answer is called

► Deterministic Algorithm

► Non deterministic Algorithm

► Greedy Algorithm Page 102

► Randomized Algorithm

Question No: 15 ( Marks: 1 ) - Please choose one

A B C D
4 ABC003 65 =c4=c4

Expression format in cell D4 is NOT correct.

► True According to Ms-Excel

► False

Question No: 16 ( Marks: 1 ) - Please choose one


51
CS101-Introduction to Computing
All Solved MCQS With References In One File.

User interface provided by UNIX operating system is:

► Shell / GUI page 68


► Shell

52
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► GUI
► Command line

MIDTERM EXAMINATION Spring 2010


CS101- Introduction to Computing (Session - 5)
Question No: 1 ( Marks: 1 ) - Please choose one
language is very good for writing well-structured and readable
programs, but it is not as flexible as the C programming language

► BASIC
► PASCAL Page 131
► JAVA
► FORTRAN

Question No: 2 ( Marks: 1 ) - Please choose one


interacts directly with the computer Hardware

► Compiler

► Operating system Repeated

► Application software

► Assembler

Question No: 3 ( Marks: 1 ) - Please choose one


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

► Save all the data


► Set the shape of all the fields
► Set all fields to their default values Sure
53
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Do nothing, you have to write code for it

Question No: 4 ( Marks: 1 ) - Please choose one


Programs that reside on Web servers and receive info that a user enters in a
form, are known as:

► Server-Side Scripts Page 71 (Repeated)

► Client-Side Scripts

► Super Scripts

► Form Scripts

Question No: 5 ( Marks: 1 ) - Please choose one

The world first computer program was written to compute:


► Simple sequence
► Multiple sequence
► Bernoulli’s sequence page 9
► Increasing sequence

Question No: 6 ( Marks: 1 ) - Please choose one


The key strengths of computers are
► Speed
► Storage
► Do not get bored
► All of the given choices Sure

Question No: 7 ( Marks: 1 ) - Please choose one


is the interface in computer that supports transmission of multiple
bits at the same time.

54
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Serial Port
► Parallel Port page 24
► Universal Serial Bus
► None of the given choices

Question No: 8 ( Marks: 1 ) - Please choose one


Which of the following is NOT supported by PC's power supply.
► -12 and +12 V DC
► -10 and +10 V DC
► -5 and + 5 V DC
► All are supported

Question No: 9 ( Marks: 1 ) - Please choose one


NOWRAP extends of a cell, if necessary, to fit the contents of the cell
the in a single line
► Height
► Length
► Width page
56
► Value

55
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 10 ( Marks: 1 ) - Please choose one


We need for memory management in computer
► Software
► Hardware
► Operating System OS is used for memory management. From Handouts.
► Application Software

Question No: 11 ( Marks: 1 ) - Please choose one


The first component of an operating system that runs when a typical computer is
turned
ON, is:

► Device Manager
► File Manager
► Loader
► Device Driver

Question No: 12 ( Marks: 1 ) - Please choose one


Speakers fall into the hardware category.
► True
► False

Question No: 13 ( Marks: 1 ) - Please choose one


HTML pages are edited by
► MS Front page
► Notepad
► Dream weaver
► All of These (These all are Code Editors.)

Question No: 14 ( Marks: 1 ) - Please choose one


PowerBuilder falls in the category of .

56
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Assembly Languages
► 4-th Generation Languages
► Machine Languages
► High-Level Languages

Question No: 15 ( Marks: 1 ) - Please choose one


Java script is an.
► Object based language

► All of the given page 96

► Interpreted language

► Event driven language


Question No: 16 ( Marks: 1 ) - Please choose one
In java script objects may have properties.
► Single

► Several

► Multiple

► All of the given options Repeated

MIDTERM EXAMINATION Spring 2010


CS101- Introduction to Computing (Session - 4)

Question No: 1 ( Marks: 1 ) - Please choose one

JavaScript does not support

► User interaction
► Graphics
57
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Network operations Page 120


► Both Graphics and Network operations

Question No: 2 ( Marks: 1 ) - Please choose one

Language is very good for writing well-structured and readable programs,


but it is not as flexible as the C programming language

► BASIC
► PASCAL Repeated
► JAVA
► FORTRAN

Question No: 3 ( Marks: 1 ) - Please choose one

is the example of Shrink-wrapped software

► PIA information system


► WinZip trial pack
► Linux
► MS Word Page 62

Question No: 4 ( Marks: 1 ) - Please choose one

refers to the firmware code which is run by an IBM compatible PC when


powered first
on.
► DOS
► BIOS page 61
► Utility Program
► None of these

Question No: 5 ( Marks: 1 ) - Please choose one

RTOS stands for

► Real Task Operating System


58
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Random Time Operating System


► Rational Time Operating System

59
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Real Time Operating System p a g e 67

Question No: 6 ( Marks: 1 ) - Please choose one


-----
-------- is an electronic path within a Computer System along which bits are transmitted.

► Port
► Slots
► Bus Not sure
► Modem

Question No: 7 ( Marks: 1 ) - Please choose one


A
microprocessor can be made more powerful by increasing its

► Clock frequency
► Word length
► Clock frequency and Word length p a g e 318
► None of above

Question No: 8 ( Marks: 1 ) - Please choose one

Which one of these translates the program once at a time ?


► Interpreter
► Compiler page 61
► Operating system
► Translator

Question No: 9 ( Marks: 1 ) - Please choose one


-----
------- is volatile memory

►RAM page 25
►ROM
►Hard Disk
►CD ROM

60
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 10 ( Marks: 1 ) - Please choose one


A
British scientist named John A. Fleming made a vacuum tube known today as a diode.
Then the diode was known as a "valve," Is it true?

►true page 14
►false

Question No: 11 ( Marks: 1 ) - Please choose one

61
CS101-Introduction to Computing
All Solved MCQS With References In One File.

<form> Tags always placed between the <BODY> and </BODY> tags of a Web page
►True
►False

Question No: 12 ( Marks: 1 ) - Please choose one

is generally measured in terms of the number of steps required to


algorithm execute an
.

► Space
► Time page 101
► Memory and time
► Bandwidth

Question No: 13 ( Marks: 1 ) - Please choose one

Programs where no user interaction found during program execution are called .

►Batch programs page 129


►Event-driven programs
►Graphics based programs
► None of the given

Question No: 14 ( Marks: 1 ) - Please choose one


For
connector the following symbol is used:
►Square

►Rectangle

►Diamond

►Circle Page 105

62
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 15 ( Marks: 1 ) - Please choose one

After starting computer, which module of operating system activates first?

63
CS101-Introduction to Computing
All Solved MCQS With References In One File.

►Linker

►Kernel Not sure but it is the heart of OS.

►Loader
►Device manager

Question No: 16 ( Marks: 1 ) - Please choose one

"Every minute dies a man, And one and a sixteenth is born" said by?

►Alfred, Lord Tennyson

►Charles Babbage during Video lecture

►Ada, Countess of Lovelace

►Babbage and Lord Tennyson

MID TERM PAPERS

Question No: 1 ( Marks: 1 ) - Please choose one

Human are better than computers at:


► Efficiency
► Accuracy
► Pattern recognition SURE
► None of the given choices

Question No: 2 ( Marks: 1 ) - Please choose one

Cray-1 was first commercial computer


► Super Repeated
64
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Mini
► Micro
► Personal

Question No: 3 ( Marks: 1 ) - Please choose one

URL is a/an
► Device
► Component
► Address Repeated
► Tool

Question No: 4 ( Marks: 1 ) - Please choose one

Mainframe Computers are also called


► Enterprise Servers
► Personal Servers
► Enterprise Managers
► Window Servers
http://www.skullbox.net/mfservers.php

Question No: 5 ( Marks: 1 ) - Please choose one

Which of the following is NOT a category of Mobile Computers?


► Laptop
► Palmtop
► Desktop sure
► Wearable

Question No: 6 ( Marks: 1 ) - Please choose one

Preliminary exploration of possible solutions, technologies, suppliers is called

65
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Viability
► Feasibility Page 135
► Specification
► Integration

Question No: 7 ( Marks: 1 ) - Please choose one

Give us the ability to manipulate data through reference instead of


actual value.

► Constants
► Variables Page 143
► Data Types
► Operators

Question No: 8 ( Marks: 1 ) - Please choose one

Consider the following statement written in JavaScript:


str = ”Hello” + ” World”
What will be the value of str ?

► HelloWorld document. write(“Hello”+”World); In this HelloWorld is


string.
► Hello World
► Hello + World
► It will result in error

Question No: 9 ( Marks: 1 ) - Please choose one


A
tool that helps you to find the synonyms is called .

► Language
► Paragraph
► Thesaurus From handouts.
► Symbol

66
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 10 ( Marks: 1 ) - Please choose one

Communication protocol is a that governs the flow of information over a


network
► Set of protocols
► Set of rules
► Device
► Set of methods

67
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 11 ( Marks: 1 ) - Please choose one


If a
computer could pass the Turing test then it would be able to:
► think like human beings
► do the things faster
► win a million dollar prize
► store more information

Question No: 12 ( Marks: 1 ) - Please choose one


The
first Web browser with a GUI was generally available in:
► 1992
► 1993 Page 209
► 1994
► 1995

Question No: 13 ( Marks: 1 ) - Please choose one

Web is a unique invention by humans in terms that it is:


► accessible to only the owners who control it
► accessible from particular locations only
► accessible to all humans sure
► accessible to only the educational institutes

Question No: 14 ( Marks: 1 ) - Please choose one


In
this URL http://www.msn.com , identifies the domain name
► http
► www
► msn
► com

Question No: 15 ( Marks: 1 ) - Please choose one

is simply a fast port that lets you connect computer peripherals and consumer
electronics to your computer without restart.

68
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Freeware
► Shareware
► Firewire Page 24
► Firmware

Question No: 16 ( Marks: 1 ) - Please choose one

Which of the following is NOT supported by PC's power supply.


► -12 and +12 V DC
► -10 and +10 V DC Repeated

69
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► -5 and + 5 V DC
► All are supported

Question No: 17 ( Marks: 1 ) - Please choose one


In
which case Cache Memory is used
► To increase RAM speed
► To overcome BUS speed
► To overcome Speed rate between RAM and CPU Repeated
► To overcome CPU speed

Question No: 18 ( Marks: 1 ) - Please choose one


To
display a single line text area on the web page, we use tag
► TEXT
► TEXTBOX
► INPUT <input type=”text” name=”text” size=”30”>
► INPUTBOX

Question No: 19 ( Marks: 1 ) - Please choose one


If
an algorithm is syntactically correct, but semantically incorrect then this situation is
► Very good situation
► Very dangerous situation From handouts Page 104
► Not very bad
► Neutral situation

Question No: 20 ( Marks: 1 ) - Please choose one

Users communicate with the computer using a consistent user interface provided by the
OS.
► True
► False

Question No: 21 ( Marks: 1 ) - Please choose one

70
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Application developers do not need to know much about the HW,


especially the microProcessor, while they are developing their
application.
► True
► False

Question No: 22 ( Marks: 1 ) - Please choose one


The
first spread sheet program was invented by
► Charles Babbage
► Dan Bricklin
► Paul Graham
► John von Neumann

71
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 23 ( Marks: 1 ) - Please choose one

Which representation technique of algorithm is more suitable for developer to make


actual code .

► pseudo code Pseudo code is like actual code. For example: Pseudo code
is : if(condition){Code embedded}
► flow chart
► both pseudo code and flow chart
► Heuristics

Question No: 24 ( Marks: 1 ) - Please choose one

is used to terminate all JavaScript statements.


► Colon
► Semicolon Lecture 21
► Underscore
► Apostrophe

Question No: 25 ( Marks: 1 ) - Please choose one


In
java script cookies can be created for future use .

► Easily

► No facility at all

► This is not possible without Java language.

► Cookies are files so java script can not handle it.

Question No: 26 ( Marks: 1 ) - Please choose one


72
CS101-Introduction to Computing
All Solved MCQS With References In One File.

73
CS101-Introduction to Computing
All Solved MCQS With References In One File.

When the microprocessor desires to look at a piece of data, it checks in the


► RAM
► ROM
► hard disk
► cache

MIDTERM EXAMINATION Fall 2009


CS101- Introduction to Computing (Session - 5)

74
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 1 ( Marks: 1 ) - Please choose one


The memory size of the Altair 8800 was
► 128 bytes
► 128 Kilo bytes
► 256 Kilo bytes
► 256 bytes Repeated

Question No: 2 ( Marks: 1 ) - Please choose one


URL is a/an
► Device
► Component
► Address Repeated
► Tool

Question No: 3 ( Marks: 1 ) - Please choose one


Which of the following hardware component of a computer can also be called
as engine?
► Bus
► Storage
► Memory
► Processor

Question No: 4 ( Marks: 1 ) - Please choose one


The Processor is specially designed for PDA?
► PowerPC
► StrongARM Page 24
► Crusoe
► SPARC

Question No: 5 ( Marks: 1 ) - Please choose one


There are ways to represent an algorithm.

►1

75
CS101-Introduction to Computing
All Solved MCQS With References In One File.

►2
► 3 Greedy, Deterministic and Randomized.
►4

Question No: 6 ( Marks: 1 ) - Please choose one


Which one is correct for JavaScript?

► onMouseOver Repeated
► OnMouseOver
► onmouseover

76
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► All of the given

Question No: 7 ( Marks: 1 ) - Please choose one


is a particularly good language for processing numerical data, but
it does not lend itself very well to large business programs

► BASIC
► PASCAL
► JAVA
► FORTRAN page 131

Question No: 8 ( Marks: 1 ) - Please choose one


In spreadsheets, cell address A12 means .

► Row A, Cloumn 12
► Row 12, Cloumn A
► Row 2,Cloumn A1
► Row A1, Cloumn 2

Question No: 9 ( Marks: 1 ) - Please choose one


The key feature of Scientific/Engineering/Graphics applications is

► Intense calculations page 81

► User-friendly

► Reliability

► Cost-effective

Question No: 10 ( Marks: 1 ) - Please choose one


Command which saves the selected text before deleting is
► Copy

77
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Delete

► Cut

► Undo

Question No: 11 ( Marks: 1 ) - Please choose one


Properties of an object are modified with

78
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Class

► Methods page 142

► Structures

► Forms

Question No: 12 ( Marks: 1 ) - Please choose one


Video Card has its own -----------------

► Memory
► Processor
► Memory& Processor From topic Entertainment Soft wares
► Neither memory nor Processor

Question No: 13 ( Marks: 1 ) - Please choose one


Using only HTML we can create

► Dynamic web pages

► Static web pages Repeated

► Both Static and Dynamic pages

► None of these

Question No: 14 ( Marks: 1 ) - Please choose one


Computers are good at
► Speed
► Storage
► Never bored
► All of the given choices Repeated

79
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 15 ( Marks: 1 ) - Please choose one


There is a battery on the motherboard to:
► Give power to the processor
► Save information when computer is off
► Save information when computer is on
► Give power to the motherboard

Question No: 16 ( Marks: 1 ) - Please choose one


Microsoft Word is a type of:
► System Software

80
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Freeware Software
► Shrink-Wrapped Software page 62
► Custom-built Software

Question No: 17 ( Marks: 1 ) - Please choose one


The set of instructions that opearates various parts of hardware is called
shareware.
► True
► False Share ware is the type of soft ware.

Question No: 18 ( Marks: 1 ) - Please choose one


Which of the following manages the HW and SW resources of the computer
system?
► Hardware
► System Software
► Operating system page 65
► Graphics Software

Question No: 19 ( Marks: 1 ) - Please choose one


Application developers do not need to know much about the HW, especially the
microProcessor, while they are developing their application.
► True Repeated
► False

Question No: 20 ( Marks: 1 ) - Please choose one


Which of the following formula is used in spread sheet for addition?

► C6+E6
► =C6+E6 Lecture 22 Diagram.
► 6+6=12
► 6+E6

Question No: 21 ( Marks: 1 ) - Please choose one


Web Pages developed for human as well computer understanding are called as;
► Static Web Pages
► Semantic Web Pages
81
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Dynamic Web Pages


► Java Web Pages

Question No: 22 ( Marks: 1 ) - Please choose one


Programs where no user interaction found during program execution are called
.

► Batch program p a g e 129


► Event-driven programs
► Graphics based programs
► None of the given

82
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 23 ( Marks: 1 ) - Please choose one


In , the software developer decomposes the problem into
subsystems and defines their relationships.

► Detailed Design
► Integration Testing
► Design page 137
► Architecture

Question No: 25 ( Marks: 1 ) - Please choose one


What is the key feature of computer which is against human nature?

► Can’t get bored.


► Pattern recognition
► Repetition
► None

Question No: 26 ( Marks: 1 ) - Please choose one


The first --------------was invented at Bell Laboratories on December 16, 1947 by
William
Shockley.

► Transistor page 14

► Vacuum Tube

► Punch card

► Transmitter

Mid Term Examinations


83
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Fall 2009
Question No: 1 ( Marks: 1 ) - Please choose one
A diode functions as the electronic version of a _-way valve.
► one Diode is device which allows the current only in one way.
► two
► three
► four

Question No: 2 ( Marks: 1 ) - Please choose one


What is name of book from which word algorithm is taken ?

► Algebra and trigonometry

► Introduction to algorithms

► Research for new horizons

► Algoritmi de numero
Indorum Lecture 16

Question No: 3 ( Marks: 1 ) - Please choose one


<form> Tags always placed between the <BODY> and </BODY> tags of a Web
page
► True Repeated
► False

Question No: 4 ( Marks: 1 ) - Please choose one


consists of cells arranged in rows & columns
► Spreadsheets Software Repeated
► Word processor
► Presentation Software
► Microsoft Paint Software

Question No: 5 ( Marks: 1 ) - Please choose one


84
CS101-Introduction to Computing
All Solved MCQS With References In One File.

was designed as a replacement for typewriter


► Spreadsheet Software
► Word Processor Software Lecture 14 (Repeated)
► Presentation Software
► Database Software

Question No: 6 ( Marks: 1 ) - Please choose one


manages the HW and SW resources ( memory, disk drives
etc) of the computer system, often invisibly.
► Explorer.exe
► System Files
► Operating System Repeated

85
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Application Software

Question No: 7 ( Marks: 1 ) - Please choose one


To display a radio button on the web page, we use tag
► INPUTBUTTON
► INPUT <Input type=”radio” name=”from” value=””>
► RADIOBUTTON
► RADIO

Question No: 8 ( Marks: 1 ) - Please choose one


Machine language is also called
► Assembly Language Repeated
► Binary Language
► High Level Language
► HTML Language

Question No: 9 ( Marks: 1 ) - Please choose one


When the user needs something to be done by the computer, he/she gives
instructions in the form of to computer
► Software, Hardware
► Hardware, Software
► System Software, Application Software
► Graph, Monitor

Question No: 10 ( Marks: 1 ) - Please choose one


A truth table defines the of a logic function for all possible
► Input – Outputs Lecture 8
► Output -- Inputs
► Process -- Inputs
► Input -- Processes

Question No: 11 ( Marks: 1 ) - Please choose one


Which one is correct?

► <BODY></BODY>

86
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>

Question No: 12 ( Marks: 1 ) - Please choose one


WWW stands for:
► Wide World Web
► World Wide Web Repeated
► World White Web
► World Web Wide

87
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 13 ( Marks: 1 ) - Please choose one


A translates a high-level language (that is easy to understand for
humans) into a language that the computer can understand
► Computer
► Transistor
► Compiler page 61
► Device

Question No: 14 ( Marks: 1 ) - Please choose one


Deep Blue was the name of
► computer
► human
► city
► game

Question No: 15 ( Marks: 1 ) - Please choose one


Data travels through bus in the form of ---------------------------

► Packets
► Bits
► Bytes Out of 22 Lectures
► Word

Question No: 16 ( Marks: 1 ) - Please choose one


Command which saves the selected text before deleting is
► Copy Repeated

► Delete

► Cut

► Undo

Question No: 17 ( Marks: 1 ) - Please choose one


AutoCAD falls in the category of
88
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Engineering
Applications Repeated

► Graphics
Applications

► Scientific
Applications

► Business
Applications

89
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 18 ( Marks: 1 ) - Please choose one


In Spreadsheets, you can create a relationship between two cells by using .

► Numbers
► Text
► Formulas Lecture 22
► None of the given choices

Question No: 19 ( Marks: 1 ) - Please choose one


Which of the following symbol is used for multiple line comments in JavaScript?

►/
► //
► /* Lecture 21
► //*

Question No: 20 ( Marks: 1 ) - Please choose one


is a system software that converts the source code written in
high level language into machine language code.
► Utilities
► Drivers
► Language Translator Repeated
► None of the these

Question No: 21 ( Marks: 1 ) - Please choose one


is a particularly good language for processing numerical data, but
it does not lend itself very well to large business programs

► BASIC
► PASCAL
► JAVA
► FORTRAN page 131

Question No: 22 ( Marks: 1 ) - Please choose one


Which of the following number system is used by microprocessor?

90
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Binary Lecture 8
► Decimal
► Octal
► Hexadecimal
Question No: 23 ( Marks: 1 ) - Please choose one
The Processor is specially designed for PDA?
► PowerPC
► StrongARM page 24
► Crusoe
► SPARC

MIDTERM EXAMINATION Spring 2010


CS101- Introduction to Computing (Session - 2)

Question No: 1 ( Marks: 1 ) - Please choose one


Detailed plan, specifying the required resources and expected deliverables, is done
in
phase.

► Planning
► User Requirements
► Design
► Developer Specification Page 136 (Repeated)

Question No: 2 ( Marks: 1 ) - Please choose one


A combination of word processing and graphic design is

► Corel Draw

► Desktop Publishing page 83

► Paint

► WordPad
91
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 3 ( Marks: 1 ) - Please choose one


------------- is an electronic path within a Computer System along which
bits are transmitted.

► Port
► Slots
► Bus Not sure
► Modem

Question No: 4 ( Marks: 1 ) - Please choose one


The key strengths of computers are
► Speed
► Storage
► Do not get bored
► All of the given choices Repeated

Question No: 5 ( Marks: 1 ) - Please choose one


We can change the background color in HTML, using attribute of <body>

► background

► bgcolor For example: <body bgcolor=”red”></body>

► backcolor

92
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► backgroundcolor

Question No: 6 ( Marks: 1 ) - Please choose one


ASCII WHITE is the fastest Super computer which can perform
calculations in one second.
► 1.3 billion
► 1.3 trillion
► 1.3 miillion
► 1.3 thousand

Question No: 7 ( Marks: 1 ) - Please choose one


is the example of server-side scripts on Unix servers.
► ASP
► CGI page 71 On Unix is CGI and on windows is ASP.
► VBScript
► JavaScript

Question No: 8 ( Marks: 1 ) - Please choose one


We need for memory management in computer
► Software
► Hardware
► Operating System OS is used for memory management, Device driver
management etc.
► Application Software

Question No: 9 ( Marks: 1 ) - Please choose one


Data was stored and counted mechanically using ----------- decimal storage wheels,
------
--------------- rotary dial switches.

► 300,400

► 1300,1400

► 30100,14100
93
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► 3000 , 1400 page 14

Question No: 10 ( Marks: 1 ) - Please choose one


The first spread sheet program was invented by
► Charles Babbage
► Dan Bricklin Repeated
► Paul Graham
► John von Neumann

94
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 11 ( Marks: 1 ) - Please choose one


In x = x + 20, x is called a .

► Constant
► String
► Variable
► Number

Question No: 12 ( Marks: 1 ) - Please choose one


The transistor is a solid state semiconductor device used for amplification and
switching, and has terminals.
two
three page32
four
one

Question No: 13 ( Marks: 1 ) - Please choose one


A diode functions as the electronic version of a _-way valve.
► one page 32
► two
► three
► four

Question No: 14 ( Marks: 1 ) - Please choose one

This element of Flow Chart is called .


► Process
► Off page connector Page 105
► Decision
► Connector

Question No: 15 ( Marks: 1 ) - Please choose one


Choose the correct html format to create a checkbox.

95
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► <checkbox>

► <input type=”checkbox”>

► <check>
► <input type=”check”>

Question No: 16 ( Marks: 1 ) - Please choose one


---------------is the process of starting or restarting a computer.

96
CS101-Introduction to Computing
All Solved MCQS With References In One File.

►BIOS

►Refreshing

►Booting
►None of given

MIDTERM EXAMINATION Spring 2010


CS101- Introduction to Computing (Session - 4)

Question No: 1 ( Marks: 1 ) - Please choose one


Ada, Countess of Lovelace developed first:
► Computer
► Website
► Computer Program Lecture 1
► Analytical engine

Question No: 2 ( Marks: 1 ) - Please choose one


Charles Babbage was a/an
► Mathematician Lecture 1
► Computer Scientist
► Physician
► Analyst

Question No: 3 ( Marks: 1 ) - Please choose one


Detailed plan, specifying the required resources and expected deliverables, is done
in
phase.

► Planning
► User Requirements
► Design
► Developer Specification Repeated

97
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 4 ( Marks: 1 ) - Please choose one


A computer program that facilitates the communication between the
computer and a peripheral device is called

► Operating system
► Utilities
► Language Translator Repeated
► Device Drives

Question No: 5 ( Marks: 1 ) - Please choose one


To start an ordered list from 20 instead of 1, we will write

► <OL begin = “20">


► <OL initiate = “20">

► <OL start = “20"> Lecture 9


► <OL from = “20">

Question No: 6 ( Marks: 1 ) - Please choose one


is the best known builder for supercomputers.

98
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Sun
► Cray Research Repeated
► Microsoft
► Apple

Question No: 7 ( Marks: 1 ) - Please choose one


Using COLSPAN, number of rows of the current cell should extend itself
► Upward
► Downward Repeated
► Both Upward and Downward
► None of the given choices

Question No: 8 ( Marks: 1 ) - Please choose one


Interactive forms are always placed tag-set
between
► TITLE
► HEAD
► BODY Repeated
► HTML

Question No: 9 ( Marks: 1 ) - Please choose one


manages the HW and SW resources ( memory, disk drives
etc) of the computer system, often invisibly.
► Explorer.exe
► System Files
► Operating System Repeated
► Application Software

Question No: 10 ( Marks: 1 ) - Please choose one


Speakers fall into the hardware category.
► True Repeated
► False

Question No: 11 ( Marks: 1 ) - Please choose one


software directly interacts with the hardware.

99
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Application software

► System software Repeated

► Dynamic software

► Distributed software

100
CS101-Introduction to Computing
All Solved MCQS With References In One File.

Question No: 12 ( Marks: 1 ) - Please choose one


In spreadsheet, which of the following function is used to solve the
3
equation − 2 x + 5 = 0 ?
3x
► =COUNTIF
► =GoalSeek
► None of the above
► =Sum

Question No: 13 ( Marks: 1 ) - Please choose one


is known as the best feature in word processing.
► Cut
► Copy
► Paste
► Undo Lecture 14

Question No: 14 ( Marks: 1 ) - Please choose one


In java script objects may have properties.
► Single

► Several

► Multiple
► All of the given options

Question No: 15 ( Marks: 1 ) - Please choose one


are great for showing parts of a whole that are generally expressed in
percentages.

► Line Charts

► Pie Charts Page 154 Repeated

► Bar Charts
101
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► None of the options described

Question No: 16 ( Marks: 1 ) - Please choose one


Small Computer System Interface is
► Slower and harder to configure then serial and parallel ports

► Faster then USB

102
CS101-Introduction to Computing
All Solved MCQS With References In One File.

► Both first choices

► Slower then USB but Faster then serial and


parallel Page 24

103
CS101 Spring_2010_MidTerm

Question No: 1 ( Marks: 1 ) - Please choose one


Detailed
plan, specifying the required resources and expected deliverables, is done in ________
phase.

► Planning
► User Requirements
► Design
► Developer Specification

Question No: 2 ( Marks: 1 ) - Please choose one


A
combination of word processing and graphic design is

► Corel Draw

► Desktop Publishing

► Paint

► WordPad

Question No: 3 ( Marks: 1 ) - Please choose one


------------- is
an electronic path within a Computer System along which bits are transmitted.

► Port
► Slots
► Bus
► Modem

Question No: 4 ( Marks: 1 ) - Please choose one


The key
strengths of computers are
► Speed
► Storage
► Do not get bored
► All of the given choices

Question No: 5 ( Marks: 1 ) - Please choose one


We can
change the background color in HTML, using ___ attribute of <body>

► background

► bgcolor

► backcolor

► backgroundcolor

Question No: 6 ( Marks: 1 ) - Please choose one


ASCII
WHITE is the fastest Super computer which can perform __________ calculations in
one second.
► 1.3 billion
► 1.3 trillion
► 1.3 miillion
► 1.3 thousand

Question No: 7 ( Marks: 1 ) - Please choose one


_____ is
the example of server-side scripts on Unix servers.
► ASP
► CGI
► VBScript
► JavaScript

Question No: 8 ( Marks: 1 ) - Please choose one


We need
_____________ for memory management in computer
► Software
► Hardware
► Operating System
► Application Software

Question No: 9 ( Marks: 1 ) - Please choose one


Data was
stored and counted mechanically using ----------- decimal storage wheels, ---------------------
rotary dial switches.

► 300,400

► 1300,1400

► 30100,14100

► 3000 , 1400

Question No: 10 ( Marks: 1 ) - Please choose one


The first
spread sheet program was invented by
► Charles Babbage
► Dan Bricklin
► Paul Graham
► John von Neumann

Question No: 11 ( Marks: 1 ) - Please choose one


In x = x +
20, x is called a __________.

► Constant
► String
► Variable
► Number

Question No: 12 ( Marks: 1 ) - Please choose one


The
transistor is a solid state semiconductor device used for amplification and switching,
and has __________ terminals.
► one
► two
► three
► four

Question No: 13 ( Marks: 1 ) - Please choose one


A diode
functions as the electronic version of a __________-way valve.
► one
► two
► three
► four

Question No: 14 ( Marks: 1 ) - Please choose one

This element of Flow Chart is called_____________.


► Process
► Off page connector
► Decision
► Connector

Question No: 15 ( Marks: 1 ) - Please choose one


Choose
the correct html format to create a checkbox.
► <checkbox>

► <input type=”checkbox”>

► <check>
► <input type=”check”>

Question No: 16 ( Marks: 1 ) - Please choose one


-------------
--is the process of starting or restarting a computer.

► BIOS

► Refreshing

► Booting
► None of given

Question No: 17 ( Marks: 2 )


What is
the Title of the web page for following code segment?
<Head>
<TITLE> VU Web <\TITLE>
<TITLE> Page </TITLE>
</Head>

Question No: 18 ( Marks: 2 )


What do
you mean by Comments?

Question No: 19 ( Marks: 2 )


How can
an operating system be viewed as a resource allocator?

Question No: 20 ( Marks: 3 )


What is
the role of application software in Education?

Question No: 21 ( Marks: 3 )


Give four
properties and two methods of window object ?

Question No: 22 ( Marks: 5 )


What is
the difference between High-level and Low-level programming languages?

Question No: 23 ( Marks: 5 )


Elaborate
greedy algorithm definition with solid example in favour and one counter example?

Question No: 1 ( Marks: 1 ) - Please choose one


Ada,
Countess of Lovelace developed first:
► Computer
► Website
► Computer Program
► Analytical engine

Question No: 2 ( Marks: 1 ) - Please choose one


Charles
Babbage was a/an
► Mathematician
► Computer Scientist
► Physician
► Analyst

Question No: 3 ( Marks: 1 ) - Please choose one


Detailed
plan, specifying the required resources and expected deliverables, is done in ________
phase.

► Planning
► User Requirements I s pe dout hai.
► Design
► Developer Specification

Question No: 4 ( Marks: 1 ) - Please choose one


A
computer program that facilitates the communication between the computer and a
peripheral device is called___________________

► Operating system
► Utilities
► Language Translator
► Device Drives

Question No: 5 ( Marks: 1 ) - Please choose one


To start an
ordered list from 20 instead of 1, we will write

► <OL begin = “20">


► <OL initiate = “20">

► <OL start = “20">


► <OL from = “20">

Question No: 6 ( Marks: 1 ) - Please choose one


_________
is the best known builder for supercomputers.
► Sun
► Cray Research
► Microsoft
► Apple

Question No: 7 ( Marks: 1 ) - Please choose one


Using
COLSPAN, number of rows of the current cell should extend itself
► Upward
► Downward
► Both Upward and Downward
► None of the given choices

Question No: 8 ( Marks: 1 ) - Please choose one


Interactive
forms are always placed between ___ tag-set
► TITLE
► HEAD
► BODY
► HTML

Question No: 9 ( Marks: 1 ) - Please choose one


_________
manages the HW and SW resources ( memory, disk drives etc) of the computer
system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 10 ( Marks: 1 ) - Please choose one


Speakers
fall into the hardware category.
► True
► False

Question No: 11 ( Marks: 1 ) - Please choose one

______________ software directly interacts with the hardware.

► Application software

► System software

► Dynamic software

► Distributed software

Question No: 12 ( Marks: 1 ) - Please choose one


In
spreadsheet, which of the following function is used to solve the
3
equation 3x − 2 x + 5 = 0 ?
► =COUNTIF
► =GoalSeek
► None of the above
► =Sum

Question No: 13 ( Marks: 1 ) - Please choose one


_______ is
known as the best feature in word processing.
► Cut
► Copy
► Paste
► Undo

Question No: 14 ( Marks: 1 ) - Please choose one


In java
script objects may have Single properties.
► Single

► Several

► Multiple
► All of the given options

Question No: 15 ( Marks: 1 ) - Please choose one


_________
are great for showing parts of a whole that are generally expressed in percentages.

► Line Charts

► Pie Charts

► Bar Charts

► None of the options described

Question No: 16 ( Marks: 1 ) - Please choose one


Small
Computer System Interface is
► Slower and harder to configure then serial and parallel ports

► Faster then USB

► Both first choices

► Slower then USB but Faster then serial and parallel

Question No: 17 ( Marks: 2 )


Write the
major types of softwares with examples?

Answer..
System SW
System software is responsible for controlling, integrating, and managing the
individual
hardware components of a computer system.
System software performs tasks like transferring data from memory to disk, or
rendering
text onto a display Specific kinds of system software include loading programs,
operating
systems, device drivers, compilers, assemblers, linkers, and utilities.
Software libraries that perform generic functions also tend to be regarded as system
software. System software stored on non-volatile storage on integrated circuits is
usually
termed firmware. These generally perform the background tasks in a computer. These
programs, many times, talk directly to the HW.
Application SW
Programs that generally interact with the user to perform work that is useful to the
user.
These programs generally talk to the HW through the assistance of system SW.

Question No: 18 ( Marks: 2 )


What is
the major difference between paragraph <p> and Line Break <BR> tags?
<P> … </P>
Paragraph
<BR>
Line break

Question No: 19 ( Marks: 2 )


Why
PASCAL was designed and what is the problem with PASCAL?
Answer,,

Pascal is very good for writing well-structured and readable programs, but it is not as
flexible as the C programming language
C++ embodies powerful object-oriented features, but it is complex and difficult to
learn
What changes in the field of computer languages can we expect in the near future

Question No: 20 ( Marks: 3 )


What are
the key requirements of E-commerce Software?
Answer..
E-Commerce Software
Key requirements:
Reliability
Security
Ability to handle 1000’s of transactions, simultaneously

Question No: 21 ( Marks: 3 )


Write
down the pseudo code for the following flow chart.
Answer…. Pseudo code
Flowcharts
Actual code
Pseudo Code
Language that is typically used for writing algorithms
Similar to a programming language, but not as rigid
The method of expression most suitable for a gi

Question No: 22 ( Marks: 5 )


(a) Write
down two positive features of client-side scripting.

Answet..

Reduced server load as it does not have to send messages to the user’s browser about
missing or incorrect data
Reduced network traffic as the form’s data is sent only once instead of many to’s and
fro’s

(b) Discuss two deficiencies of JavaScript.


Question No: 23 ( Marks: 5 )
What are
the key features of a word processor?

Question No: 1 ( Marks: 1 ) - Please choose one

Vacuum tubes were replaced by ___

► Punch cards

► Transistors

► Micro Processors

► Resistors

Question No: 2 ( Marks: 1 ) - Please choose one

Hexadecimal number system is based on -------------------- digits

►2

►8

► 12

► 16
Question No: 3 ( Marks: 1 ) - Please choose one

Java script interact with user through______________

► Special control

► Internet explorer

► Event handlers

► Java script does not interact with user

Question No: 4 ( Marks: 1 ) - Please choose one

Which one is correct for JavaScript?

► onMouseOver

► OnMouseOver

► onmouseover

► All of the given

Question No: 5 ( Marks: 1 ) - Please choose one

Programs that reside on Web servers and receive info that a user enters in a form, are
known as:
► Server-Side Scripts

► Client-Side Scripts

► Super Scripts

► Form Scripts

Question No: 6 ( Marks: 1 ) - Please choose one

The ______ is connected to all other modules of the microprocessor.

► Control unit

► Memory unit

► Floating Point unit

► Arithmetic and Logic unit

Question No: 7 ( Marks: 1 ) - Please choose one

WWW stands for:

► Wide World Web

► World Wide Web


► World White Web

► World Web Wide

Question No: 8 ( Marks: 1 ) - Please choose one

Supercomputers are used in:

► Weather forecasting

► Aeroplane mnufacturing

► Atomic bomb experiments

► All of the given choices

Question No: 9 ( Marks: 1 ) - Please choose one

Which one of these is NOT an example of storage devices?

► Tape

► RAM

► Floppy

► DVD

Question No: 10 ( Marks: 1 ) - Please choose one


To display a checkbox on the web page, we use ___ tag

► CHECKBOX

► CHECK

► INPUT

► INPUTBOX

Question No: 11 ( Marks: 1 ) - Please choose one

Users communicate with the computer using a consistent user interface provided by
the OS.

► True

► False

Question No: 12 ( Marks: 1 ) - Please choose one

OO software is all about _____________.

► Behaviors

► Methods

► Properties
► Objects

Question No: 13 ( Marks: 1 ) - Please choose one

Web standards are being developed by

► Mozilla

► Microsoft

► IBM

► World Wide Web Consortium

Question No: 14 ( Marks: 1 ) - Please choose one

_________ are great for showing parts of a whole that are generally expressed in
percentages.

► Line Charts

► Pie Charts

► Bar Charts

► None of the options described


Question No: 15 ( Marks: 1 ) - Please choose one

A diode is a __________terminal device

► Three

► Two

► One

► None of above

Question No: 16 ( Marks: 1 ) - Please choose one

Select the attribute of the <form> tag

► Method

► Action

► Value

► All of above

Question No: 17 ( Marks: 2 )


Explain briefly the different techniques that are used to embed JavaScript code in a
web page?
Answer., Client-side JavaScript code is embedded within HTML documents in a
number of ways:
• Between a pair of <script> and </script> tags
• From an external file specified by the src attribute of a <script> tag
• In an event handler, specified as the value of an HTML attribute such as onclick
or onmouseover
• As the body of a URL that uses the special javascript: protocol
The following sections document each of these JavaScript embedding techniques in
more detail. Together, they explain all the ways to include JavaScript in web pages --
that is, they explain the allowed structure of JavaScript programs on the client side.

Question No: 18 ( Marks: 2 )

What is an interpreter? Write its one benifit over compiler.


Answere

Interpreter is a program that executes instructions written in a high-level language


An interpreter translates high-level instructions into an intermediate form, which it
then
executes. In contrast, a compiler translates high-level instructions directly into
machine
language
Compiled programs generally run faster than interpreted programs.

compilation stage during which the whole of the high-level code is translated into
machine instructions in one go. This process can be time-consuming if the program is
long.
The interpreter can immediately execute high-level programs, without waiting for the
completion of the translation process
The choice of which language to use can also depend on the:
-Type of computer the program is to run on,
- Expertise of the programmer
Interpreters: immediate response, but execute code slowly.
Compilers: Takes longer to compile, but super-fast execution.

Question No: 19 ( Marks: 2 )

Whether response time of a microprocessor is greater or less than that of RAM?

A microprocessor incorporates most or all of the functions of a computer's central


processing unit (CPU) on a single integrated circuit (IC, or microchipThe first
microprocessors emerged in the early 1970s and were used for electronic calculators,
using binary-coded decimal (BCD) arithmetic in 4-bit words. Other embedded uses of
4-bit and 8-bit microprocessors, such as terminals, printers, various kinds of
automation etc, followed soon after. Affordable 8-bit microprocessors with 16-bit
addressing also led to the first general-purpose microcomputers from the mid-1970s
on.
During the 1960's, computer processors were often constructed out of small and
medium-scale ICs containing from tens to a few hundred transistors. The integration
of a whole CPU onto a single chip greatly reduced the cost of processing power. From
these humble beginnings, continued increases in microprocessor capacity have
rendered other forms of computers almost completely obsolete (see history of
computing hardware), with one or more microprocessors used in everything from the
smallest embedded systems and handheld devices to the largest mainframes and
supercomputers.
Since the early 1970s, the increase in capacity of microprocessors has been a
consequence of Moore's Law, which suggests that the complexity of an integrated
circuit, with respect to minimum component cost, doubles every two years
In the late 1990s, and in the high-performance microprocessor segment, heat
generation (TDP), due to switching losses, static current leakage, and other factors,
emerged as a leading developmental constraint

Question No: 20 ( Marks: 3 )


Write formula for the following expression.
1) If we want to add the value from cell C3 to C10 we can write
2) If we want to add the value of C2 to the value of C4 and than multiply by
C6 , the formula is written for

1.answer formula
=sum(c3:c10) then enter
=(c2+c10Xc6) then enter

Question No: 21 ( Marks: 3 )

How can we enter data in more than one line in an html form?

Question No: 22 ( Marks: 5 )

What is software life cycle?


SW Life-Cycle
The sequence of phases a SW goes through from the concept to decommissioning
It is important to think about all those phases before the design work starts
Thinking about the future phases generally results in:
Shorter delivery times
Reduced costs of development
A system of higher quality
A Case in Point
I didn’t discuss with the customer the specs of the HW & OS before developing a
particular e-commerce SW.
I wrote it for the HW/OS that was easily available to me.
Unfortunately that HW/OS combination differed from what was easily available to
the
client Result: Huge amount of rework. Higher cost. Delayed delivery. Lower quality.
Therefore, now before designing a SW system, I first write down the installation
manual,
and get it OK’d by the customer. I do the same with the Operation & Maintenance
manual as well.

Question No: 23 ( Marks: 5 )

Elaborate greedy algorithm definition with solid example in favour and one counter
example?
An algorithm that always takes the best immediate, or local solution while finding an
answer
Greedy algorithms may find the overall or globally optimal solution for some
optimization problems, but may find less-than-optimal solutions for some instances of
other problems
KEY ADVANTAGE: Greedy algorithms are usually faster, since they don't consider
the
details of possible alternatives
Greedy Algorithm: Counter Example
During one of the international cricket tournaments, one of the teams intentionally
lost a
match, so that they could qualify for the next round
If they had won that particular match, some other team would have qualified
This is an example of a non-greedy algorithm
Greedy Algorithm: Example
A skier skiing downhill on a mountain wants to get to the bottom as quickly as
possible
What sort of an algorithm should the skier be using?
The greedy-algorithm approach will be to always have the skies pointed towards the
largest downhill slope (dy/dx), at all times
What is the problem with that approach?
In what situations that will be the best algorithm?
In which situations would it perform poorly?

Question No: 1 ( Marks: 1 ) - Please choose one


The
impact of a digit in a number is determined by its ---------------

► Value
► Location
► Length
► None of above

Question No: 2 ( Marks: 1 ) - Please choose one


The
default bullet for the list in HTML is
► Circle shape

► Disc shape

► Square shape

► Triangle shape

Question No: 3 ( Marks: 1 ) - Please choose one


Command
which saves the selected text before deleting is
► Copy

► Delete

► Cut

► Undo

Question No: 4 ( Marks: 1 ) - Please choose one

Supercomputers are used in:


► Weather forecasting
► Aeroplane mnufacturing
► Atomic bomb experiments
► All of the given choices
Question No: 5 ( Marks: 1 ) - Please choose one
Which one
of these is NOT an example of storage devices?
► Tape
► RAM
► Floppy
► DVD

Question No: 6 ( Marks: 1 ) - Please choose one


_________
manages the HW and SW resources ( memory, disk drives etc) of the computer
system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 7 ( Marks: 1 ) - Please choose one

PowerBuilder falls in the category of ______________.

► Assembly Languages
► 4-th Generation Languages
► Machine Languages
► High-Level Languages

Question No: 8 ( Marks: 1 ) - Please choose one


OO
software is all about _____________.

► Behaviors
► Methods
► Properties
► Objects

Question No: 9 ( Marks: 1 ) - Please choose one


Java script
has ----------------- ability to create and draw graphics.

► Limited
► Versatile
► Medium

► Not at all

Question No: 10 ( Marks: 1 ) - Please choose one


Analytical
Engine is not a single physical machine but a succession of designs that Babbage
tinkered with until his death in 1871.
► True
► False

Question No: 11 ( Marks: 1 ) - Please choose one


Which
statement is true about JavaScript?

► It is object oriented language

► It is Structured Query language

► It is object based language

► None of the given

Question No: 12 ( Marks: 1 ) - Please choose one


Which one
of the following is Read Only property.
► None of the given options

► Fgcolcor

► Title

► Referrer

Question No: 13 ( Marks: 1 ) - Please choose one


Which of
the following memory retains its information when the power to the system is turned
off?

► RAM
► ROM
► DIMM
► DRAM

Question No: 14 ( Marks: 1 ) - Please choose one


Norton
utilities are a popular ----------design for window operating system.

► Antivirus program

► File compression utility

► Personal firewall

► Personal computer maintenance utility

Question No: 15 ( Marks: 1 ) - Please choose one


Form tag
has two main properties namely---------- and ------------.
► Method & Action

► Type

► Value
► Size

Question No: 16 ( Marks: 1 ) - Please choose one

Shareware, ---------------------and custom-built programs are not usually available


on the web for users to download.

► Freeware
► Shareware
► Trial ware
► Hardware

Question No: 17 ( Marks: 2 )


What is
Ockham’s Razor principle ?

Answer…
When choosing among competing, successful solutions to a problem, choose the one which is
the least
complex
This principle is called the “Ockham’s Razor,” after William of Ockham - famous
13-th
century English philosopher

Question No: 18 ( Marks: 2 )


What do
you mean by Comments?

Question No: 19 ( Marks: 2 )


How can
you open a link in a new browser window?
Question No: 20 ( Marks: 3 )
How
spreadsheet is helpful in doing “what-if” scenario analysis in a business? Explain
with the help of an example.

Question No: 21 ( Marks: 3 )


How do
you justify that UNIX is better than Windows operating system?

Question No: 22 ( Marks: 5 )


What is
the difference between checkboxes and radio button?

Question No: 23 ( Marks: 5 )


Draw
flowchart to find the sum and average of three numbers

Question No: 1 ( Marks: 1 ) - Please choose one

Cray-1 was first commercial _________ computer

► Super

► Mini

► Micro

► Personal

Question No: 2 ( Marks: 1 ) - Please choose one


__________ language is very good for writing well-structured and readable programs,
but it is not as flexible as the C programming language

► BASIC

► PASCAL

► JAVA

► FORTRAN

Question No: 3 ( Marks: 1 ) - Please choose one

What happens if I start a new list without closing the original one?

► An error will be generated

► A nested list will be created

► Previous list will end and a new will start.

► Nothing will happen

Question No: 4 ( Marks: 1 ) - Please choose one

A computer program that facilitates the communication between the computer and a
peripheral device is called___________________
► Operating system

► Utilities

► Language Translator

► Device Drives

Question No: 5 ( Marks: 1 ) - Please choose one

AutoCAD falls in the category of _________________

► Engineering Applications

► Graphics Applications

► Scientific Applications

► Business Applications

Question No: 6 ( Marks: 1 ) - Please choose one

Tag used to make a Text Bold is __________________

► <BOLD></BOLD>
► <B></B>

► <BODY></BODY>

► None of these

Question No: 7 ( Marks: 1 ) - Please choose one

Which one of these is NOT an example of embedded computers?

► IMB PC

► Microwave oven

► Refrigerator

► Calculator

Question No: 8 ( Marks: 1 ) - Please choose one

Supercomputers are used in:

► Weather forecasting

► Aeroplane manufacturing

► Atomic bomb experiments

► All of the given choices


Question No: 9 ( Marks: 1 ) - Please choose one

Which one of these is NOT an example of storage devices?

► Tape

► RAM

► Floppy

► DVD

Question No: 10 ( Marks: 1 ) - Please choose one

In which case Cache Memory is used

► To increase RAM speed

► To overcome BUS speed

► To overcome Speed rate between RAM and CPU

► To overcome CPU speed

Question No: 11 ( Marks: 1 ) - Please choose one

A set of stand alone productivity applications designed to work together known as


______________ .

► Productivity software suites


► Compiled software

► Secure software

► Intelligent software

Question No: 12 ( Marks: 1 ) - Please choose one

File handling in java script is done ___________.

► In more accurate way

► In more easy way

► Both more easy and in accurate way

► Not at all

Question No: 13 ( Marks: 1 ) - Please choose one

Which one of the following is a valid variable name?

► Break
► Switch

► Catch

► None of the given

Question No: 14 ( Marks: 1 ) - Please choose one

An algorithm that always takes the best immediate or local solution while finding an
answer is called_____________________

► Deterministic Algorithm

► Non deterministic Algorithm

► Greedy Algorithm

► Randomized Algorithm

Question No: 15 ( Marks: 1 ) - Please choose one

A B C D
4 ABC003 65 =c4=c4

Expression format in cell D4 is NOT correct.

► True

► False
Question No: 16 ( Marks: 1 ) - Please choose one

User interface provided by UNIX operating system is:

► Shell / GUI

► Shell Shell

► GUI

► Command line

Question No: 17 ( Marks: 2 )

What is meant by microprocessor's Instruction Set ?


Question No: 18 ( Marks: 2 )

What are the basic components of a program ?

Question No: 19 ( Marks: 2 )

Describe the function of an action attribute?

Question No: 20 ( Marks: 3 )

List down the names of any three parameters on which we analyze an algorithm.

Question No: 21 ( Marks: 3 )

What is a programming language? In traditional languages what was the problem by


keeping data and methods separate.

Question No: 22 ( Marks: 5 )

(a) Write down two positive features of client-side scripting.

(b) Discuss two deficiencies of JavaScript.

Question No: 23 ( Marks: 5 )


Write an HTML COde for the following Output on browser:

Male
Female
CS101 All Past Solved Mid Term Papers in one file
By
http://vustudents.ning.com

fall_2009_MIDTerm_CS101_s1_solved
MIDTERM EXAMINATION
Spring 2009
CS101- Introduction to Computing

Time: 60 min
Marks: 43

Question No: 1 ( Marks: 1 ) - Please choose one


A diode functions as the electronic version of a __________-way valve.
► one
► two
► three
► four

Question No: 2 ( Marks: 1 ) - Please choose one


What is name of book from which word algorithm is taken ?

► Algebra and trigonometry

► Introduction to algorithms

► Research for new horizons

► Algoritmi de numero Indorum

Question No: 3 ( Marks: 1 ) - Please choose one


<form> Tags always placed between the <BODY> and </BODY> tags of a Web
page
► True
► False

Question No: 4 ( Marks: 1 ) - Please choose one


_______ consists of cells arranged in rows & columns
► Spreadsheets Software
► Word processor
► Presentation Software
► Microsoft Paint Software

http://vustudents.ning.com 1
Question No: 5 ( Marks: 1 ) - Please choose one
_____ was designed as a replacement for typewriter
► Spreadsheet Software
► Word Processor Software
► Presentation Software
► Database Software

Question No: 6 ( Marks: 1 ) - Please choose one


_________ manages the HW and SW resources ( memory, disk drives etc) of
the computer system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 7 ( Marks: 1 ) - Please choose one


To display a radio button on the web page, we use ___ tag
► INPUTBUTTON
► INPUT
► RADIOBUTTON
► RADIO

Question No: 8 ( Marks: 1 ) - Please choose one


Machine language is also called
► Assembly Language
► Binary Language
► High Level Language
► HTML Language

Question No: 9 ( Marks: 1 ) - Please choose one


When the user needs something to be done by the computer, he/she gives
instructions in the form of _____ to computer ____
► Software, Hardware
► Hardware, Software
► System Software, Application Software
► Graph, Monitor

Question No: 10 ( Marks: 1 ) - Please choose one


A truth table defines the _________of a logic function for all possible _________
► Input -- Outputs
► Output -- Inputs
► Process -- Inputs
► Input -- Processes

http://vustudents.ning.com 2
Question No: 11 ( Marks: 1 ) - Please choose one
Which one is correct?

► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>

Question No: 12 ( Marks: 1 ) - Please choose one


WWW stands for:
► Wide World Web
► World Wide Web
► World White Web
► World Web Wide

Question No: 13 ( Marks: 1 ) - Please choose one


A _________translates a high-level language (that is easy to understand for
humans) into a language that the computer can understand
► Computer
► Transistor
► Compiler
► Device

Question No: 14 ( Marks: 1 ) - Please choose one


Deep Blue was the name of
► computer
► human
► city
► game

Question No: 15 ( Marks: 1 ) - Please choose one


Data travels through bus in the form of ---------------------------

► Packets
► Bits
► Bytes
► Word

Question No: 16 ( Marks: 1 ) - Please choose one


Command which saves the selected text before deleting is
► Copy
► Delete
► Cut
► Undo

http://vustudents.ning.com 3
Question No: 17 ( Marks: 1 ) - Please choose one
AutoCAD falls in the category of _________________

► Engineering Applications

► Graphics Applications

► Scientific Applications

► Business Applications

Question No: 18 ( Marks: 1 ) - Please choose one


In Spreadsheets, you can create a relationship between two cells by using
_____.

► Numbers
► Text
► Formulas
► None of the given choices

Question No: 19 ( Marks: 1 ) - Please choose one


Which of the following symbol is used for multiple line comments in JavaScript?

►/
► //
► /*
► //*

Question No: 20 ( Marks: 1 ) - Please choose one


____________ is a system software that converts the source code written in
high level language into machine language code.
► Utilities
► Drivers
► Language Translator
► None of the these

Question No: 21 ( Marks: 1 ) - Please choose one


__________ is a particularly good language for processing numerical data, but it
does not lend itself very well to large business programs

► BASIC
► PASCAL
► JAVA
► FORTRAN

http://vustudents.ning.com 4
Question No: 22 ( Marks: 1 ) - Please choose one
Which of the following number system is used by microprocessor?

► Binary
► Decimal
► Octal
► Hexadecimal

Question No: 23 ( Marks: 1 ) - Please choose one


The __________Processor is specially designed for PDA?
► PowerPC
► StrongARM
► Crusoe
► SPARC

Question No: 24 ( Marks: 1 ) - Please choose one


Mainframe Computers are also called _____
► Enterprise Servers
► Personal Servers
► Enterprise Managers
► Window Servers

Question No: 25 ( Marks: 1 ) - Please choose one


URL is a/an ________
► Device
► Component
► Address
► Tool

Question No: 26 ( Marks: 1 ) - Please choose one


Ada, Countess of Lovelace developed first:
► Computer
► Website
► Computer Program
► Analytical engine

Question No: 27 ( Marks: 1 )


What is the problem with Brute Force Strategy approach

http://vustudents.ning.com 5
Fall_2009_MIDTerm_CS101_s2_solved
MIDTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing s2

Question No: 1 ( Marks: 1 ) - Please choose one

Human are better than computers at:

► Efficiency

► Accuracy

► Pattern recognition

► None of the given choices

Question No: 2 ( Marks: 1 ) - Please choose one

Cray-1 was first commercial _________ computer

► Super

► Mini

► Micro

► Personal

Question No: 3 ( Marks: 1 ) - Please choose one

URL is a/an ________

► Device

► Component

► Address

► Tool

http://vustudents.ning.com 6
Question No: 4 ( Marks: 1 ) - Please choose one

Mainframe Computers are also called _____

► Enterprise Servers

► Personal Servers

► Enterprise Managers

► Window Servers

Question No: 5 ( Marks: 1 ) - Please choose one

Which of the following is NOT a category of Mobile Computers?

► Laptop

► Palmtop

► Desktop

► Wearable

Question No: 6 ( Marks: 1 ) - Please choose one

Preliminary exploration of possible solutions, technologies, suppliers is called

► Viability

► Feasibility

► Specification

► Integration

http://vustudents.ning.com 7
Question No: 7 ( Marks: 1 ) - Please choose one

__________ give us the ability to manipulate data through reference instead of actual value.

► Constants

► Variables

► Data Types

► Operators

Question No: 8 ( Marks: 1 ) - Please choose one

Consider the following statement written in JavaScript:

str = ”Hello” + ” World”

What will be the value of str ?

► HelloWorld

► Hello World

► Hello + World

► It will result in error

Question No: 9 ( Marks: 1 ) - Please choose one

A tool that helps you to find the synonyms is called ______________.

► Language

► Paragraph

► Thesaurus

► Symbol

http://vustudents.ning.com 8
Question No: 10 ( Marks: 1 ) - Please choose one

Communication protocol is a __________that governs the flow of information over a network

► Set of protocols

► Set of rules

► Device

► Set of methods

Question No: 11 ( Marks: 1 ) - Please choose one

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

► think like human beings

► do the things faster

► win a million dollar prize

► store more information

Question No: 12 ( Marks: 1 ) - Please choose one

The first Web browser with a GUI was generally available in:

► 1992

► 1993

► 1994

► 1995

http://vustudents.ning.com 9
Question No: 13 ( Marks: 1 ) - Please choose one

Web is a unique invention by humans in terms that it is:

► accessible to only the owners who control it

► accessible from particular locations only

► accessible to all humans

► accessible to only the educational institutes

Question No: 14 ( Marks: 1 ) - Please choose one

In this URL http://www.msn.com , _____identifies the domain name

► http

► www

► msn

► com

Question No: 15 ( Marks: 1 ) - Please choose one

______ is simply a fast port that lets you connect computer peripherals and consumer
electronics to your computer without restart.

► Freeware

► Shareware

► Firewire

► Firmware

http://vustudents.ning.com 10
Question No: 16 ( Marks: 1 ) - Please choose one

Which of the following is NOT supported by PC's power supply.

► -12 and +12 V DC

► -10 and +10 V DC

► -5 and + 5 V DC

► All are supported

Question No: 17 ( Marks: 1 ) - Please choose one

In which case Cache Memory is used

► To increase RAM speed

► To overcome BUS speed

► To overcome Speed rate between RAM and CPU

► To overcome CPU speed

Question No: 18 ( Marks: 1 ) - Please choose one

To display a single line text area on the web page, we use ___ tag

► TEXT

► TEXTBOX

► INPUT

► INPUTBOX

http://vustudents.ning.com 11
Question No: 19 ( Marks: 1 ) - Please choose one

If an algorithm is syntactically correct, but semantically incorrect then this situation is

► Very good situation

► Very dangerous situation

► Not very bad

► Neutral situation

Question No: 20 ( Marks: 1 ) - Please choose one

Users communicate with the computer using a consistent user interface provided by the
OS.

► True

► False

Question No: 21 ( Marks: 1 ) - Please choose one

Application developers do not need to know much about the HW, especially the
microProcessor, while they are developing their application.

► True

► False

Question No: 22 ( Marks: 1 ) - Please choose one

The first spread sheet program was invented by

► Charles Babbage

► Dan Bricklin

► Paul Graham

► John von Neumann

http://vustudents.ning.com 12
Question No: 23 ( Marks: 1 ) - Please choose one

Which representation technique of algorithm is more suitable for developer to make actual
code___________.

► pseudo code

► flow chart

► both pseudo code and flow chart

► Heuristics

Question No: 24 ( Marks: 1 ) - Please choose one

_____________ is used to terminate all JavaScript statements.

► Colon

► Semicolon

► Underscore

► Apostrophe

Question No: 25 ( Marks: 1 ) - Please choose one

In java script cookies can be created for future use_____.

► Easily

► No facility at all

► This is not possible without Java language.

► Cookies are files so java script can not handle it.

http://vustudents.ning.com 13
Question No: 26 ( Marks: 1 ) - Please choose one

When the microprocessor desires to look at a piece of data, it checks in the __________
first.

► RAM

► ROM

► hard disk

► cache

Question No: 27 ( Marks: 1 )

What is the basic difference between 'magnetic tapes' and 'floppy disks' ?

Question No: 28 ( Marks: 1 )

What was the name of first microprocessor built by Intel ?

Question No: 29 ( Marks: 2 )

What was the name of first super computer. When it was introduced?

Question No: 30 ( Marks: 3 )

Write a short note on blue pacific Super Computer.

Question No: 31 ( Marks: 5 )

What are JavaScript literal and what are its types?

Question No: 32 ( Marks: 5 )

Can you say that URL and semantic web sites are same? Justify your answer by defining the
both terms?

http://vustudents.ning.com 14
Fall_2009_MIDTerm_CS101_s3_solved

MIDTERM EXAMINATION

Fall 2009

CS101- Introduction to Computing (Session - 3)

Time: 60 min

Marks: 43

Question No: 1 ( Marks: 1 ) - Please choose one

Vacuum tubes were replaced by _transistors__

► Punch cards

► Transistors

► Micro Processors

► Resistors

Question No: 2 ( Marks: 1 ) - Please choose one

Today’s computers are based on the technology of ___transistors__

► Punch cards

► Vacuum tubes

► Transistors

► Resistors

http://vustudents.ning.com 15
Question No: 3 ( Marks: 1 ) - Please choose one

Browser is a _________none of the given choices_________ used for


browsing.

► Tool

► Component

► Device

► None of the given choices

Question No: 4 ( Marks: 1 ) - Please choose one

It represents the ______input or output__________ flow chart element.

► Process

► Input or Output

► Decision

► Connector

Question No: 5 ( Marks: 1 ) - Please choose one

Which of the following number system is used by microprocessor? Binary

► Binary

► Decimal

► Octal

► Hexadecimal

http://vustudents.ning.com 16
Question No: 6 ( Marks: 1 ) - Please choose one

Hexadecimal number system is based on ----------16---------- digits

►2

►8

► 12

► 16

Question No: 7 ( Marks: 1 ) - Please choose one

Java script interact with user through______Event handlers________

► Special control

► Internet explorer

► Event handlers

► Java script does not interact with user

Question No: 8 ( Marks: 1 ) - Please choose one

Programs that are typically started from a shell (or automatically via a scheduler)
are called Batch programs

► Batch programs

► Event-driven programs

► Sequential programs

► Application programs

http://vustudents.ning.com 17
Question No: 9 ( Marks: 1 ) - Please choose one

A new cell using HTML is added in table row by <TD>..</TD>

► <TC>…</TC>

► <TR>…</TR>

► <TD>…</TD>

► <NC>…</NC>

Question No: 10 ( Marks: 1 ) - Please choose one

Waterfall is a __sequential_______ life-cycle model.

► Spiral

► Sequential

► Circular

► Spherical

Question No: 11 ( Marks: 1 ) - Please choose one

What will be the result of the following formula in Spreadsheet application ?

SUM(A2:A3) =_______100__(Assume that A2 = 25 A3 = 75)

► 25

► 50

► 75

► 100

http://vustudents.ning.com 18
Question No: 12 ( Marks: 1 ) - Please choose one

A _____multi user_______ operating system allows many users to take


advantage of the computer's resources, simultaneously

► Single user

► Multi- user

► Single tasking

► Multi tasking

Question No: 13 ( Marks: 1 ) - Please choose one

When we use <INPUT type=“password”>, what will happen? Text will be in ****
format

► Text will not be visible

► Text will be in normal format

► Text will be in **** format

► Text will be in #### format

Question No: 14 ( Marks: 1 ) - Please choose one

The world first computer program was written to compute: bernoulli’s sequence

► Simple sequence

► Multiple sequence

► Bernoulli’s sequence

► Increasing sequence

http://vustudents.ning.com 19
Question No: 15 ( Marks: 1 ) - Please choose one

The first Web browser with a GUI was generally available in: 1993

► 1992

► 1993

► 1994

► 1995

Question No: 16 ( Marks: 1 ) - Please choose one

ASCII WHITE is the fastest Super computer which can perform __1.3
trillion________ calculations in one second.

► 1.3 billion

► 1.3 trillion

► 1.3 miillion

► 1.3 thousand

Question No: 17 ( Marks: 1 ) - Please choose one

Monitor is an example of: output device

► Input Device

► Processing Device

► Output Device

► Storage Device

http://vustudents.ning.com 20
Question No: 18 ( Marks: 1 ) - Please choose one

Forms can be submitted through _____get__ & __post_____ methods

► INCLUDE, POST

► INCLUDE, GET

► GET, POST

► SEND, POST

Question No: 19 ( Marks: 1 ) - Please choose one

_kernel______ is responsible for all the essential operations like basic house
keeping, task scheduling, etc. Also contains low-level HW interfaces

► Hardware

► Device Manager

► Kernel

► Device Driver

Question No: 20 ( Marks: 1 ) - Please choose one

Which of the following is NOT an Application Software. Windows XP

► Word Processor

► Web Browser

► Windows XP

► MS Excel

http://vustudents.ning.com 21
Question No: 21 ( Marks: 1 ) - Please choose one

Bit-mapped graphics is also known as _____raster___ graphics

► Vector

► Raster

► Scalar

► Simple

Question No: 22 ( Marks: 1 ) - Please choose one

A set of stand alone productivity applications designed to work together known


as ___Productivity software suites___________ .

► Productivity software suites

► Compiled software

► Secure software

► Intelligent software

Question No: 23 ( Marks: 1 ) - Please choose one

_____semicolon________ is used to terminate all JavaScript statements.

► Colon

► Semicolon

► Underscore

► Apostrophe

http://vustudents.ning.com 22
Question No: 24 ( Marks: 1 ) - Please choose one

By today's standards, the Mark-I was slow and requiring 3 to 5 seconds for a
multiplication operation. True

► True

► False

Question No: 25 ( Marks: 1 ) - Please choose one

There are______NO Standard___________ rules to write the Pseudo Code.

► Standard

► No standard

► Pre-defined

► Strict

Question No: 26 ( Marks: 1 ) - Please choose one

In flow charts, there is only one entry point in conditions while there
is/are_____2_____ exit points.

►1

►2

►3

►4

http://vustudents.ning.com 23
Question No: 27 ( Marks: 1 )

Define URL

URL(Uniform resource locator)

URL (Uniform Resource Locator, previously Universal Resource Locator) - is the


address of a file (resource) accessible on the Internet. The type of file or
resource depends on the Internet application protocol.

Examples of URLs: http://vu.edu.pk

http://www.yahoo.com

Question No: 28 ( Marks: 1 )

What is Randomized Algorithm?

Randomized Algorithm:

Any algorithm whose behavior is not only determined by the input, but also
values produced by a random number generator

These algorithms are often simpler and more efficient than deterministic
algorithms for the same problem. And because of there simplicity they are easier
to analyze which is the most important thing in the decision making of an
algorithm.

Question No: 29 ( Marks: 2 )

What was the name of first super computer. When it was introduced?

CRAY1 is the first computer and it was introduced in 1973

Question No: 30 ( Marks: 3 )

How a designer makes Structured Design?

Structured Design is known as a Top-down design.

The designed first conceives about the High level design and then further
designs the details of the high level design components and it goes on and on.

http://vustudents.ning.com 24
Making small changes in the functionality of the systems sometimes leads to
major re-design exercise. Structured design separates the functionality from
programs data and that’s why program’s deisgned by this methodology are
difficult to maintain.

Question No: 31 ( Marks: 5 )

Why microprocessor uses the binary number system and not the decimal or any
other number system?

The processor is the logic of a computer and functions comparably to a human


central nervous system, directing signals from one component to another and
enabling everything to happen. A microprocessor is made from miniaturized
transistors and other circuit elements on a single

semiconductor integrated circuit (IC) . These are made up oof semiconductor and
silicon.

Microprocessor are composed of components which has only two states either 0
or 1. Binary number system is also composed of these two states.

Microprocessor till today only understand the machine language and machine
language is only based on binary number system. Even today’s 64 bit
microprocessors are also based on this technology.

Question No: 32 ( Marks: 5 )

Why do we need an Interactive Form in a webpage?

1. Interactive forms are used to gather user data and interact with the user.
2. Forms can be made interactive with the use of client side scripting and
server side sciprting.
3. In HTML, <FORM> </FORM> tag is used to insert the form in a web page
and it always lie in <BODY></BODY> html tag.
4. without form’s web site is only “READ ONLY”.
5. with the help of forms a user and can search the contents, place order for
goods and services.
6. Forms can be simple or very complex, based on the requirement.
7. forms can contain a single element or many e.g text area, buttons

http://vustudents.ning.com 25
Fall2009_MIDTerm_CS101_s4_solved
MIDTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 4)
Time: 60 min
Marks: 43

Question No: 1 ( Marks: 1 ) - Please choose one


Human are better than computers at:
► Pattern recognition

► Efficiency
► Accuracy
► Pattern recognition
► None of the given choices

Question No: 2 ( Marks: 1 ) - Please choose one


The memory size of the Altair 8800 was► 256 bytes
► 128 bytes
► 128 Kilo bytes
► 256 Kilo bytes
► 256 bytes

Question No: 3 ( Marks: 1 ) - Please choose one


Information on World Wide Web is __► Logically _____________ unified.
► Physically
► Logically
► Really
► None of the given choices

Question No: 4 ( Marks: 1 ) - Please choose one


Mainframe Computers are also called _► Enterprise Servers ____
► Enterprise Servers
► Personal Servers
► Enterprise Managers
► Window Servers

Question No: 5 ( Marks: 1 ) - Please choose one


Which of the following is NOT a category of Mobile
Computers? ► Desktop
► Laptop
► Palmtop
► Desktop

http://vustudents.ning.com 26
► Wearable

Question No: 6 ( Marks: 1 ) - Please choose one


Hexadecimal number system is based on -----► 16--------------- digits
►2
►8
► 12
► 16

Question No: 7 ( Marks: 1 ) - Please choose one


<UL> tag is used to► create unordered list
► underline text
► end the line
► create ordered list
► create unordered list

Question No: 8 ( Marks: 1 ) - Please choose one


Bringing subsystems together to form the system is called ► Merging

► Integration
► Merging
► Splitting
► Operation & Maintenance

Question No: 9 ( Marks: 1 ) - Please choose one


► Variables
__________ give us the ability to manipulate data through reference instead of
actual value.

► Constants
► Variables
► Data Types
► Operators

Question No: 10 ( Marks: 1 ) - Please choose one


In spreadsheets, cell address A12 means _ ► Row 12, Cloumn A
______.

► Row A, Cloumn 12
► Row 12, Cloumn A
► Row 2,Cloumn A1
► Row A1, Cloumn 2

http://vustudents.ning.com 27
Question No: 11 ( Marks: 1 ) - Please choose one
Which of the following is/are the parts of Operating system components?
► All of these

► GUI
► Device Manager
► Shell
► All of these

Question No: 12 ( Marks: 1 ) - Please choose one


The key feature of Scientific/Engineering/Graphics applications is
__ ► Reliability

__________

► Intense calculations

► User-friendly

► Reliability

► Cost-effective

Question No: 13 ( Marks: 1 ) - Please choose one


Command which saves the selected text before deleting is
► Cut

► Copy
► Delete
► Cut
► Undo

Question No: 14 ( Marks: 1 ) - Please choose one


All the hardware components of the Computer system are installed on--
► Motherboard -----------.

► Microprocessor
► Motherboard
► Monitor
► Memory

http://vustudents.ning.com 28
Question No: 15 ( Marks: 1 ) - Please choose one
By default in a web page Hyper Link for another web page is represented as
_ Blue and Underlined _______________

► Blue only
► Black and Underlined
► Blue and Bold
Blue and Underlined ►

Question No: 16 ( Marks: 1 ) - Please choose one


A microprocessor can be made more powerful by increasing its _► Clock
frequency _______

► Clock frequency
► Word length
► Clock frequency and Word length
► None of above

Question No: 17 ( Marks: 1 ) - Please choose one


► Website
_______ is a related collection of WWW files that includes a beginning file called
a homepage
► HTML
► Website
► HTTP
► Web page

Question No: 18 ( Marks: 1 ) - Please choose one


Structures, in which another list starts before the first list is finished, are
called: ► Nested Lists
► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists

Question No: 19 ( Marks: 1 ) - Please choose one


When the user needs something to be done by the computer, he/she gives
instructions in the form of _Software____ to computerHardware ____
► Software, Hardware
► Hardware, Software
► System Software, Application Software
► Graph, Monitor

http://vustudents.ning.com 29
Question No: 20 ( Marks: 1 ) - Please choose one
Application developers do not need to know much about the_► Hardware
________ while they are developing their applications
► Software
► Hardware
► Operating System
► Kernel

Question No: 21 ( Marks: 1 ) - Please choose one


Which of the following is NOT an Application Software. Windows XP

► Word Processor

► Web Browser

► Windows XP

► MS Excel

Question No: 22 ( Marks: 1 ) - Please choose one


Web Pages developed for human as well computer understanding are called
as; ► Dynamic Web Pages
► Static Web Pages
► Semantic Web Pages
► Dynamic Web Pages
► Java Web Pages

Question No: 23 ( Marks: 1 ) - Please choose one


JavaScript stores all numbers as _► ► Strings
______________.

► Integers
► Floating point numbers
► Strings
► Character values

http://vustudents.ning.com 30
Question No: 24 ( Marks: 1 ) - Please choose one
Java script and HTML are__► Java script is case sensitive but HTML is
not ________.

► case sensitive

► Not case sensitive

► Java script is case sensitive but HTML is not

► HTML is case sensitive but Java script is not

Question No: 25 ( Marks: 1 ) - Please choose one


A diode functions as the electronic version of a _ two _________-way valve.
► one
► two
► three
► four

Question No: 26 ( Marks: 1 ) - Please choose one


The first -► Transistor -------------was invented at Bell Laboratories on
December 16, 1947 by William Shockley.

► Transistor

► Vacuum Tube

► Punch card

► Transmitter

Question No: 27 ( Marks: 1 )


What are compilers used for ?
Ans: compiler is a softwear that can translate the whole programe
in once.it also save the program.
Question No: 28 ( Marks: 1 )
What is Script?
Ans: script is a sequence of steps to carry out a work by processor And manage
by a language like Javascript and vb scripts.

Question No: 29 ( Marks: 2 )


What is <P> tag in HTML and How it is different from <br> tag?

http://vustudents.ning.com 31
Ans: <p> is used for paragraph in HTML language it has a closing tag </p>
unlike <br> which has no closing tag. Br only used to break the current line while
<p> can be used for more lines
Question No: 30 ( Marks: 3 )
How can you manipulate the address of a file (resource) accessible on the
Internet?
World wide web ,URL, domain name
www.youtube.com

Question No: 31 ( Marks: 5 )


Write Hyper Link for a Web Page and for an Email Address.
Ans: Following are the Hyper link for a web page
www.vu.edu .pk
www.yahoo.com
www.hotmail.com

following are the hyperlinks for Email address


rashidumer50@yahoo.com
rashidumer50@hotmail.c
Question No: 32 ( Marks: 5 )
Write down the requirement of Desktop Publishing?
User requirement

Softwear requirements
. Laser printer
Scanner
DESktop publishing softwears
e.g
adobe page maker
Ms publisher
High end pc with a large screen monitor
Formate
Numerical data
Text
Phograph
Charts

http://vustudents.ning.com 32
Spring2009_MIDTerm_CS101_s6_solved
MIDTERM EXAMINATION
Spring 2009
CS101- Introduction to Computing (Session - 6)

Time: 60 min

Marks: 43

Question No: 1 ( Marks: 1 ) - Please choose one

Cray-1 was first commercial _________ computer

► Super

► Mini

► Micro

► Personal

Question No: 2 ( Marks: 1 ) - Please choose one

Browser is a __________________ used for browsing.

► Tool

► Component

► Device

► None of the given choices

http://vustudents.ning.com 33
Question No: 3 ( Marks: 1 ) - Please choose one

It represents the _____________ flow chart element.

► Flow Line

► Connector

► Off-page connector

► Start or Stop

Question No: 4 ( Marks: 1 ) - Please choose one

JavaScript is an example of _____________ language.

► Object-based

► Object-oriented

► Machine

► Assembly

Question No: 5 ( Marks: 1 ) - Please choose one

The set of rules and guidelines a team of developers follow to construct


reasonably complex SW systems is called

► Object Oriented Design

► Object Oriented Software

► Design Methodology

► Programming language

http://vustudents.ning.com 34
Question No: 6 ( Marks: 1 ) - Please choose one

Waterfall is a _________ life-cycle model.

► Spiral

► Sequential

► Circular

► Spherical

Question No: 7 ( Marks: 1 ) - Please choose one

What happens if I start a new list without closing the original one?

► An error will be generated

► A nested list will be created

► revious list will end and a new will start.

► Nothing will happen

Question No: 8 ( Marks: 1 ) - Please choose one

In Spreadsheets, you can create a relationship between two cells by using


_____.

► Numbers

► Text

► Formulas

► None of the given choices

http://vustudents.ning.com 35
Question No: 9 ( Marks: 1 ) - Please choose one

VisiCalc was the first popular _______application on PC’s.

► Spreadsheet

► Word processor

► Presentation

► Database

Question No: 10 ( Marks: 1 ) - Please choose one

Fins are used to --------------

► Communicate with microprocessor

► Increase surface area of Fan

► Decrease surface area of Fan

► Speed up the Fan.

Question No: 11 ( Marks: 1 ) - Please choose one

Using only HTML we can create

► Dynamic web pages

► Static web pages

► Both Static and Dynamic pages

► None of these

http://vustudents.ning.com 36
Question No: 12 ( Marks: 1 ) - Please choose one

Everything that JavaScript manipulates is treated as:

► Object

► Window

► Text

► Script

Question No: 13 ( Marks: 1 ) - Please choose one

The ______ is connected to all other modules of the microprocessor.

► Control unit

► Memory unit

► Floating Point unit

► Arithmetic and Logic unit

Question No: 14 ( Marks: 1 ) - Please choose one

Communication protocol is a __________that governs the flow of information


over a network

► Set of protocols

► Set of rules

► Device

► Set of methods

http://vustudents.ning.com 37
Question No: 15 ( Marks: 1 ) - Please choose one

_________ is the interface in computer that supports transmission of multiple


bits at the same time.

► Serial Port

► Parallel Port

► Universal Serial Bus

► None of the given choices

Question No: 16 ( Marks: 1 ) - Please choose one

_____ was designed as a replacement for typewriter

► Spreadsheet Software

► Word Processor Software

► Presentation Software

► Database Software

Question No: 17 ( Marks: 1 ) - Please choose one

Which one of these translates the program once at a time ?

► Interpreter

► Compiler

► Operating system

► Translator

http://vustudents.ning.com 38
Question No: 18 ( Marks: 1 ) - Please choose one

Randomized algorithms are often ________ than deterministic algorithms for the
same problem.

► Simpler and more slow

► Simpler and more efficient

► Complex and more efficient

► Complex and more slow

Question No: 19 ( Marks: 1 ) - Please choose one

Ada written a computer programme for ?

► Analytical Engine

► Difference Engine

► Harvard Mark 1

► Mechanical engine

Question No: 20 ( Marks: 1 ) - Please choose one

A test proposed to determine if a computer has the ability to think. It is called?

► Turing test

► Turning test

► Intelligence test

► None

http://vustudents.ning.com 39
Question No: 21 ( Marks: 1 ) - Please choose one

The most used form tag is the <input> tag.

► True

► False

Question No: 22 ( Marks: 1 ) - Please choose one

When the user clicks on the "Submit" button, the content of the form is sent to
the server.

► True

► False

Question No: 23 ( Marks: 1 ) - Please choose one

Extension for saving web page is / are;

► *.html

► *.htm

► *.html and *.htm both are in use

► None of These

http://vustudents.ning.com 40
Question No: 24 ( Marks: 1 ) - Please choose one

In spread sheet a cell may contain

► Numbers

► Text

► Formulas

► All of the given

Question No: 25 ( Marks: 1 ) - Please choose one

Programs where no user interaction found during program execution are called
__________.

► Batch programs

► Event-driven programs

► Graphics based programs

► None of the given

Question No: 26 ( Marks: 1 ) - Please choose one

OO software is all about _____________.

► Behaviors

► Methods

► Properties

► Objects

http://vustudents.ning.com 41
Question No: 27 ( Marks: 1 )

What is the key feature of batch programs?

Answer: The key feature is no user interaction with computer while a program is
running.

Question No: 28 ( Marks: 1 )

Name two languages which are used for client side scripting?

Answer: Javascript , VBscript

Question No: 29 ( Marks: 2 )

What is the purpose of MODEM ?

Answer: It receive data analog signal from a phone line and then convert them
into digital signal and send back to the computer with which it is attached. It also
receives data from computer and convert it into analog signals.

Question No: 30 ( Marks: 3 )

What is Home Page of a web site?

Answer: For a web user it is a first page displayed when a user starts a web
browser and for a web developer it is a first page when a user selects a site.

Question No: 31 ( Marks: 5 )

Why microprocessor uses the binary number system and not the decimal or any
other number system?

Answer: Because this system is natural for digital computer. Digital computer
have fundamental building blocks like ON & OFF Etc so it is natural to represent
those in a number system that has only two symbols e.g Binary Numbers 0,1.
Whereas decimal system is natural for human.

http://vustudents.ning.com 42
Question No: 32 ( Marks: 5 )

What is the difference between Interactive-mode and Batch-mode Application


Software?

Answer: Batch-mode: This Mode Program has no user interaction with computer
while a program is running e.g Paroll

Interactive-mode: The user runs the program on the computer and keeps
interacting with the computer while a program is running e.g word processor

http://vustudents.ning.com 43
www.virtualinspire.com
MIDTERM EXAMINATION
CS101- Introduction to Computing (Session - 5)
Question No: 1 ( Marks: 1 ) - Please choose one
The impact of a digit in a number is determined by its ---------------

► Value
► Location
► Length
► None of above

Question No: 2 ( Marks: 1 ) - Please choose one


The default bullet for the list in HTML is
► Circle shape

► Disc shape

► Square shape

► Triangle shape

Question No: 3 ( Marks: 1 ) - Please choose one


Command which saves the selected text before deleting is
► Copy

► Delete

► Cut

► Undo

Question No: 4 ( Marks: 1 ) - Please choose one


Supercomputers are used in:
► Weather forecasting
► Aeroplane mnufacturing
► Atomic bomb experiments
► All of the given choices

Question No: 5 ( Marks: 1 ) - Please choose one


Which one of these is NOT an example of storage devices?
► Tape
► RAM
► Floppy
www.virtualinspire.com
► DVD

Question No: 6 ( Marks: 1 ) - Please choose one


_________ manages the HW and SW resources ( memory, disk drives etc) of the
computer system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 7 ( Marks: 1 ) - Please choose one


PowerBuilder falls in the category of ______________.

► Assembly Languages
► 4-th Generation Languages
► Machine Languages
► High-Level Languages

Question No: 8 ( Marks: 1 ) - Please choose one


OO software is all about _____________.

► Behaviors
► Methods
► Properties
► Objects

Question No: 9 ( Marks: 1 ) - Please choose one


Java script has ----------------- ability to create and draw graphics.

► Limited
► Versatile
► Medium

► Not at all

Question No: 10 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
Analytical Engine is not a single physical machine but a succession of designs that
Babbage tinkered with until his death in 1871.
► True
► False

Question No: 11 ( Marks: 1 ) - Please choose one


Which statement is true about JavaScript?

► It is object oriented language

► It is Structured Query language

► It is object based language

► None of the given

Question No: 12 ( Marks: 1 ) - Please choose one


Which one of the following is Read Only property.
►None of the given options

►Fgcolcor

►Title

►Referrer

Question No: 13 ( Marks: 1 ) - Please choose one


Which of the following memory retains its information when the power to the
system is turned off?

RAM
ROM
DIMM
DRAM

Question No: 14 ( Marks: 1 ) - Please choose one


Norton utilities are a popular ----------design for window operating system.

► Antivirus program
www.virtualinspire.com
► File compression utility

► Personal firewall

► Personal computer maintenance utility

Question No: 15 ( Marks: 1 ) - Please choose one


Form tag has two main properties namely---------- and ------------.

►Method & Action

►Type

►Value
►Size

Question No: 16 ( Marks: 1 ) - Please choose one


Shareware, ---------------------and custom-built programs are not usually available
on the web for users to download.

►Freeware
►Shareware
►Trial ware
►Hardware

Question No: 17 ( Marks: 2 )


What is Ockham’s Razor principle ?

Question No: 18 ( Marks: 2 )


What do you mean by Comments?

Question No: 19 ( Marks: 2 )


How can you open a link in a new browser window?
Question No: 20 ( Marks: 3 )
How spreadsheet is helpful in doing “what-if” scenario analysis in a business?
Explain with the help of an example.

Question No: 21 ( Marks: 3 )


How do you justify that UNIX is better than Windows operating system?
www.virtualinspire.com
Question No: 22 ( Marks: 5 )
What is the difference between checkboxes and radio button?

Question No: 23 ( Marks: 5 )


Draw flowchart to find the sum and average of three numbers
www.virtualinspire.com
Question No: 1 ( Marks: 1 ) - Please choose one

It represents the _____________ flow chart element.

► Flow Line

► Connector
► Off-page connector
► Start or Stop

Question No: 2 ( Marks: 1 ) - Please choose one


What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity

Question No: 3 ( Marks: 1 ) - Please choose one


__________% of the users have left websites in frustration due to poor navigation.
► 40

► 62
► 83
► 91

Question No: 4 ( Marks: 1 ) - Please choose one


In JavaScript, a variable declaration is

► Optional
► Mandatory
► Not allowed
► None of the given

Question No: 5 ( Marks: 1 ) - Please choose one


A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP

Question No: 6 ( Marks: 1 ) - Please choose one


Which is correct?

► onUnload
www.virtualinspire.com
► onUnLoad

► onUNLOAD

► All of the above

Question No: 7 ( Marks: 1 ) - Please choose one


Serial arrangement in which things follow logical order or a recurrent pattern, such as
statements executing one by one, is called __________.
► Loop
► Sequence
► Condition
► Array

Question No: 8 ( Marks: 1 ) - Please choose one


Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference
► Length
► Name

Question No: 9 ( Marks: 1 ) - Please choose one


Fuzzy logic is based on ____________.
► Ground facts
► Experience
► Practice
► Approximation

Question No: 10 ( Marks: 1 ) - Please choose one


Word Processor is a _________________

► System Software

► Application Software

► Device

► Utility
www.virtualinspire.com
Question No: 11 ( Marks: 1 ) - Please choose one
In the old days, databases did NOT support ____________.
► Number
► Boolean
► Video
► Text

Question No: 12 ( Marks: 1 ) - Please choose one


In tabular storage, fields placed in a particular row are strongly ___________.
► Independent
► Dependent
► Interrelated
► Inconsistent

Question No: 13 ( Marks: 1 ) - Please choose one


Due to working at home, lack of interaction may result in ___________ professional
growth.
► Slower
► Faster
► Higher
► Improved

Question No: 14 ( Marks: 1 ) - Please choose one


Distance learning has got a boost due to the ___________.
► Easy communication
► Online interactive contents
► Flexibility
► All of the given options

Question No: 15 ( Marks: 1 ) - Please choose one


_____________ technique can be used to create smooth animations or to display one of
several images based on the requirement.
► Image downloading
► Image preloading
► Image uploading
► Image postloading

Question No: 16 ( Marks: 1 ) - Please choose one


The ____________ is becoming the preferred organizational structure for more and more
organizations with the passage of time.
► Tree structured organizational model
► Network paradigm
► Hierarchical structure
► None of the given options

Question No: 17 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
The group of technologies concerned with the capturing, processing and transmission of
information in the digital electronic form is called _____________.
► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

Question No: 18 ( Marks: 1 ) - Please choose one


A large number of networks interconnected physically is called ______
► LAN
► MAN
► Internet
► Network collection

Question No: 19 ( Marks: 1 ) - Please choose one


TCP stands for ________.

► Transfer Center protocol


► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

Question No: 20 ( Marks: 1 ) - Please choose one


A collection of data organized in such a way that the computer can quickly search for a
desired data item is known as :
► Retrieving
► Database
► Information
► DBMS

Question No: 21 ( Marks: 1 ) - Please choose one


______ is simply a fast port that lets you connect computer peripherals and consumer
electronics to your computer without restart.
► Freeware
► Shareware
► Firewire
► Firmware

Question No: 22 ( Marks: 1 ) - Please choose one


Structures, in which another list starts before the first list is finished, are called:
► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists

Question No: 23 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
The key property of the ‘Array’ object in JavaScript is
► Value
► Length
► Name
► All of the given choices

Question No: 24 ( Marks: 1 ) - Please choose one


Which one is the example of spreadsheet software ?
► MS Word
► MS PowerPoint
► MS Excel
► MS Access

Question No: 25 ( Marks: 1 ) - Please choose one


The Encryption of data is related to
► Data updates
► Data security
► Data integrity
► Data accessibility

Question No: 26 ( Marks: 1 ) - Please choose one


_____ is the process of analyzing large databases to identify patterns.
► Data normalization
► Data management
► Data Mining
► None of the given options

Question No: 27 ( Marks: 1 ) - Please choose one


Which is the user-friendly way of presenting data ?
► Query
► Form
► Report
► All of the given options

Question No: 28 ( Marks: 1 ) - Please choose one


JavaScript function fixed() has equivalent HTML tag-set ____
► <.FIX>……………</FIX>
► <F>………………..</F>
► <PRE>………….</PRE>
► <H>………………..</H>

Question No: 29 ( Marks: 1 ) - Please choose one


<form> Tags always placed between the <BODY> and </BODY> tags of a Web page
► True
► False
www.virtualinspire.com
Question No: 30 ( Marks: 1 ) - Please choose one
Java script has ----------------- ability to create and draw graphics.

► Limited
► Versatile
► Medium

► Not at all

Question No: 31 ( Marks: 1 )


What does TCP/IP stand for?
Transmission Control Protocol/Internet Protocol

Question No: 32 ( Marks: 1 )


Why there is a need to use primary key in database ?
it is used to uniquely identify the records in the database.

Question No: 33 ( Marks: 2 )


What is image processing ?
It field of computer where we enhance and manipulate the graphics.
Like it is used to recover old photograph and by processing we can revive them like
original form.

Question No: 34 ( Marks: 2 )


Define testing with respect to programming..
Testing is the process by which we try to determine the presence defects in a program.

Question No: 35 ( Marks: 3 )


How can we define a computer screen?

Use to display output of computer to the user. Computer screen is consists of pixels.

Question No: 36 ( Marks: 3 )


What is difference between Design and System Architecture?
System Architecture It is structure of a product or process
Design: It is start of the process of developing structure of system or product or we can its basic
planning of making a system or product.
www.virtualinspire.com
Question No: 37 ( Marks: 3 )
Write JavaScript code to convert the number 236.2363611111556 into currency format
and JavaScript statement to show output.

Var input_amt = 236.2363611111556 ;


mid_data = input_amt.toString( ) ;
decimalPos = mid_data.indexOf( ".", 0 ) ;
final_amt = mid_data.substring( 0, decimalPos + 3 ) ;
document.write( final_amt + " Rs." ) ;

Question No: 38 ( Marks: 5 )


Show output of the following code:

for (i=0; i<=10; i++)


{
document.write("The number is " + i);
document.write("<br />");
}

The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
The number is 5
The number is 6
The number is 7
The number is 8
The number is 9
The number is 10

Question No: 39 ( Marks: 5 )


What is a Relational Database? Give the names of any three RDBMS software. (2+3)
Database consist of two or more then two tables are called Relational database.

Oracle dabatbase
Sql Server
Access

Question No: 40 ( Marks: 10 )


Define the following terms.
Object
www.virtualinspire.com
They are foundation of object oreineted lanauge.They are data structure contains data
fields and properiies and mothods

 Event Handler
 An event handler is a command which is used to call a function when an event
happens, such as the user clicking a button or mouse.

 Local Variable
 Declaring variables within a function, makes them local .They are available only
within that function and hold no meaning outside of it

 Scope of Variable
 Space in which a variable is effective is known as the scope of a variable. In other
words we can say area where that variable is available for the use
 Array
Indexed collections of variable of same data types or we can say a Set of organized
variables of same type.

Question No: 41 ( Marks: 10 )


What is the problem with Relational Database and what solution you can suggest for it?

When we store object orientated data into RDBMS it need to translate in to other form
which is readable to that RDBMS. While we need that data back or we needed to get data
from that stored data. Again it required to be translate back into readable form.
This dual processing process reduce the speed of reading back the data.

It required large knowledge base to implement.


Its implementation in small business it bit complex due to its complexity.
www.virtualinspire.com
MIDTERM EXAMINATION
CS101- Introduction to Computing (Session - 2)

Question No: 1 ( Marks: 1 ) - Please choose one


A procedure that usually, but not always, works or that gives nearly the right answer is
called
► Algorithm
► Logarithm
► Heuristic
► Methodology

Question No: 2 ( Marks: 1 ) - Please choose one


Which of the following is NOT an Application Software.

► Word Processor

► Web Browser

► Windows XP

► MS Excel

Question No: 3 ( Marks: 1 ) - Please choose one


Operating System talks to and manages devices through
► Loader
► File Manager
► Memory Manager
► Device Driver

Question No: 4 ( Marks: 1 ) - Please choose one


You can ________ from/to a website containing interactive forms.
► Only read
► Only write
► Read and write
► Not read and write

Question No: 5 ( Marks: 1 ) - Please choose one


When the user needs something to be done by the computer, he/she gives instructions in
the form of _____ to computer ____
► Software, Hardware
► Hardware, Software
► System Software, Application Software
www.virtualinspire.com
► Graph, Monitor

Question No: 6 ( Marks: 1 ) - Please choose one


There is a battery on the motherboard to:
► Give power to the processor
► Save information when computer is off
► Save information when computer is on
► Give power to the motherboard

Question No: 7 ( Marks: 1 ) - Please choose one


______ is simply a fast port that lets you connect computer peripherals and consumer
electronics to your computer without restart.
► Freeware
► Shareware
► Firewire
► Firmware

Question No: 8 ( Marks: 1 ) - Please choose one


Which one is correct?

► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>

Question No: 9 ( Marks: 1 ) - Please choose one


The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage

Question No: 10 ( Marks: 1 ) - Please choose one


The key strengths of computers are
► Speed
► Storage
► Do not get bored
► All of the given choices

Question No: 11 ( Marks: 1 ) - Please choose one


Which one is correct?

► <HEAD> </HEAD>
www.virtualinspire.com
► <HEAD> <END>
► <HEAD> </END>
► <HEAD> <\HEAD>

Question No: 12 ( Marks: 1 ) - Please choose one


Everything that JavaScript manipulates is treated as:
► Object

► Window

► Text

► Script

Question No: 13 ( Marks: 1 ) - Please choose one


A process in which user’s browser check the form’s data is called

► Server-Side Scripting

► Client-Side Scripting

► Bowser Scripting

► Form Scripting

Question No: 14 ( Marks: 1 ) - Please choose one


------------ is volatile memory

► RAM
► ROM
► Hard Disk
► CD ROM

Question No: 15 ( Marks: 1 ) - Please choose one


WYSIWYG stands for

► What you say is what you get


What you say is what you get
► Where you see is where you go

► What you see is what you get


www.virtualinspire.com
► When you see is when you get

Question No: 16 ( Marks: 1 ) - Please choose one


What is/are the use/uses of Word processor?
► To write a letter

► To write Research paper or report

► To create address labels

► All of the given

Question No: 17 ( Marks: 1 ) - Please choose one


__________ is the example of Shrink-wrapped software

► PIA information system


► WinZip trial pack
► Linux
► MS Word

Question No: 18 ( Marks: 1 ) - Please choose one


____________ interacts directly with the computer Hardware

► Compiler

► Operating system

► Application software

► Assembler

Question No: 19 ( Marks: 1 ) - Please choose one


Which of the following symbol is used for multiple line comments in JavaScript?

►/
► //
► /*
► //*

Question No: 20 ( Marks: 1 ) - Please choose one


Consider the following statement written in JavaScript:
www.virtualinspire.com
str = ”Hello” + ” World”

What will be the value of str ?


► HelloWorld
► Hello World

► Hello + World
► It will result in error

Question No: 21 ( Marks: 1 ) - Please choose one


__________ give us the ability to manipulate data through reference instead of actual
value.

► Constants
► Variables
► Data Types
► Operators

Question No: 22 ( Marks: 1 ) - Please choose one


Bringing subsystems together to form the system is called

► Integration
► Merging
► Splitting
► Operation & Maintenance

Question No: 23 ( Marks: 1 ) - Please choose one


Preliminary exploration of possible solutions, technologies, suppliers is called

► Viability
► Feasibility
► Specification
► Integration

Question No: 24 ( Marks: 1 ) - Please choose one


Algorithm gives us:

► Definition of a problem
► Sequence of steps to solve a problem
► Proper understanding of a problem

► Solution to a problem

Question No: 25 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
Web site is collection of related ______
► Web pages
► Information
► Search Engines
► None of the given choices

Question No: 26 ( Marks: 1 ) - Please choose one


Information on World Wide Web is _______________ unified.
► Physically
► Logically
► Really
► None of the given choices

Question No: 27 ( Marks: 1 )


What is coding?

WYSIWYG
Question No: 28 ( Marks: 1 )
Define URL

Question No: 29 ( Marks: 2 )


What is Deterministic Algorithm?

Question No: 30 ( Marks: 3 )


How can we calculate total number of rows in the truth table?

Question No: 31 ( Marks: 5 )


What are JavaScript literal and what are its types?

Question No: 32 ( Marks: 5 )


What is the impact of web on our Society and Business?
www.virtualinspire.com
MIDTERM EXAMINATION
Fall 2008
CS101- Introduction to Computing (Session - 2)

Question No: 1 ( Marks: 1 ) - Please choose one


_______ consists of cells arranged in rows & columns
► Spreadsheets Software
► Word processor
► Presentation Software
► Microsoft Paint Software

Question No: 2 ( Marks: 1 ) - Please choose one


_________ manages the HW and SW resources ( memory, disk drives etc) of the
computer system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 3 ( Marks: 1 ) - Please choose one


Forms can be submitted through _______ & _______ methods
► INCLUDE, POST
► INCLUDE, GET
► GET, POST
► SEND, POST

Question No: 4 ( Marks: 1 ) - Please choose one


To display a checkbox on the web page, we use ___ tag
► CHECKBOX
► CHECK
► INPUT
► INPUTBOX

Question No: 5 ( Marks: 1 ) - Please choose one


You can ________ from/to a website containing interactive forms.
► Only read
► Only write
► Read and write
► Not read and write

Question No: 6 ( Marks: 1 ) - Please choose one


There is a battery on the motherboard to:
www.virtualinspire.com
► Give power to the processor
► Save information when computer is off
► Save information when computer is on
► Give power to the motherboard

Question No: 7 ( Marks: 1 ) - Please choose one


We can change the background color in HTML, using ___ attribute of <body>

► background

► bgcolor

► backcolor

► backgroundcolor

Question No: 8 ( Marks: 1 ) - Please choose one


___ contains the name of the protocol required to access the resource, a domain name
that identifies a specific computer on the internet and a pathname on the computer
► HTML
► HTTP
► URL
► WWW

Question No: 9 ( Marks: 1 ) - Please choose one


______ is a client program that uses HTTP to make requests to Web servers throughout
the internet on behalf of the user.
► Web Application
► Web Browser
► Internet Application
► HTML

Question No: 10 ( Marks: 1 ) - Please choose one


WWW stands for:
► Wide World Web
► World Wide Web
► World White Web
► World Web Wide

Question No: 11 ( Marks: 1 ) - Please choose one


The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
www.virtualinspire.com
► Pattern recognition & Innovative ideas
► Speed & Storage

Question No: 12 ( Marks: 1 ) - Please choose one


Floating point unit is also known as _________ unit

► Real
► Integer
► Numeric
► Fractional

Question No: 13 ( Marks: 1 ) - Please choose one


Programs that reside on Web servers and receive info that a user enters in a form, are
known as:

► Server-Side Scripts

► Client-Side Scripts

► Super Scripts

► Form Scripts

Question No: 14 ( Marks: 1 ) - Please choose one


------------ is volatile memory

► RAM
► ROM
► Hard Disk
► CD ROM

Question No: 15 ( Marks: 1 ) - Please choose one


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

► 25
► 50
► 75
► 100

Question No: 16 ( Marks: 1 ) - Please choose one


VisiCalc was the first popular _______application on PC’s.
www.virtualinspire.com
► Spreadsheet
► Word processor
► Presentation
► Database

Question No: 17 ( Marks: 1 ) - Please choose one


____________ is a system software that converts the source code written in high level
language into machine language code.
► Utilities
► Drivers
► Language Translator
► None of the these

Question No: 18 ( Marks: 1 ) - Please choose one


What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created

► Previous list will end and a new will start.

► Nothing will happen

Question No: 19 ( Marks: 1 ) - Please choose one


__________ is a program that executes instructions line by line written in a high-level
language.

► Interpreter
► Compiler
► Predictor
► Executor

Question No: 20 ( Marks: 1 ) - Please choose one


There are_________________ rules to write the Pseudo Code.

► Standard
► No standard
► Strict
► Pre-defined

Question No: 21 ( Marks: 1 ) - Please choose one


Which one is not the building block of an algorithm?
► Statements
www.virtualinspire.com
► Sequences
► Repetitions
► Conditionals

Question No: 22 ( Marks: 1 ) - Please choose one


In flow charts, there is only one entry point in conditions while there is/are__________
exit points.

►1
►2
►3
►4

Question No: 23 ( Marks: 1 ) - Please choose one


A procedure that usually but not always works or that gives nearly the right answer is
called_____________

► Deterministic Algorithm

► Heuristic Algorithm
► Greedy Algorithm
► Randomized Algorithm

Question No: 24 ( Marks: 1 ) - Please choose one


A Modem is a kind of ___
► Input device
► Output device
► Storage device
► Input and Output device

Question No: 25 ( Marks: 1 ) - Please choose one


The memory size of the Altair 8800 was
► 128 bytes
► 128 Kilo bytes
► 256 Kilo bytes
► 256 bytes

Question No: 26 ( Marks: 1 ) - Please choose one


---------- was known as “mill” in Analytical engine.
► Memory
► Processor
► Monitor
www.virtualinspire.com
► Mouse

Question No: 27 ( Marks: 1 )


What is the key feature of object-oriented design?

ANSWER: The key feature of object-oriented design is that it treats every thing as
object having properties and methods. These objects are separately treated and designed
and once designed it can be used in any other system. So once designed can be used
many times.

Question No: 28 ( Marks: 1 )


Write one purpose of using spreadsheets ?
ANSWERS: Purpose of spreadsheets is that it can do calculations on data
accurately.

Question No: 29 ( Marks: 2 )


List down two advantages of writing Pseudo Code
Answers: The advantages of pseudo code are:
 It is quite similar to human language so easy to understand.
 It is close to real code so easy to write real code from it.

Question No: 30 ( Marks: 3 )


How can we calculate total number of rows in the truth table?

ANSWER: The formula for calculating number of rows in truth table is 2n


Where n = number of inputs

Question No: 31 ( Marks: 5 )


Differentiate between Vector graphics and Bit-mapped graphics.

ANSWER:

VECTOR GRAPHICS BIT MAPPED IMAGES

1. Treat everything as an object 1. Treats everything as a bit


map.
2. Is resolution independent
2. Resolution dependent
3. Relatively small size
3. Large files
4. Example: Corel Draw
4. Example: Microsoft Paint
www.virtualinspire.com
Question No: 32 ( Marks: 5 )
Write differences between Shareware and trail ware software.
ANSWER:
SHAREWARE TRIALWARE
1. These are shared freely. 1. Software is offered for a trial
2. It is given without payment period.
ahead of time. 2. When the period is expired it
is no more in use.
www.virtualinspire.com
MIDTERM EXAMINATION
Spring 2009
CS101- Introduction to Computing (Session - 6)
Time: 60 min
Marks: 43
www.virtualinspire.com
Question No: 1 ( Marks: 1 ) - Please choose one
Cray-1 was first commercial _________ computer
► Super
► Mini
► Micro
► Personal

Question No: 2 ( Marks: 1 ) - Please choose one


Browser is a __________________ used for browsing.
► Tool
► Component
► Device
► None of the given choices

Question No: 3 ( Marks: 1 ) - Please choose one

It represents the _____________ flow chart element.

► Flow Line

► Connector
► Off-page connector
► Start or Stop

Question No: 4 ( Marks: 1 ) - Please choose one


JavaScript is an example of _____________ language.

► Object-based
► Object-oriented
► Machine
► Assembly

Question No: 5 ( Marks: 1 ) - Please choose one


The set of rules and guidelines a team of developers follow to construct
reasonably complex SW systems is called

► Object Oriented Design


► Object Oriented Software
► Design Methodology
► Programming language
www.virtualinspire.com
Question No: 6 ( Marks: 1 ) - Please choose one
Waterfall is a _________ life-cycle model.

► Spiral
► Sequential
► Circular
► Spherical

Question No: 7 ( Marks: 1 ) - Please choose one


What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created

► Previous list will end and a new will start.

► Nothing will happen

Question No: 8 ( Marks: 1 ) - Please choose one


In Spreadsheets, you can create a relationship between two cells by
using _____.

► Numbers
► Text
► Formulas
► None of the given choices

Question No: 9 ( Marks: 1 ) - Please choose one


VisiCalc was the first popular _______application on PC’s.

► Spreadsheet
► Word processor
► Presentation
► Database

Question No: 10 ( Marks: 1 ) - Please choose one


Fins are used to --------------

► Communicate with microprocessor


► Increase surface area of Fan
► Decrease surface area of Fan
► Speed up the Fan.
www.virtualinspire.com
Question No: 11 ( Marks: 1 ) - Please choose one
Using only HTML we can create

► Dynamic web pages

► Static web pages

► Both Static and Dynamic pages

► None of these

Question No: 12 ( Marks: 1 ) - Please choose one


Everything that JavaScript manipulates is treated as:
► Object

► Window

► Text

► Script

Question No: 13 ( Marks: 1 ) - Please choose one


The ______ is connected to all other modules of the microprocessor.

► Control unit
► Memory unit
► Floating Point unit
► Arithmetic and Logic unit

Question No: 14 ( Marks: 1 ) - Please choose one


Communication protocol is a __________that governs the flow of
information over a network
► Set of protocols
► Set of rules
► Device
► Set of methods

Question No: 15 ( Marks: 1 ) - Please choose one


_________ is the interface in computer that supports transmission of multiple
bits at the same time.
► Serial Port
► Parallel Port
www.virtualinspire.com
► Universal Serial Bus
► None of the given choices

Question No: 16 ( Marks: 1 ) - Please choose one


_____ was designed as a replacement for typewriter
► Spreadsheet Software
► Word Processor Software
► Presentation Software
► Database Software

Question No: 17 ( Marks: 1 ) - Please choose one


Which one of these translates the program once at a time ?
► Interpreter
► Compiler
► Operating system
► Translator

Question No: 18 ( Marks: 1 ) - Please choose one


Randomized algorithms are often ________ than deterministic algorithms for the
same problem.
► Simpler and more slow
► Simpler and more efficient
► Complex and more efficient
► Complex and more slow

Question No: 19 ( Marks: 1 ) - Please choose one


Ada written a computer programme for ?

► Analytical Engine

► Difference Engine

► Harvard Mark 1

► Mechanical engine

Question No: 20 ( Marks: 1 ) - Please choose one


A test proposed to determine if a computer has the ability to think. It is called?

► Turing test

► Turning test
www.virtualinspire.com
► Intelligence test

► None

Question No: 21 ( Marks: 1 ) - Please choose one


The most used form tag is the <input> tag.

► True
► False

Question No: 22 ( Marks: 1 ) - Please choose one


When the user clicks on the "Submit" button, the content of the form is sent to
the server.

► True
► False

Question No: 23 ( Marks: 1 ) - Please choose one


Extension for saving web page is / are;
► *.html
► *.htm
► *.html and *.htm both are in use
► None of These

Question No: 24 ( Marks: 1 ) - Please choose one


In spread sheet a cell may contain

► Numbers
► Text
► Formulas
► All of the given

Question No: 25 ( Marks: 1 ) - Please choose one


Programs where no user interaction found during program execution are called
__________.

► Batch programs
► Event-driven programs
► Graphics based programs
► None of the given

Question No: 26 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
OO software is all about _____________.

► Behaviors
► Methods
► Properties
► Objects

Question No: 27 ( Marks: 1 )


What is the key feature of batch programs?

Question No: 28 ( Marks: 1 )


Name two languages which are used for client side scripting?

Question No: 29 ( Marks: 2 )


What is the purpose of MODEM ?

Question No: 30 ( Marks: 3 )


What is Home Page of a web site?

Question No: 31 ( Marks: 5 )


Why microprocessor uses the binary number system and not the decimal or any
other number system?

Question No: 32 ( Marks: 5 )


What is the difference between Interactive-mode and Batch-mode Application
Software?
www.virtualinspire.com
MIDTERM EXAMINATION
CS101- Introduction to Computing (Session - 5)
Question No: 1 ( Marks: 1 ) - Please choose one
The memory size of the Altair 8800 was
► 128 bytes
► 128 Kilo bytes
► 256 Kilo bytes
► 256 bytes

Question No: 2 ( Marks: 1 ) - Please choose one


URL is a/an ________
► Device
► Component
► Address
► Tool

Question No: 3 ( Marks: 1 ) - Please choose one


Which of the following hardware component of a computer can also be called as
engine?
► Bus
► Storage
► Memory
► Processor

Question No: 4 ( Marks: 1 ) - Please choose one


The __________Processor is specially designed for PDA?
► PowerPC
► StrongARM
► Crusoe
► SPARC

Question No: 5 ( Marks: 1 ) - Please choose one


There are ___________ ways to represent an algorithm.

►1
►2
► 3
►4

Question No: 6 ( Marks: 1 ) - Please choose one


Which one is correct for JavaScript?

► onMouseOver
www.virtualinspire.com
► OnMouseOver
► onmouseover
► All of the given

Question No: 7 ( Marks: 1 ) - Please choose one


__________ is a particularly good language for processing numerical data, but it does
not lend itself very well to large business programs

► BASIC
► PASCAL
► JAVA
► FORTRAN

Question No: 8 ( Marks: 1 ) - Please choose one


In spreadsheets, cell address A12 means _______.

► Row A, Cloumn 12
► Row 12, Cloumn A
► Row 2,Cloumn A1
► Row A1, Cloumn 2

Question No: 9 ( Marks: 1 ) - Please choose one


The key feature of Scientific/Engineering/Graphics applications is ____________

► Intense calculations

► User-friendly

► Reliability

► Cost-effective

Question No: 10 ( Marks: 1 ) - Please choose one


Command which saves the selected text before deleting is
► Copy

► Delete

► Cut

► Undo

Question No: 11 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
Properties of an object are modified with

► Class

► Methods

► Structures

► Forms

Question No: 12 ( Marks: 1 ) - Please choose one


Video Card has its own -----------------

► Memory
► Processor
► Memory& Processor
► Neither memory nor Processor

Question No: 13 ( Marks: 1 ) - Please choose one


Using only HTML we can create

► Dynamic web pages

► Static web pages

► Both Static and Dynamic pages

► None of these

Question No: 14 ( Marks: 1 ) - Please choose one


Computers are good at
► Speed
► Storage
► Never bored
► All of the given choices

Question No: 15 ( Marks: 1 ) - Please choose one


There is a battery on the motherboard to:
► Give power to the processor
► Save information when computer is off
► Save information when computer is on
► Give power to the motherboard

Question No: 16 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
Microsoft Word is a type of:
► System Software
► Freeware Software
► Shrink-Wrapped Software
► Custom-built Software

Question No: 17 ( Marks: 1 ) - Please choose one


The set of instructions that opearates various parts of hardware is called shareware.
► True
► False

Question No: 18 ( Marks: 1 ) - Please choose one


Which of the following manages the HW and SW resources of the computer system?
► Hardware
► System Software
► Operating system
► Graphics Software

Question No: 19 ( Marks: 1 ) - Please choose one


Application developers do not need to know much about the HW, especially the microProcessor,
while they are developing their application.
► True
► False

Question No: 20 ( Marks: 1 ) - Please choose one


Which of the following formula is used in spread sheet for addition?

► C6+E6
► =C6+E6
► 6+6=12
► 6+E6

Question No: 21 ( Marks: 1 ) - Please choose one


Web Pages developed for human as well computer understanding are called as;
► Static Web Pages
► Semantic Web Pages
► Dynamic Web Pages
► Java Web Pages

Question No: 22 ( Marks: 1 ) - Please choose one


Programs where no user interaction found during program execution are called
__________.

► Batch program
► Event-driven programs
► Graphics based programs
www.virtualinspire.com
► None of the given

Question No: 23 ( Marks: 1 ) - Please choose one


In _______________, the software developer decomposes the problem into subsystems
and defines their relationships.

► Detailed Design
► Integration Testing
► Design
► Architecture

Question No: 24 ( Marks: 1 ) - Please choose one


A diode functions as the electronic version of a __________-way valve.
one
two
three
four

Question No: 25 ( Marks: 1 ) - Please choose one


What is the key feature of computer which is against human nature?

► Can’t get bored.


► Pattern recognition
► Repetition
► None

Question No: 26 ( Marks: 1 ) - Please choose one


The first --------------was invented at Bell Laboratories on December 16, 1947 by William
Shockley.

► Transistor

► Vacuum Tube

► Punch card

► Transmitter

Question No: 27 ( Marks: 1 )


What is the Brute Force Strategy?

Answer:. A staretegy in which all possible combinations are examined and best
www.virtualinspire.com
among them is selected. Brute force (also known as brute force cracking) is a trial
and error method used by application programs to decode encrypted data such as
passwords or Data Encryption Standard (DES) keys, through exhaustive effort
(using brute force) rather than employing intellectual strategies.

Question No: 28 ( Marks: 1 )


What is java script?

Answer: JavaScript is an object-oriented scripting language used to enable


programmatic access to objects within both the client application and other
applications.
It is primarily used in the form of client-side JavaScript, implemented as an
integrated component of the web browser, allowing the development of enhanced
user interfaces and dynamic websites

Question No: 29 ( Marks: 2 )


How can you explain control unit?

Answer: Control unit is a computerized part of the speech processor. Most of the
controls, such as program, volume and sensitivity, are located on the control unit.

Question No: 30 ( Marks: 3 )


How a designer makes Structured Design?

Answer: Structured Design: Materials and member type, size, and configuration to
carry loads in a safe and serviceable fashion.
In general, structural design implies the engineering of stationary objects such as
buildings and bridges, or objects that may be mobile but have a rigid shape such as
ship hulls and aircraft frames tructural design involves at least five distinct phases
of work, project requirements, materials, structural scheme, analysis, and design
It is insufficient in most cases, for the designer to consider a solution, a design. He
should evaluate several alternate designs and choose the best in the sense of
maximizing such technical objectives as efficiency, reliability, and maintainability
while satisfying such design constraints as memory size and response time.

Question No: 31 ( Marks: 5 )


What is Turing machine? Who invented it and also explain how a Turing test is
conducted?

Answer: A Turing machine is a theoretical device that manipulates symbols


contained on a strip of tape. Despite its simplicity, a Turing machine can be adapted
to simulate the logic of any computer algorithm, and is particularly useful in
explaining the functions of a CPU inside of a computer. The "Turing" machine was
designed by Alan Turing in 1937.
www.virtualinspire.com
The Turing test is a proposal for a test of a machine's ability to demonstrate
intelligence. It proceeds as follows a human judge engages in a natural language
conversation with one human and one machine, each of which tries to appear
human. All participants are placed in isolated locations. If the judge cannot reliably
tell the machine from the human, the machine is said to have passed the test. In
order to test the machine's intelligence rather than its ability to render words into
audio, the conversation is limited to a text-only channel such as a computer
keyboard and screen.
If a computer pass the test ,we can say that a machine can think.

Question No: 32 ( Marks: 5 )


What are JavaScript literal and what are its types?

Answer: The raw data that make up the root of data types are called "literals."
These are, in effect, literally what they represent themselves to be. Numbers, strings,
and Boolean values make up the core set of literals in JavaScript. Little mystery
exists with literals, but important differences exist between them. In JavaScript,
data types include strings, which are simply quoted characters, numbers, Boolean,
Objects and even a type which has no value at all, Null. Since JavaScript is a loosely
typed language, you don't neccessarily need to know what type of data every value is
(although it certainly helps).
Every piece of data in these categories is known as a value. When a value is referred
to outright in a statement, it is called a literal value. For the same reason people are
identified by names as opposed to "human" or "person", literal values can be
named in order to make repeated reference to them practical, efficent and readable.
These names are called variables.

Literals can be of several types. Some of them are:


Array Literals
Boolean Literals
Floating-Point Literals
Integers
Object Literals
String Literals
www.virtualinspire.com
MIDTERM EXAMINATION
CS101- Introduction to Computing (Session - 2)

Question No: 1 ( Marks: 1 ) - Please choose one


_______ consists of cells arranged in rows & columns
► Spreadsheets Software
► Word processor
► Presentation Software
► Microsoft Paint Software

Question No: 2 ( Marks: 1 ) - Please choose one


_________ manages the HW and SW resources ( memory, disk drives etc) of the
computer system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 3 ( Marks: 1 ) - Please choose one


Forms can be submitted through _______ & _______ methods
► INCLUDE, POST
► INCLUDE, GET
► GET, POST
► SEND, POST

Question No: 4 ( Marks: 1 ) - Please choose one


To display a checkbox on the web page, we use ___ tag
► CHECKBOX
► CHECK
► INPUT
► INPUTBOX

Question No: 5 ( Marks: 1 ) - Please choose one


You can ________ from/to a website containing interactive forms.
► Only read
► Only write
► Read and write
► Not read and write

Question No: 6 ( Marks: 1 ) - Please choose one


There is a battery on the motherboard to:
► Give power to the processor
► Save information when computer is off
► Save information when computer is on
► Give power to the motherboard
www.virtualinspire.com
Question No: 7 ( Marks: 1 ) - Please choose one
We can change the background color in HTML, using ___ attribute of <body>

► background

► bgcolor

► backcolor

► backgroundcolor

Question No: 8 ( Marks: 1 ) - Please choose one


___ contains the name of the protocol required to access the resource, a domain name
that identifies a specific computer on the internet and a pathname on the computer
► HTML
► HTTP
► URL
► WWW

Question No: 9 ( Marks: 1 ) - Please choose one


______ is a client program that uses HTTP to make requests to Web servers throughout
the internet on behalf of the user.
► Web Application
► Web Browser
► Internet Application
► HTML

Question No: 10 ( Marks: 1 ) - Please choose one


WWW stands for:
► Wide World Web
► World Wide Web
► World White Web
► World Web Wide

Question No: 11 ( Marks: 1 ) - Please choose one


The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage

Question No: 12 ( Marks: 1 ) - Please choose one


Floating point unit is also known as _________ unit
www.virtualinspire.com
► Real
► Integer
► Numeric
► Fractional

Question No: 13 ( Marks: 1 ) - Please choose one


Programs that reside on Web servers and receive info that a user enters in a form, are
known as:

► Server-Side Scripts

► Client-Side Scripts

► Super Scripts

► Form Scripts

Question No: 14 ( Marks: 1 ) - Please choose one


------------ is volatile memory

► RAM
► ROM
► Hard Disk
► CD ROM

Question No: 15 ( Marks: 1 ) - Please choose one


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

► 25
► 50
► 75
► 100

Question No: 16 ( Marks: 1 ) - Please choose one


VisiCalc was the first popular _______application on PC’s.

► Spreadsheet
► Word processor
► Presentation
► Database

Question No: 17 ( Marks: 1 ) - Please choose one


____________ is a system software that converts the source code written in high level
language into machine language code.
www.virtualinspire.com
► Utilities
► Drivers
► Language Translator
► None of the these

Question No: 18 ( Marks: 1 ) - Please choose one


What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created

► Previous list will end and a new will start.

► Nothing will happen

Question No: 19 ( Marks: 1 ) - Please choose one


__________ is a program that executes instructions line by line written in a high-level
language.

► Interpreter
► Compiler
► Predictor
► Executor

Question No: 20 ( Marks: 1 ) - Please choose one


There are_________________ rules to write the Pseudo Code.

► Standard
► No standard
► Strict
► Pre-defined

Question No: 21 ( Marks: 1 ) - Please choose one


Which one is not the building block of an algorithm?
► Statements
► Sequences
► Repetitions
► Conditionals

Question No: 22 ( Marks: 1 ) - Please choose one


In flow charts, there is only one entry point in conditions while there is/are__________
exit points.

►1
www.virtualinspire.com
►2
►3
►4

Question No: 23 ( Marks: 1 ) - Please choose one


A procedure that usually but not always works or that gives nearly the right answer is
called_____________

► Deterministic Algorithm

► Heuristic Algorithm
► Greedy Algorithm
► Randomized Algorithm

Question No: 24 ( Marks: 1 ) - Please choose one


A Modem is a kind of ___
► Input device
► Output device
► Storage device
► Input and Output device

Question No: 25 ( Marks: 1 ) - Please choose one


The memory size of the Altair 8800 was
► 128 bytes
► 128 Kilo bytes
► 256 Kilo bytes
► 256 bytes

Question No: 26 ( Marks: 1 ) - Please choose one


---------- was known as “mill” in Analytical engine.
► Memory
► Processor
► Monitor
► Mouse

Question No: 27 ( Marks: 1 )


What is the key feature of object-oriented design?

ANSWER: The key feature of object-oriented design is that it treats every thing as
object having properties and methods. These objects are separately treated and designed
and once designed it can be used in any other system. So once designed can be used
many times.

Question No: 28 ( Marks: 1 )


Write one purpose of using spreadsheets ?
www.virtualinspire.com
ANSWERS: Purpose of spreadsheets is that it can do calculations on data
accurately.

Question No: 29 ( Marks: 2 )


List down two advantages of writing Pseudo Code
Answers: The advantages of pseudo code are:
 It is quite similar to human language so easy to understand.
 It is close to real code so easy to write real code from it.

Question No: 30 ( Marks: 3 )


How can we calculate total number of rows in the truth table?

ANSWER: The formula for calculating number of rows in truth table is 2n


Where n = number of inputs

Question No: 31 ( Marks: 5 )


Differentiate between Vector graphics and Bit-mapped graphics.

ANSWER:

VECTOR GRAPHICS BIT MAPPED IMAGES

1. Treat everything as an object 1. Treats everything as a bit map.

2. Is resolution independent 2. Resolution dependent

3. Relatively small size 3. Large files

4. Example: Corel Draw 4. Example: Microsoft Paint

Question No: 32 ( Marks: 5 )


Write differences between Shareware and trail ware software.
ANSWER:
SHAREWARE TRIALWARE
1. These are shared freely. 1. Software is offered for a trial
2. It is given without payment period.
ahead of time. 2. When the period is expired it is
no more in use.
www.virtualinspire.com
Question No: 1 ( Marks: 1 ) - Please choose one
Human are better than computers at:
► Efficiency
► Accuracy
► Pattern recognition
► None of the given choices

Question No: 2 ( Marks: 1 ) - Please choose one


Cray-1 was first commercial _________ computer
► Super
► Mini
► Micro
► Personal

Question No: 3 ( Marks: 1 ) - Please choose one


URL is a/an ________
► Device
► Component
► Address
► Tool

Question No: 4 ( Marks: 1 ) - Please choose one


Mainframe Computers are also called _____
► Enterprise Servers
► Personal Servers
► Enterprise Managers
► Window Servers

Question No: 5 ( Marks: 1 ) - Please choose one


Which of the following is NOT a category of Mobile Computers?
► Laptop
► Palmtop
► Desktop
► Wearable

Question No: 6 ( Marks: 1 ) - Please choose one


Preliminary exploration of possible solutions, technologies, suppliers is called

► Viability
► Feasibility
► Specification
► Integration

Question No: 7 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
__________ give us the ability to manipulate data through reference instead of
actual value.

► Constants
► Variables
► Data Types
► Operators

Question No: 8 ( Marks: 1 ) - Please choose one


Consider the following statement written in JavaScript:
str = ”Hello” + ” World”

What will be the value of str ?


► HelloWorld
► Hello World

► Hello + World
► It will result in error

Question No: 9 ( Marks: 1 ) - Please choose one


A tool that helps you to find the synonyms is called ______________.

► Language
► Paragraph
► Thesaurus
► Symbol

Question No: 10 ( Marks: 1 ) - Please choose one


Communication protocol is a __________that governs the flow of information
over a network
► Set of protocols
► Set of rules
► Device
► Set of methods

Question No: 11 ( Marks: 1 ) - Please choose one


If a computer could pass the Turing test then it would be able to:
► think like human beings
► do the things faster
► win a million dollar prize
► store more information

Question No: 12 ( Marks: 1 ) - Please choose one


The first Web browser with a GUI was generally available in:
► 1992
► 1993
www.virtualinspire.com
► 1994
► 1995

Question No: 13 ( Marks: 1 ) - Please choose one


Web is a unique invention by humans in terms that it is:
► accessible to only the owners who control it
► accessible from particular locations only
► accessible to all humans
► accessible to only the educational institutes

Question No: 14 ( Marks: 1 ) - Please choose one


In this URL http://www.msn.com , _____identifies the domain name
► http
► www
► msn
► com

Question No: 15 ( Marks: 1 ) - Please choose one


______ is simply a fast port that lets you connect computer peripherals and
consumer electronics to your computer without restart.
► Freeware
► Shareware
► Firewire
► Firmware

Question No: 16 ( Marks: 1 ) - Please choose one


Which of the following is NOT supported by PC's power supply.
► -12 and +12 V DC
► -10 and +10 V DC
► -5 and + 5 V DC
► All are supported

Question No: 17 ( Marks: 1 ) - Please choose one


In which case Cache Memory is used
► To increase RAM speed
► To overcome BUS speed
► To overcome Speed rate between RAM and CPU
► To overcome CPU speed

Question No: 18 ( Marks: 1 ) - Please choose one


To display a single line text area on the web page, we use ___ tag
► TEXT
► TEXTBOX
► INPUT
► INPUTBOX
www.virtualinspire.com
Question No: 19 ( Marks: 1 ) - Please choose one
If an algorithm is syntactically correct, but semantically incorrect then this
situation is
► Very good situation
► Very dangerous situation
► Not very bad
► Neutral situation

Question No: 20 ( Marks: 1 ) - Please choose one


Users communicate with the computer using a consistent user interface provided by the
OS.
► True
► False

Question No: 21 ( Marks: 1 ) - Please choose one


Application developers do not need to know much about the HW, especially the
microProcessor, while they are developing their application.
► True
► False

Question No: 22 ( Marks: 1 ) - Please choose one


The first spread sheet program was invented by
► Charles Babbage
► Dan Bricklin
► Paul Graham
► John von Neumann

Question No: 23 ( Marks: 1 ) - Please choose one


Which representation technique of algorithm is more suitable for developer to
make actual code___________.

► pseudo code
► flow chart

► both pseudo code and flow chart

► Heuristics

Question No: 24 ( Marks: 1 ) - Please choose one


_____________ is used to terminate all JavaScript statements.
► Colon
► Semicolon
► Underscore
www.virtualinspire.com
► Apostrophe

Question No: 25 ( Marks: 1 ) - Please choose one


In java script cookies can be created for future use_____.

► Easily

► No facility at all

► This is not possible without Java language.


► Cookies are files so java script can not handle it.

Question No: 26 ( Marks: 1 ) - Please choose one


When the microprocessor desires to look at a piece of data, it checks in the
__________ first.
► RAM
► ROM
► hard disk
► cache

Question No: 27 ( Marks: 1 )


What is the basic difference between 'magnetic tapes' and 'floppy disks' ?

Question No: 28 ( Marks: 1 )


What was the name of first microprocessor built by Intel ?

Question No: 29 ( Marks: 2 )


What was the name of first super computer. When it was introduced?

Question No: 30 ( Marks: 3 )


Write a short note on blue pacific Super Computer.

Question No: 31 ( Marks: 5 )


What are JavaScript literal and what are its types?

Question No: 32 ( Marks: 5 )


Can you say that URL and semantic web sites are same? Justify your answer by
defining the both terms?
www.virtualinspire.com
www.virtualinspire.com
MIDTERM EXAMINATION
CS101- Introduction to Computing
Question No: 1 ( Marks: 1 ) - Please choose one
Today’s computers are based on the technology of _____
► Punch cards
► Vacuum tubes
► Transistors
► Resistors

Question No: 2 ( Marks: 1 ) - Please choose one


JavaScript consider every thing as:

► Control
► Window
► Object
► Statement

Question No: 3 ( Marks: 1 ) - Please choose one


A vocabulary and set of grammatical rules for instructing a computer to perform specific
tasks is called

► Software
► Programming language
► Device driver
► Interpreter

Question No: 4 ( Marks: 1 ) - Please choose one


Programs that are typically started from a shell (or automatically via a scheduler) are
called

► Batch programs
► Event-driven programs
► Sequential programs
► Application programs

Question No: 5 ( Marks: 1 ) - Please choose one


In JavaScript, what will be the result of the follwoing operation
79%3
►0
►1
►2
►3

Question No: 6 ( Marks: 1 ) - Please choose one


In Spreadsheets, you can create a relationship between two cells by using _____.
www.virtualinspire.com
► Numbers
► Text
► Formulas
► None of the given choices

Question No: 7 ( Marks: 1 ) - Please choose one


____________ translates the High level language program, one statement at time.

► Interpreter

► Compiler

► Utility program
► Anti virus software

Question No: 8 ( Marks: 1 ) - Please choose one


When we use <INPUT type=“password”>, what will happen?

► Text will not be visible

► Text will be in normal format

► Text will be in **** format

► Text will be in #### format

Question No: 9 ( Marks: 1 ) - Please choose one


Which one is correct?

► <HEAD> </HEAD>
► <HEAD> <END>
► <HEAD> </END>
► <HEAD> <\HEAD>

Question No: 10 ( Marks: 1 ) - Please choose one


The grand-daddy of the today’s global Internet was
► WAN
► ARPANET
► Intranet
► LAN

Question No: 11 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
Compared to vacuum tubes, Transistors offer:
► Much smaller size
► Better reliability
► Much lower cost
► All of the given choices

Question No: 12 ( Marks: 1 ) - Please choose one


If a computer could pass the Turing test then it would be able to:
► think like human beings
► do the things faster
► win a million dollar prize
► store more information

Question No: 13 ( Marks: 1 ) - Please choose one


WWW stands for:
► Wide World Web
► World Wide Web
► World White Web
► World Web Wide

Question No: 14 ( Marks: 1 ) - Please choose one


______ is a client program that uses HTTP to make requests to Web servers throughout
the internet on behalf of the user.
► Web Application
► Web Browser
► Internet Application
► HTML

Question No: 15 ( Marks: 1 ) - Please choose one


We can change the background color in HTML, using ___ attribute of <body>

► background

► bgcolor

► backcolor

► backgroundcolor

Question No: 16 ( Marks: 1 ) - Please choose one


______ are personal computers that are designed to be easily transported and relocated.
► Desktops
► Portables
► Servers
► Workstations
www.virtualinspire.com
Question No: 17 ( Marks: 1 ) - Please choose one
Which one of these is NOT an example of storage devices?
► Tape
► RAM
► Floppy
► DVD

Question No: 18 ( Marks: 1 ) - Please choose one


Structures, in which another list starts before the first list is finished, are called:
► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists

Question No: 19 ( Marks: 1 ) - Please choose one


__________ maintains index of names and location of the files.
► File Folder
► File manager may be 3rd bt…..
► File system
► Operating system

Question No: 20 ( Marks: 1 ) - Please choose one


Microphone is an input as well as output device. This statement is
► True
► False

Question No: 21 ( Marks: 1 ) - Please choose one


Which of the following manages the HW and SW resources of the computer system?
► Hardware
► System Software
► Operating system
► Graphics Software

Question No: 22 ( Marks: 1 ) - Please choose one


Web Pages developed for human as well computer understanding are called as;
► Static Web Pages
► Semantic Web Pages
► Dynamic Web Pages
► Java Web Pages

Question No: 23 ( Marks: 1 ) - Please choose one


_____________ is generally measured in terms of the number of steps required to
execute an algorithm.
www.virtualinspire.com

► Space
► Time
► Memory and time
► Bandwidth

Question No: 24 ( Marks: 1 ) - Please choose one


In _______________, the software developer decomposes the problem into subsystems
and defines their relationships.

► Detailed Design may be 4th


► Integration Testing
► Design
► Architecture

Question No: 25 ( Marks: 1 ) - Please choose one


-------------------- Invented at the Imperial University in Tokyo by Yoshiro Nakamats

►H  ard drive


►F  lash drive
►F  loppy disk
►O  ptical disc

Question No: 26 ( Marks: 1 ) - Please choose one


Algorithm gives us:

► Definition of a problem
► Sequence of steps to solve a problem
► Proper understanding of a problem

► Solution to a problem

Question No: 27 ( Marks: 1 )


Who is allowed to access Web ?
Every1
Question No: 28 ( Marks: 1 )
What is meant by non-volatile memory ? Give any example.
ROM
Question No: 29 ( Marks: 2 )
What is the purpose of ADA programming language?

Question No: 30 ( Marks: 3 )


How can we calculate total number of rows in the truth table?
2^n…………. where n is number of inputs…
www.virtualinspire.com
Question No: 31 ( Marks: 5 )
Write differences between Shareware and Trialware software.

Question No: 32 ( Marks: 5 )

Write an HTML COde for the following Output on browser:

Male

Female

<Input type = “radio” name=”Gender” Selected> Male<BR>


<Input type = “radio” name=”Gender” > Female
www.virtualinspire.com
Question No: 1 ( Marks: 1 ) - Please choose one
---------- was known as “mill” in Analytical engine.
► Memory
► Processor
► Monitor
► Mouse

Question No: 2 ( Marks: 1 ) - Please choose one


Vacuum tubes were replaced by ___
► Punch cards
► Transistors
► Micro Processors
► Resistors

Question No: 3 ( Marks: 1 ) - Please choose one


The impact of a digit in a number is determined by its ---------------

► Value
► Location
► Length
► None of above

Question No: 4 ( Marks: 1 ) - Please choose one


Detailed plan, specifying the required resources and expected
deliverables, is done in ________ phase.

► Planning
► User Requirements
► Design
► Developer Specification

Question No: 5 ( Marks: 1 ) - Please choose one


Which of the following application is collections of cells?

► Word
► Excel
► PowerPoint
► Outlook Express

Question No: 6 ( Marks: 1 ) - Please choose one


VisiCalc was the first popular _______application on PC’s.

► Spreadsheet
► Word processor
www.virtualinspire.com
► Presentation
► Database

Question No: 7 ( Marks: 1 ) - Please choose one


__________ is the example of Shrink-wrapped software

► PIA information system


► WinZip trial pack
► Linux
► MS Word

Question No: 8 ( Marks: 1 ) - Please choose one


Which of the following is/are the parts of Operating system components?

► GUI
► Device Manager
► Shell
► All of these

Question No: 9 ( Marks: 1 ) - Please choose one


Spread sheet is a type of _______________.
► Productivity software
► Engineering software
► Mathematical software
► Business software

Question No: 10 ( Marks: 1 ) - Please choose one


Register is a kind of ______memory

► Fast
► Super fast
► Slow
► Very slow

Question No: 11 ( Marks: 1 ) - Please choose one


The grand-daddy of the today’s global Internet was
► WAN
► ARPANET
► Intranet
► LAN

Question No: 12 ( Marks: 1 ) - Please choose one


A _________translates a high-level language (that is easy to
understand for humans) into a language that the computer can
understand
► Computer
www.virtualinspire.com
► Transistor
► Compiler
► Device

Question No: 13 ( Marks: 1 ) - Please choose one


Web is a unique invention by humans in terms that it is:
► accessible to only the owners who control it
► accessible from particular locations only
► accessible to all humans
► accessible to only the educational institutes

Question No: 14 ( Marks: 1 ) - Please choose one


ASCII WHITE is the fastest Super computer which can perform
__________ calculations in one second.
► 1.3 billion
► 1.3 trillion
► 1.3 miillion
► 1.3 thousand

Question No: 15 ( Marks: 1 ) - Please choose one


Which one of these is NOT an example of storage devices?
► Tape
► RAM
► Floppy
► DVD

Question No: 16 ( Marks: 1 ) - Please choose one


1 byte consists of:
► 8 bits
► 10 bits
► 12 bits
► 16 bits

Question No: 17 ( Marks: 1 ) - Please choose one


_____ is the example of server-side scripts on Unix servers.
► ASP
► CGI
► VBScript
► JavaScript

Question No: 18 ( Marks: 1 ) - Please choose one


Randomized algorithms are often ________ than deterministic
algorithms for the same problem.
► Simpler and more slow
► Simpler and more efficient
► Complex and more efficient
www.virtualinspire.com
► Complex and more slow

Question No: 19 ( Marks: 1 ) - Please choose one


In JavaScript, a || b is interpreted as

► a is true or b is false
► a is true and b is true
► a is false and b is true
► a is true or b is true or both are true

Question No: 20 ( Marks: 1 ) - Please choose one


The intersection of a row and a column is called
► Data
► Field
► Formula
► Non of the above

Question No: 21 ( Marks: 1 ) - Please choose one


HTML pages are edited by _______
► MS Front page
► Notepad
► Dreamweaver
► All of These

Question No: 22 ( Marks: 1 ) - Please choose one


______________ software directly interacts with the user.

► Application software

► System software

► Anonymous software

► Interactive software

Question No: 23 ( Marks: 1 ) - Please choose one


What is the key feature of computer which is against human nature?

► Can’t get bored.

► Pattern recognition
► Repetition

► None
www.virtualinspire.com
Question No: 24 ( Marks: 1 ) - Please choose one
-------------------- Invented at the Imperial University in Tokyo by
Yoshiro Nakamats

► Hard drive
► Flash drive
► Floppy disk
► Optical disc

Question No: 25 ( Marks: 1 ) - Please choose one

This element of Flow Chart is called_____________.


► Process
► Off page connector
► Decision
► Connector

Question No: 26 ( Marks: 1 ) - Please choose one


In flow charts, there is only one entry point in conditions while
there is/are__________ exit points.

►1
►2
►3
►4

Question No: 27 ( Marks: 1 )


What is the difference between a web page and a website ?
Ans.

Question No: 28 ( Marks: 1 )


What is java script?

Question No: 29 ( Marks: 2 )


What is the usage of microcontrollers? Give two examples.

Question No: 30 ( Marks: 3 )


What is title tag in HTML? Give an example of title tag showing
Virtual University of Pakistan as web page title.
www.virtualinspire.com
Question No: 31 ( Marks: 5 )
Fill the column 3 of the table after evaluating the expressions in column 2

Operator Expression Result


+ a=2;
b=a+5; b=7
/ a=15;
b=5; a/b=3
% a=15;
b=75; b%a=11.25
* a=5;
b=9;
c=a*b c=45
- a=90;
b=100;
c=a-b c=-10

Question No: 32 ( Marks: 5 )


How you can enhance the capability of a micro processor?
www.virtualinspire.com
MIDTERM EXAMINATION
CS101- Introduction to Computing (Session - 2)

Question No: 1 ( Marks: 1 ) - Please choose one


_______ consists of cells arranged in rows & columns
► Spreadsheets Software
► Word processor
► Presentation Software
► Microsoft Paint Software

Question No: 2 ( Marks: 1 ) - Please choose one


_________ manages the HW and SW resources ( memory, disk drives etc) of the
computer system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 3 ( Marks: 1 ) - Please choose one


Forms can be submitted through _______ & _______ methods
► INCLUDE, POST
► INCLUDE, GET
► GET, POST
► SEND, POST

Question No: 4 ( Marks: 1 ) - Please choose one


To display a checkbox on the web page, we use ___ tag
► CHECKBOX
► CHECK
► INPUT
► INPUTBOX

Question No: 5 ( Marks: 1 ) - Please choose one


You can ________ from/to a website containing interactive forms.
► Only read
► Only write
► Read and write
► Not read and write

Question No: 6 ( Marks: 1 ) - Please choose one


There is a battery on the motherboard to:
► Give power to the processor
► Save information when computer is off
► Save information when computer is on
► Give power to the motherboard
www.virtualinspire.com
Question No: 7 ( Marks: 1 ) - Please choose one
We can change the background color in HTML, using ___ attribute of <body>

► background

► bgcolor

► backcolor

► backgroundcolor

Question No: 8 ( Marks: 1 ) - Please choose one


___ contains the name of the protocol required to access the resource, a domain name
that identifies a specific computer on the internet and a pathname on the computer
► HTML
► HTTP
► URL
► WWW

Question No: 9 ( Marks: 1 ) - Please choose one


______ is a client program that uses HTTP to make requests to Web servers throughout
the internet on behalf of the user.
► Web Application
► Web Browser
► Internet Application
► HTML

Question No: 10 ( Marks: 1 ) - Please choose one


WWW stands for:
► Wide World Web
► World Wide Web
► World White Web
► World Web Wide

Question No: 11 ( Marks: 1 ) - Please choose one


The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage

Question No: 12 ( Marks: 1 ) - Please choose one


Floating point unit is also known as _________ unit
www.virtualinspire.com
► Real
► Integer
► Numeric
► Fractional

Question No: 13 ( Marks: 1 ) - Please choose one


Programs that reside on Web servers and receive info that a user enters in a form, are
known as:

► Server-Side Scripts

► Client-Side Scripts

► Super Scripts

► Form Scripts

Question No: 14 ( Marks: 1 ) - Please choose one


------------ is volatile memory

► RAM
► ROM
► Hard Disk
► CD ROM

Question No: 15 ( Marks: 1 ) - Please choose one


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

► 25
► 50
► 75
► 100

Question No: 16 ( Marks: 1 ) - Please choose one


VisiCalc was the first popular _______application on PC’s.

► Spreadsheet
► Word processor
► Presentation
► Database

Question No: 17 ( Marks: 1 ) - Please choose one


____________ is a system software that converts the source code written in high level
language into machine language code.
www.virtualinspire.com
► Utilities
► Drivers
► Language Translator
► None of the these

Question No: 18 ( Marks: 1 ) - Please choose one


What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created

► Previous list will end and a new will start.

► Nothing will happen

Question No: 19 ( Marks: 1 ) - Please choose one


__________ is a program that executes instructions line by line written in a high-level
language.

► Interpreter
► Compiler
► Predictor
► Executor

Question No: 20 ( Marks: 1 ) - Please choose one


There are_________________ rules to write the Pseudo Code.

► Standard
► No standard
► Strict
► Pre-defined

Question No: 21 ( Marks: 1 ) - Please choose one


Which one is not the building block of an algorithm?
► Statements
► Sequences
► Repetitions
► Conditionals

Question No: 22 ( Marks: 1 ) - Please choose one


In flow charts, there is only one entry point in conditions while there is/are__________
exit points.

►1
www.virtualinspire.com
►2
►3
►4

Question No: 23 ( Marks: 1 ) - Please choose one


A procedure that usually but not always works or that gives nearly the right answer is
called_____________

► Deterministic Algorithm

► Heuristic Algorithm
► Greedy Algorithm
► Randomized Algorithm

Question No: 24 ( Marks: 1 ) - Please choose one


A Modem is a kind of ___
► Input device
► Output device
► Storage device
► Input and Output device

Question No: 25 ( Marks: 1 ) - Please choose one


The memory size of the Altair 8800 was
► 128 bytes
► 128 Kilo bytes
► 256 Kilo bytes
► 256 bytes

Question No: 26 ( Marks: 1 ) - Please choose one


---------- was known as “mill” in Analytical engine.
► Memory
► Processor
► Monitor
► Mouse

Question No: 27 ( Marks: 1 )


What is the key feature of object-oriented design?

ANSWER: The key feature of object-oriented design is that it treats every thing as
object having properties and methods. These objects are separately treated and designed
and once designed it can be used in any other system. So once designed can be used
many times.

Question No: 28 ( Marks: 1 )


Write one purpose of using spreadsheets ?
www.virtualinspire.com
ANSWERS: Purpose of spreadsheets is that it can do calculations on data
accurately.

Question No: 29 ( Marks: 2 )


List down two advantages of writing Pseudo Code
Answers: The advantages of pseudo code are:
 It is quite similar to human language so easy to understand.
 It is close to real code so easy to write real code from it.

Question No: 30 ( Marks: 3 )


How can we calculate total number of rows in the truth table?

ANSWER: The formula for calculating number of rows in truth table is 2n


Where n = number of inputs

Question No: 31 ( Marks: 5 )


Differentiate between Vector graphics and Bit-mapped graphics.

ANSWER:

VECTOR GRAPHICS BIT MAPPED IMAGES

1. Treat everything as an object 1. Treats everything as a bit map.

2. Is resolution independent 2. Resolution dependent

3. Relatively small size 3. Large files

4. Example: Corel Draw 4. Example: Microsoft Paint

Question No: 32 ( Marks: 5 )


Write differences between Shareware and trail ware software.
ANSWER:
SHAREWARE TRIALWARE
1. These are shared freely. 1. Software is offered for a trial
2. It is given without payment period.
ahead of time. 2. When the period is expired it is
no more in use.
CS101 Introduction to Computing

Composed By Faheem Saqib

16 MiD Term Solved Papers

For more Help Rep At

Faheem_saqib2003@yahoo.com

Faheem.saqib2003@gmail.com

0334-6034849

MIDTERM EXAMINATION
Spring 2010
CS101 Introduction to Computing (Session - 1)
Ref No: 1341217
Time: 60 min
Marks: 38
Student Info
StudentID: BC100200572

Center: OPKST

ExamDate: 5/26/2010 12:00:00 AM

Question No: 1 ( Marks: 1 ) - Please choose one


__________ language is very good for writing well-structured and readable programs,
but it is not as flexible as the C programming language

► BASIC
► PASCAL
► JAVA
► FORTRAN
Question No: 2 ( Marks: 1 ) - Please choose one
____________ interacts directly with the computer Hardware

► Compiler

► Operating system

► Application software

► Assembler

Question No: 3 ( Marks: 1 ) - Please choose one


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

► Save all the data


► Set the shape of all the fields
► Set all fields to their default values

► Do nothing, you have to write code for it

Question No: 4 ( Marks: 1 ) - Please choose one


Programs that reside on Web servers and receive info that a user enters in a form, are
known as:

► Server-Side Scripts

► Client-Side Scripts

► Super Scripts

► Form Scripts

Question No: 5 ( Marks: 1 ) - Please choose one


The world first computer program was written to compute:
► Simple sequence
► Multiple sequence
► Bernoulli’s sequence page 9
► Increasing sequence

Question No: 6 ( Marks: 1 ) - Please choose one


The key strengths of computers are
► Speed
► Storage
► Do not get bored
► All of the given choices

Question No: 7 ( Marks: 1 ) - Please choose one


_________ is the interface in computer that supports transmission of multiple bits at the
same time.
► Serial Port
► Parallel Port page 24
► Universal Serial Bus
► None of the given choices

Question No: 8 ( Marks: 1 ) - Please choose one


Which of the following is NOT supported by PC's power supply.
► -12 and +12 V DC
► -10 and +10 V DC
► -5 and + 5 V DC
► All are supported

Question No: 9 ( Marks: 1 ) - Please choose one


NOWRAP extends the __________ of a cell, if necessary, to fit the contents of the cell
in a single line
► Height
► Length
► Width page 56
► Value

Question No: 10 ( Marks: 1 ) - Please choose one


We need _____________ for memory management in computer
► Software
► Hardware
► Operating System
► Application Software

Question No: 11 ( Marks: 1 ) - Please choose one


The first component of an operating system that runs when a typical computer is turned
ON, is:
► Device Manager
► File Manager
► Loader
► Device Driver

Question No: 12 ( Marks: 1 ) - Please choose one


Speakers fall into the hardware category.
► True
► False

Question No: 13 ( Marks: 1 ) - Please choose one


HTML pages are edited by _______
► MS Front page
► Notepad
► Dreamweaver
► All of These

Question No: 14 ( Marks: 1 ) - Please choose one


PowerBuilder falls in the category of ______________.

► Assembly Languages
► 4-th Generation Languages
► Machine Languages
► High-Level Languages

Question No: 15 ( Marks: 1 ) - Please choose one


Java script is an.
► Object based language

► All of the given page 96

► Interpreted language

► Event driven language

Question No: 16 ( Marks: 1 ) - Please choose one


In java script objects may have___________ properties.
► Single

► Several

► Multiple
► All of the given options

Question No: 17 ( Marks: 2 )


<A “HREF=VU Home Page"> Click Here <\A>
Correct above HTML code segment.

Question No: 18 ( Marks: 2 )


Give an example of an Interactive and Batch mode of Application Software?

Question No: 19 ( Marks: 2 )


What is best algorithm?
Question No: 20 ( Marks: 3 )
Write three characteristics of JavaScript.

Question No: 21 ( Marks: 3 )


What is the difference WYSIWYG and Markup based word processing?

Question No: 22 ( Marks: 5 )


What are the two key features of UNDO command in MS-Excel ?

Question No: 23 ( Marks: 5 )


Write down the classification of the software’s according to the Mode with examples?

MIDTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing (Session - 2)
Ref No: 1341159
Time: 60 min
Marks: 38
Student Info
StudentID: MC100201286

Center: OPKST

ExamDate: 5/28/2010 12:00:00 AM

Question No: 1 ( Marks: 1 ) - Please choose one


JavaScript does not support_______________

► User interaction
► Graphics
► Network operations
► Both Graphics and Network operations

Question No: 2 ( Marks: 1 ) - Please choose one


__________ language is very good for writing well-structured and readable programs,
but it is not as flexible as the C programming language

► BASIC
► PASCAL
► JAVA
► FORTRAN
Question No: 3 ( Marks: 1 ) - Please choose one
__________ is the example of Shrink-wrapped software

► PIA information system


► WinZip trial pack
► Linux
► MS Word

Question No: 4 ( Marks: 1 ) - Please choose one


___________ refers to the firmware code which is run by an IBM compatible PC when
first powered on.
► DOS
► BIOS page 61
► Utility Program
► None of these

Question No: 5 ( Marks: 1 ) - Please choose one


RTOS stands for____________________

► Real Task Operating System


► Random Time Operating System
► Rational Time Operating System
► Real Time Operating System page 67

Question No: 6 ( Marks: 1 ) - Please choose one


------------- is an electronic path within a Computer System along which bits are
transmitted.

► Port
► Slots
► Bus
► Modem

Question No: 7 ( Marks: 1 ) - Please choose one


A microprocessor can be made more powerful by increasing its ________

► Clock frequency
► Word length
► Clock frequency and Word length page 318
► None of above

Question No: 8 ( Marks: 1 ) - Please choose one


Which one of these translates the program once at a time ?
► Interpreter
► Compiler page 61
► Operating system
► Translator

Question No: 9 ( Marks: 1 ) - Please choose one


------------ is volatile memory

►RAM page 25
►ROM
►Hard Disk
►CD ROM

Question No: 10 ( Marks: 1 ) - Please choose one


A British scientist named John A. Fleming made a vacuum tube known today as a diode.
Then the diode was known as a "valve," Is it true?

►true page 14
►false

Question No: 11 ( Marks: 1 ) - Please choose one


<form> Tags always placed between the <BODY> and </BODY> tags of a Web page
►True
►False

Question No: 12 ( Marks: 1 ) - Please choose one


_____________ is generally measured in terms of the number of steps required to
execute an algorithm.

► Space
► Time page 101
► Memory and time
► Bandwidth

Question No: 13 ( Marks: 1 ) - Please choose one


Programs where no user interaction found during program execution are called
__________.

►Batch programs
►Event-driven programs
►Graphics based programs
► None of the given

Question No: 14 ( Marks: 1 ) - Please choose one


For connector the following symbol is used:
►Square

►Rectangle

►Diamond

►Circle

Question No: 15 ( Marks: 1 ) - Please choose one

After starting computer, which module of operating system activates first?

►Linker

►Kernel

►Loader

►Device manager

Question No: 16 ( Marks: 1 ) - Please choose one


"Every minute dies a man, And one and a sixteenth is born" said by?

►Alfred, Lord Tennyson

►Charles Babbage during lec

►Ada, Countess of Lovelace


►Babbage and Lord Tennyson

Question No: 17 ( Marks: 2 )


Why JavaScript is called Object-based language, why not Object-Oriented ?

Question No: 18 ( Marks: 2 )


Draw flow chart symbols for "process" and "off page connector" ?

Question No: 19 ( Marks: 2 )


How can you open a link in a new browser window?

Question No: 20 ( Marks: 3 )


List down the names of any three parameters on which we analyze an algorithm.

Question No: 21 ( Marks: 3 )


What is the difference between user requirements and development specification.

Question No: 22 ( Marks: 5 )


Which two phases of the SW lifecycle do you think are the most important and effort
consuming steps? Explain with reasons.

Question No: 23 ( Marks: 5 )


Write down the algorithm for converting decimal number to binary?

MIDTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing (Session - 3)
Q1
Charles Babbage was a/an
(a) Mathematician
(b) Computer Scientist
(c) Physician
(d) Analyst
Q2
First electronic computer was
(a) ABC
(b) UNVAC 1
(c) Harvard Mark 1
(d) IBM PC
Q3
The Last famous electro-mechanical computer was
(a) ENIAC
(b) EDVAC
(c) Harvard Mark 1
(d) Altair 8800
Q4
The memory size of the Altair 8800 was
(a) 128 bytes
(b) 256 bytes
(c) 128 Kilo bytes
(d) 256 Kilo bytes
Q5

This element of Flow Chart is called_____________.


(a) Process
(b) Process
(c) Decision
(d) Connector
Q6
JavaScript is an example of _____________ language.
(a) Object-based
(b) Object-oriented
(c) Machine
(d) Assembly
Q7
____________ interacts directly with the computer Hardware
(a) Compiler
(b) Operating system
(c) Application software
(d) Assembler
Q8
In Spreadsheets, you can create a relationship between two cells by using _____.
(a) Numbers
(b) Text
(c) Formulas
(d) None of the given choices
Q9
In spreadsheets, cell address A12 means _______.
(a) Row A, Cloumn 12
(b) Row 12, Cloumn A
(c) Row 2,Cloumn A1
(d) Row A1, Cloumn 2
Q10
VisiCalc was the first popular _______application on PC’s.
(a) Spreadsheet
(b) Word processor
(c) Presentation
(d) Database
Q11
__________ is the example of Shrink-wrapped software
(a) PIA information system
(b) WinZip trial pack
(c) Linux
(d) MS Word
Q12
The key feature of Scientific/Engineering/Graphics applications is ____________
(a) Intense calculations
(b) User-friendly
(c) Reliability
(d) Cost-effective
Q13
ERP is a type of __________________ .
(a) Entertainment software
(b) Productivity software
(c) Business software
(d) Scientific software
Q14
When we use <INPUT type=“password”>, what will happen?
(a) Text will not be visible
(b) Text will be in normal format
(c) Text will be in **** format
(d) Text will be in #### format
Q15
Video Card has its own -----------------
(a) Memory
(b) Processor
(c) Memory& Processor
(d) Neither memory nor Processor
Q16
Using only HTML we can create
(a) Dynamic web pages
(b) Static web pages
(c) Both Static and Dynamic pages
(d) None of these
Q17
The world first computer program was written to compute:
(a) Simple sequence
(b) Multiple sequence
(c) Bernoulli’s sequence
(d) Increasing sequence
Q18
Computers are good at
(a) Speed
(b) Storage
(c) Never bored
(d) All of the given choices
Q19
_____ is an application program that provides a way to look at and interact with all the
information on the World Wide Web
(a) URL
(b) Browser
(c) HTML
(d) Website
Q20
___ contains the name of the protocol required to access the resource, a domain name that
identifies a specific computer on the internet and a pathname on the computer
(a) HTML
(b) HTTP
(c) URL
(d) WWW
Q21
_________ is the interface in computer that supports transmission of multiple bits at the
same time.
(a) Serial Port
(b) Parallel Port
(c) Universal Serial Bus
(d) None of the given choices
Q22
Forms can be submitted by using __________ different methods
(a) 2
(b) 3
(c) 4
(d) 5

Q23
Forms can be submitted through _______ & _______ methods
(a) INCLUDE, POST
(b) INCLUDE, GET
(c) GET, POST
(d) SEND, POST
Q24
__________ maintains index of names and location of the files.
(a) File manager
(b) File system
(c) File Folder
(d) Operating system
Q25
Now a days, users communicate with the computer using a consistent __________
provided by the Operating System.
(a) Command-line interface.
(b) Application Interface
(c) User Interface
(d) Protocol
Q26
If an algorithm is syntactically correct, but semantically incorrect then this situation is
(a) Very good situation
(b) Very dangerous situation
(c) Not very bad
(d) Neutral situation
Q27
What is the problem with Brute Force Strategy approach?
Solution:-
Doesn’t scale well with the size of the problem

Q28
What is software design methodology?
Solution:-
The set of (often flexible) rules and guidelines a team of developers follow to construct
reasonably complex SW systems
Q29
What is the name of HTML tag, that has Href attribute and What is the Purpose of Href?
Solution:-
<A HREF = “action” > label </A>
It is used to to create Links between pages, or we can used it as “mailto” function.
Q30
Write three characteristics of JavaScript.
Solution:-
(1) JavaScript has numerous operators, classified in many categories.
(2) Terminate all JavaScript statements with a semicolon. It is not always necessary,
but highly recommended.
(3) JavaScript ignores any extra white spaces or line breaks that you put in the code
(4) Although JavaScript allows variable declaration, it does not require it - except in
the case when
(5)

Q31
Give reasons why we need semantic web?
Solution:-
Whereas, today’s Web’s content is designed for humans to read; the Semantic Web’s
content will be designed for computers to understand meaningfully. However, the
Semantic Web is not a replacement but an extension of the present Web, in which info is
given well defined meaning

Q32
What are the two key features of UNDO command in MS-Excel ?
Solution:-
1. Allows you to recover from your mistakes
2. Allows you to experiment without risk
3.
MIDTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing (Session - 4)

Question No: 1 ( Marks: 1 ) - Please choose one


A procedure that usually, but not always, works or that gives nearly the right answer is
called
► Algorithm
► Logarithm
► Heuristic
► Methodology

Question No: 2 ( Marks: 1 ) - Please choose one


Which of the following is NOT an Application Software.

► Word Processor

► Web Browser

► Windows XP

► MS Excel

Question No: 3 ( Marks: 1 ) - Please choose one


Operating System talks to and manages devices through
► Loader
► File Manager
► Memory Manager
► Device Driver

Question No: 4 ( Marks: 1 ) - Please choose one


You can ________ from/to a website containing interactive forms.
► Only read
► Only write
► Read and write
► Not read and write

Question No: 5 ( Marks: 1 ) - Please choose one


When the user needs something to be done by the computer, he/she gives instructions in
the form of _____ to computer ____
► Software, Hardware
► Hardware, Software
► System Software, Application Software
► Graph, Monitor

Question No: 6 ( Marks: 1 ) - Please choose one


There is a battery on the motherboard to:
► Give power to the processor
► Save information when computer is off
► Save information when computer is on
► Give power to the motherboard

Question No: 7 ( Marks: 1 ) - Please choose one


______ is simply a fast port that lets you connect computer peripherals and consumer
electronics to your computer without restart.
► Freeware
► Shareware
► Firewire
► Firmware

Question No: 8 ( Marks: 1 ) - Please choose one


Which one is correct?

► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>

Question No: 9 ( Marks: 1 ) - Please choose one


The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage

Question No: 10 ( Marks: 1 ) - Please choose one


The key strengths of computers are
► Speed
► Storage
► Do not get bored
► All of the given choices

Question No: 11 ( Marks: 1 ) - Please choose one


Which one is correct?

► <HEAD> </HEAD>
► <HEAD> <END>
► <HEAD> </END>
► <HEAD> <\HEAD>

Question No: 12 ( Marks: 1 ) - Please choose one


Everything that JavaScript manipulates is treated as:
► Object

► Window

► Text

► Script

Question No: 13 ( Marks: 1 ) - Please choose one


A process in which user’s browser check the form’s data is called

► Server-Side Scripting

► Client-Side Scripting

► Bowser Scripting

► Form Scripting

Question No: 14 ( Marks: 1 ) - Please choose one


------------ is volatile memory

► RAM
► ROM
► Hard Disk
► CD ROM

Question No: 15 ( Marks: 1 ) - Please choose one


WYSIWYG stands for

► What you say is what you get


What you say is what you get
► Where you see is where you go

► What you see is what you get

► When you see is when you get


Question No: 16 ( Marks: 1 ) - Please choose one
What is/are the use/uses of Word processor?
► To write a letter

► To write Research paper or report

► To create address labels

► All of the given

Question No: 17 ( Marks: 1 ) - Please choose one


__________ is the example of Shrink-wrapped software

► PIA information system


► WinZip trial pack
► Linux
► MS Word

Question No: 18 ( Marks: 1 ) - Please choose one


____________ interacts directly with the computer Hardware

► Compiler

► Operating system

► Application software

► Assembler

Question No: 19 ( Marks: 1 ) - Please choose one


Which of the following symbol is used for multiple line comments in JavaScript?

►/
► //
► /*
► //*

Question No: 20 ( Marks: 1 ) - Please choose one


Consider the following statement written in JavaScript:
str = ”Hello” + ” World”

What will be the value of str ?


► HelloWorld
► Hello World
► Hello + World
► It will result in error

Question No: 21 ( Marks: 1 ) - Please choose one


__________ give us the ability to manipulate data through reference instead of actual
value.

► Constants
► Variables
► Data Types
► Operators

Question No: 22 ( Marks: 1 ) - Please choose one


Bringing subsystems together to form the system is called

► Integration
► Merging
► Splitting
► Operation & Maintenance

Question No: 23 ( Marks: 1 ) - Please choose one


Preliminary exploration of possible solutions, technologies, suppliers is called

► Viability
► Feasibility
► Specification
► Integration

Question No: 24 ( Marks: 1 ) - Please choose one


Algorithm gives us:

► Definition of a problem
► Sequence of steps to solve a problem
► Proper understanding of a problem

► Solution to a problem

Question No: 25 ( Marks: 1 ) - Please choose one


Web site is collection of related ______
► Web pages
► Information
► Search Engines
► None of the given choices

Question No: 26 ( Marks: 1 ) - Please choose one


Information on World Wide Web is _______________ unified.
► Physically
► Logically
► Really
► None of the given choices

Question No: 27 ( Marks: 1 )


What is coding?

WYSIWYG
Question No: 28 ( Marks: 1 )
Define URL

Question No: 29 ( Marks: 2 )


What is Deterministic Algorithm?

Question No: 30 ( Marks: 3 )


How can we calculate total number of rows in the truth table?

Question No: 31 ( Marks: 5 )


What are JavaScript literal and what are its types?

Question No: 32 ( Marks: 5 )


What is the impact of web on our Society and Business?

MIDTERM EXAMINATION
Fall 2010
CS101- Introduction to Computing (Session - 5)

Question No: 1 ( Marks: 1 ) - Please choose one


---------- was known as “mill” in Analytical engine.
► Memory
► Processor
► Monitor
► Mouse

Question No: 2 ( Marks: 1 ) - Please choose one


Vacuum tubes were replaced by ___
► Punch cards
► Transistors
► Micro Processors
► Resistors

Question No: 3 ( Marks: 1 ) - Please choose one


The impact of a digit in a number is determined by its ---------------

► Value
► Location
► Length
► None of above

Question No: 4 ( Marks: 1 ) - Please choose one


Detailed plan, specifying the required resources and expected
deliverables, is done in ________ phase.

► Planning
► User Requirements
► Design
► Developer Specification

Question No: 5 ( Marks: 1 ) - Please choose one


Which of the following application is collections of cells?

► Word
► Excel
► PowerPoint
► Outlook Express

Question No: 6 ( Marks: 1 ) - Please choose one


VisiCalc was the first popular _______application on PC’s.

► Spreadsheet
► Word processor
► Presentation
► Database

Question No: 7 ( Marks: 1 ) - Please choose one


__________ is the example of Shrink-wrapped software

► PIA information system


► WinZip trial pack
► Linux
► MS Word

Question No: 8 ( Marks: 1 ) - Please choose one


Which of the following is/are the parts of Operating system components?

► GUI
► Device Manager
► Shell
► All of these

Question No: 9 ( Marks: 1 ) - Please choose one


Spread sheet is a type of _______________.
► Productivity software
► Engineering software
► Mathematical software
► Business software

Question No: 10 ( Marks: 1 ) - Please choose one


Register is a kind of ______memory

► Fast
► Super fast
► Slow
► Very slow

Question No: 11 ( Marks: 1 ) - Please choose one


The grand-daddy of the today’s global Internet was
► WAN
► ARPANET
► Intranet
► LAN

Question No: 12 ( Marks: 1 ) - Please choose one


A _________translates a high-level language (that is easy to
understand for humans) into a language that the computer can
understand
► Computer
► Transistor
► Compiler
► Device

Question No: 13 ( Marks: 1 ) - Please choose one


Web is a unique invention by humans in terms that it is:
► accessible to only the owners who control it
► accessible from particular locations only
► accessible to all humans
► accessible to only the educational institutes

Question No: 14 ( Marks: 1 ) - Please choose one


ASCII WHITE is the fastest Super computer which can perform
__________ calculations in one second.
► 1.3 billion
► 1.3 trillion
► 1.3 miillion
► 1.3 thousand

Question No: 15 ( Marks: 1 ) - Please choose one


Which one of these is NOT an example of storage devices?
► Tape
► RAM
► Floppy
► DVD

Question No: 16 ( Marks: 1 ) - Please choose one


1 byte consists of:
► 8 bits
► 10 bits
► 12 bits
► 16 bits

Question No: 17 ( Marks: 1 ) - Please choose one


_____ is the example of server-side scripts on Unix servers.
► ASP
► CGI
► VBScript
► JavaScript

Question No: 18 ( Marks: 1 ) - Please choose one


Randomized algorithms are often ________ than deterministic
algorithms for the same problem.
► Simpler and more slow
► Simpler and more efficient
► Complex and more efficient
► Complex and more slow

Question No: 19 ( Marks: 1 ) - Please choose one


In JavaScript, a || b is interpreted as

► a is true or b is false
► a is true and b is true
► a is false and b is true
► a is true or b is true or both are true

Question No: 20 ( Marks: 1 ) - Please choose one


The intersection of a row and a column is called
► Data
► Field
► Formula
► Non of the above

Question No: 21 ( Marks: 1 ) - Please choose one


HTML pages are edited by _______
► MS Front page
► Notepad
► Dreamweaver
► All of These

Question No: 22 ( Marks: 1 ) - Please choose one


______________ software directly interacts with the user.

► Application software

► System software

► Anonymous software

► Interactive software

Question No: 23 ( Marks: 1 ) - Please choose one


What is the key feature of computer which is against human nature?

► Can’t get bored.

► Pattern recognition
► Repetition

► None

Question No: 24 ( Marks: 1 ) - Please choose one


-------------------- Invented at the Imperial University in Tokyo by
Yoshiro Nakamats

► Hard drive
► Flash drive
► Floppy disk
► Optical disc

Question No: 25 ( Marks: 1 ) - Please choose one

This element of Flow Chart is called_____________.


► Process
► Off page connector
► Decision
► Connector

Question No: 26 ( Marks: 1 ) - Please choose one


In flow charts, there is only one entry point in conditions while
there is/are__________ exit points.

►1
►2
►3
►4

Question No: 27 ( Marks: 1 )


What is the difference between a web page and a website ?
Ans.

Question No: 28 ( Marks: 1 )


What is java script?

Question No: 29 ( Marks: 2 )


What is the usage of microcontrollers? Give two examples.

Question No: 30 ( Marks: 3 )


What is title tag in HTML? Give an example of title tag showing
Virtual University of Pakistan as web page title.

Question No: 31 ( Marks: 5 )


Fill the column 3 of the table after evaluating the expressions in column 2

Operator Expression Result


+ a=2;
b=a+5; b=7
/ a=15;
b=5; a/b=3
% a=15;
b=75; b%a=11.25
* a=5;
b=9;
c=a*b c=45
- a=90;
b=100;
c=a-b c=-10

Question No: 32 ( Marks: 5 )


How you can enhance the capability of a micro processor?

MIDTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing (Session - 6)
Ref No: 1340580
Time: 60 min
Marks: 38
Student Info
Student ID:

Center:

Exam Date:

Question No: 1 ( Marks: 1 ) - Please choose one

Vacuum tubes were replaced by ___

► Punch cards

► Transistors

► Micro Processors

► Resistors
Question No: 2 ( Marks: 1 ) - Please choose one

Hexadecimal number system is based on -------------------- digits

►2

►8

► 12

► 16

Question No: 3 ( Marks: 1 ) - Please choose one

Java script interact with user through______________

► Special control

► Internet explorer

► Event handlers

► Java script does not interact with user

Question No: 4 ( Marks: 1 ) - Please choose one

Which one is correct for JavaScript?

► onMouseOver

► OnMouseOver

► onmouseover

► All of the given


Question No: 5 ( Marks: 1 ) - Please choose one

Programs that reside on Web servers and receive info that a user enters in a form, are
known as:

► Server-Side Scripts

► Client-Side Scripts

► Super Scripts

► Form Scripts

Question No: 6 ( Marks: 1 ) - Please choose one

The ______ is connected to all other modules of the microprocessor.

► Control unit

► Memory unit

► Floating Point unit

► Arithmetic and Logic unit

Question No: 7 ( Marks: 1 ) - Please choose one

WWW stands for:

► Wide World Web


► World Wide Web

► World White Web

► World Web Wide

Question No: 8 ( Marks: 1 ) - Please choose one

Supercomputers are used in:

► Weather forecasting

► Aeroplane mnufacturing

► Atomic bomb experiments

► All of the given choices

Question No: 9 ( Marks: 1 ) - Please choose one

Which one of these is NOT an example of storage devices?

► Tape

► RAM

► Floppy

► DVD

Question No: 10 ( Marks: 1 ) - Please choose one

To display a checkbox on the web page, we use ___ tag

► CHECKBOX
► CHECK

► INPUT

► INPUTBOX

Question No: 11 ( Marks: 1 ) - Please choose one

Users communicate with the computer using a consistent user interface provided by the OS.

► True

► False

Question No: 12 ( Marks: 1 ) - Please choose one

OO software is all about _____________.

► Behaviors

► Methods

► Properties

► Objects

Question No: 13 ( Marks: 1 ) - Please choose one

Web standards are being developed by

► Mozilla

► Microsoft
► IBM

► World Wide Web Consortium

Question No: 14 ( Marks: 1 ) - Please choose one

_________ are great for showing parts of a whole that are generally expressed in
percentages.

► Line Charts

► Pie Charts

► Bar Charts

► None of the options described

Question No: 15 ( Marks: 1 ) - Please choose one

A diode is a __________terminal device

► Three

► Two

► One

► None of above

Question No: 16 ( Marks: 1 ) - Please choose one


Select the attribute of the <form> tag

► Method

► Action

► Value

► All of above

Question No: 17 ( Marks: 2 )

Explain briefly the different techniques that are used to embed JavaScript code in a
web page?

Question No: 18 ( Marks: 2 )

What is an interpreter? Write its one benifit over compiler.

Question No: 19 ( Marks: 2 )

Whether response time of a microprocessor is greater or less than that of RAM?

Question No: 20 ( Marks: 3 )

Write formula for the following expression.


1) If we want to add the value from cell C3 to C10 we can write
2) If we want to add the value of C2 to the value of C4 and than multiply by
C6 , the formula is written for
Question No: 21 ( Marks: 3 )

How can we enter data in more than one line in an html form?

Question No: 22 ( Marks: 5 )

What is software life cycle?

Question No: 23 ( Marks: 5 )

Elaborate greedy algorithm definition with solid example in favour and one counter
example?

MIDTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 1)
Ref No: 1013992
Time: 60 min
Marks: 43
Student Info
StudentID: MC090409683

Center: OPKST

ExamDate: 12/14/2009 12:00:00 AM

Question No: 1 ( Marks: 1 ) - Please choose one


The memory size of the Altair 8800 was
► 128 bytes
► 128 Kilo bytes
► 256 Kilo bytes
► 256 bytes

Question No: 2 ( Marks: 1 ) - Please choose one


URL is a/an ________
► Device
► Component
► Address
► Tool

Question No: 3 ( Marks: 1 ) - Please choose one


Which of the following hardware component of a computer can also be called as
engine?
► Bus
► Storage
► Memory
► Processor

Question No: 4 ( Marks: 1 ) - Please choose one


The __________Processor is specially designed for PDA?
► PowerPC
► StrongARM
► Crusoe
► SPARC

Question No: 5 ( Marks: 1 ) - Please choose one


There are ___________ ways to represent an algorithm.

►1
►2
► 3
►4

Question No: 6 ( Marks: 1 ) - Please choose one


Which one is correct for JavaScript?

► onMouseOver
► OnMouseOver
► onmouseover
► All of the given

Question No: 7 ( Marks: 1 ) - Please choose one


__________ is a particularly good language for processing numerical data, but it does
not lend itself very well to large business programs

► BASIC
► PASCAL
► JAVA
► FORTRAN page 131

Question No: 8 ( Marks: 1 ) - Please choose one


In spreadsheets, cell address A12 means _______.

► Row A, Cloumn 12
► Row 12, Cloumn A
► Row 2,Cloumn A1
► Row A1, Cloumn 2

Question No: 9 ( Marks: 1 ) - Please choose one


The key feature of Scientific/Engineering/Graphics applications is ____________

► Intense calculations page 81

► User-friendly

► Reliability

► Cost-effective

Question No: 10 ( Marks: 1 ) - Please choose one


Command which saves the selected text before deleting is
► Copy

► Delete
► Cut

► Undo

Question No: 11 ( Marks: 1 ) - Please choose one


Properties of an object are modified with

► Class

► Methods page 142

► Structures

► Forms

Question No: 12 ( Marks: 1 ) - Please choose one


Video Card has its own -----------------

► Memory
► Processor
► Memory& Processor
► Neither memory nor Processor

Question No: 13 ( Marks: 1 ) - Please choose one


Using only HTML we can create

► Dynamic web pages

► Static web pages

► Both Static and Dynamic pages

► None of these

Question No: 14 ( Marks: 1 ) - Please choose one


Computers are good at
► Speed
► Storage
► Never bored
► All of the given choices

Question No: 15 ( Marks: 1 ) - Please choose one


There is a battery on the motherboard to:
► Give power to the processor
► Save information when computer is off
► Save information when computer is on
► Give power to the motherboard

Question No: 16 ( Marks: 1 ) - Please choose one


Microsoft Word is a type of:
► System Software
► Freeware Software
► Shrink-Wrapped Software page 62
► Custom-built Software

Question No: 17 ( Marks: 1 ) - Please choose one


The set of instructions that opearates various parts of hardware is called shareware.
► True
► False

Question No: 18 ( Marks: 1 ) - Please choose one


Which of the following manages the HW and SW resources of the computer system?
► Hardware
► System Software
► Operating system page 65
► Graphics Software

Question No: 19 ( Marks: 1 ) - Please choose one


Application developers do not need to know much about the HW, especially the microProcessor,
while they are developing their application.
► True
► False

Question No: 20 ( Marks: 1 ) - Please choose one


Which of the following formula is used in spread sheet for addition?

► C6+E6
► =C6+E6
► 6+6=12
► 6+E6

Question No: 21 ( Marks: 1 ) - Please choose one


Web Pages developed for human as well computer understanding are called as;
► Static Web Pages
► Semantic Web Pages
► Dynamic Web Pages
► Java Web Pages
Question No: 22 ( Marks: 1 ) - Please choose one
Programs where no user interaction found during program execution are called
__________.

► Batch program page 129


► Event-driven programs
► Graphics based programs
► None of the given

Question No: 23 ( Marks: 1 ) - Please choose one


In _______________, the software developer decomposes the problem into subsystems
and defines their relationships.

► Detailed Design
► Integration Testing
► Design page 137
► Architecture

Question No: 24 ( Marks: 1 ) - Please choose one


A diode functions as the electronic version of a __________-way valve.
 one page 32
 two
 three
 four

Question No: 25 ( Marks: 1 ) - Please choose one


What is the key feature of computer which is against human nature?

► Can’t get bored.


► Pattern recognition
► Repetition
► None

Question No: 26 ( Marks: 1 ) - Please choose one


The first --------------was invented at Bell Laboratories on December 16, 1947 by William
Shockley.

► Transistor page 14

► Vacuum Tube

► Punch card
► Transmitter

Question No: 27 ( Marks: 1 )


What is the Brute Force Strategy?

Answer:. A staretegy in which all possible combinations are examined and best
among them is selected. Brute force (also known as brute force cracking) is a trial
and error method used by application programs to decode encrypted data such as
passwords or Data Encryption Standard (DES) keys, through exhaustive effort
(using brute force) rather than employing intellectual strategies.

Question No: 28 ( Marks: 1 )


What is java script?

Answer: JavaScript is an object-oriented scripting language used to enable


programmatic access to objects within both the client application and other
applications.
It is primarily used in the form of client-side JavaScript, implemented as an
integrated component of the web browser, allowing the development of enhanced
user interfaces and dynamic websites

Question No: 29 ( Marks: 2 )


How can you explain control unit?

Answer: Control unit is a computerized part of the speech processor. Most of the
controls, such as program, volume and sensitivity, are located on the control unit.

Question No: 30 ( Marks: 3 )


How a designer makes Structured Design?

Answer: Structured Design: Materials and member type, size, and configuration to
carry loads in a safe and serviceable fashion.
In general, structural design implies the engineering of stationary objects such as
buildings and bridges, or objects that may be mobile but have a rigid shape such as
ship hulls and aircraft frames tructural design involves at least five distinct phases
of work, project requirements, materials, structural scheme, analysis, and design
It is insufficient in most cases, for the designer to consider a solution, a design. He
should evaluate several alternate designs and choose the best in the sense of
maximizing such technical objectives as efficiency, reliability, and maintainability
while satisfying such design constraints as memory size and response time.

Question No: 31 ( Marks: 5 )


What is Turing machine? Who invented it and also explain how a Turing test is
conducted?

Answer: A Turing machine is a theoretical device that manipulates symbols


contained on a strip of tape. Despite its simplicity, a Turing machine can be adapted
to simulate the logic of any computer algorithm, and is particularly useful in
explaining the functions of a CPU inside of a computer. The "Turing" machine was
designed by Alan Turing in 1937.
The Turing test is a proposal for a test of a machine's ability to demonstrate
intelligence. It proceeds as follows a human judge engages in a natural language
conversation with one human and one machine, each of which tries to appear
human. All participants are placed in isolated locations. If the judge cannot reliably
tell the machine from the human, the machine is said to have passed the test. In
order to test the machine's intelligence rather than its ability to render words into
audio, the conversation is limited to a text-only channel such as a computer
keyboard and screen.
If a computer pass the test ,we can say that a machine can think.

Question No: 32 ( Marks: 5 )


What are JavaScript literal and what are its types?

Answer: The raw data that make up the root of data types are called "literals."
These are, in effect, literally what they represent themselves to be. Numbers, strings,
and Boolean values make up the core set of literals in JavaScript. Little mystery
exists with literals, but important differences exist between them. In JavaScript,
data types include strings, which are simply quoted characters, numbers, Boolean,
Objects and even a type which has no value at all, Null. Since JavaScript is a loosely
typed language, you don't neccessarily need to know what type of data every value is
(although it certainly helps).
Every piece of data in these categories is known as a value. When a value is referred
to outright in a statement, it is called a literal value. For the same reason people are
identified by names as opposed to "human" or "person", literal values can be
named in order to make repeated reference to them practical, efficent and readable.
These names are called variables.

Literals can be of several types. Some of them are:


Array Literals
Boolean Literals
Floating-Point Literals
Integers
Object Literals
String Literals
MIDTERM EXAMINATION

Fall 2009

CS101- Introduction to Computing (Session - 2)

Time: 60 min

Marks: 43

Question No: 1 ( Marks: 1 ) - Please choose one

Vacuum tubes were replaced by _transistors__

► Punch cards

► Transistors

► Micro Processors

► Resistors

Question No: 2 ( Marks: 1 ) - Please choose one

Today’s computers are based on the technology of ___transistors__

► Punch cards

► Vacuum tubes

► Transistors

► Resistors

Question No: 3 ( Marks: 1 ) - Please choose one

Browser is a _________none of the given choices_________ used for


browsing.
► Tool

► Component

► Device

► None of the given choices

Question No: 4 ( Marks: 1 ) - Please choose one

It represents the ______input or output__________ flow chart element.

► Process

► Input or Output

► Decision

► Connector

Question No: 5 ( Marks: 1 ) - Please choose one

Which of the following number system is used by microprocessor? Binary

► Binary

► Decimal

► Octal

► Hexadecimal

Question No: 6 ( Marks: 1 ) - Please choose one

Hexadecimal number system is based on ----------16---------- digits


►2

►8

► 12

► 16

Question No: 7 ( Marks: 1 ) - Please choose one

Java script interact with user through______Event handlers________

► Special control

► Internet explorer

► Event handlers

► Java script does not interact with user

Question No: 8 ( Marks: 1 ) - Please choose one

Programs that are typically started from a shell (or automatically via a scheduler)
are called Batch programs

► Batch programs

► Event-driven programs

► Sequential programs

► Application programs

Question No: 9 ( Marks: 1 ) - Please choose one

A new cell using HTML is added in table row by <TD>..</TD>


► <TC>…</TC>

► <TR>…</TR>

► <TD>…</TD>

► <NC>…</NC>

Question No: 10 ( Marks: 1 ) - Please choose one

Waterfall is a __sequential_______ life-cycle model.

► Spiral

► Sequential

► Circular

► Spherical

Question No: 11 ( Marks: 1 ) - Please choose one

What will be the result of the following formula in Spreadsheet application ?

SUM(A2:A3) =_______100__(Assume that A2 = 25 A3 = 75)

► 25

► 50

► 75

► 100
Question No: 12 ( Marks: 1 ) - Please choose one

A _____multi user_______ operating system allows many users to take


advantage of the computer's resources, simultaneously

► Single user

► Multi- user

► Single tasking

► Multi tasking

Question No: 13 ( Marks: 1 ) - Please choose one

When we use <INPUT type=“password”>, what will happen? Text will be in ****
format

► Text will not be visible

► Text will be in normal format

► Text will be in **** format

► Text will be in #### format


Question No: 14 ( Marks: 1 ) - Please choose one

The world first computer program was written to compute: bernoulli’s sequence

► Simple sequence

► Multiple sequence

► Bernoulli’s sequence

► Increasing sequence

Question No: 15 ( Marks: 1 ) - Please choose one

The first Web browser with a GUI was generally available in: 1993

► 1992

► 1993

► 1994

► 1995

Question No: 16 ( Marks: 1 ) - Please choose one

ASCII WHITE is the fastest Super computer which can perform __1.3
trillion________ calculations in one second.

► 1.3 billion

► 1.3 trillion

► 1.3 miillion

► 1.3 thousand

Question No: 17 ( Marks: 1 ) - Please choose one


Monitor is an example of: output device

► Input Device

► Processing Device

► Output Device

► Storage Device

Question No: 18 ( Marks: 1 ) - Please choose one

Forms can be submitted through _____get__ & __post_____ methods

► INCLUDE, POST

► INCLUDE, GET

► GET, POST

► SEND, POST

Question No: 19 ( Marks: 1 ) - Please choose one

_kernel______ is responsible for all the essential operations like basic house
keeping, task scheduling, etc. Also contains low-level HW interfaces

► Hardware

► Device Manager

► Kernel

► Device Driver

Question No: 20 ( Marks: 1 ) - Please choose one

Which of the following is NOT an Application Software. Windows XP

► Word Processor
► Web Browser

► Windows XP

► MS Excel

Question No: 21 ( Marks: 1 ) - Please choose one

Bit-mapped graphics is also known as _____raster___ graphics

► Vector

► Raster

► Scalar

► Simple

Question No: 22 ( Marks: 1 ) - Please choose one

A set of stand alone productivity applications designed to work together known


as ___Productivity software suites___________ .

► Productivity software suites

► Compiled software

► Secure software

► Intelligent software
Question No: 23 ( Marks: 1 ) - Please choose one

_____semicolon________ is used to terminate all JavaScript statements.

► Colon

► Semicolon

► Underscore

► Apostrophe

Question No: 24 ( Marks: 1 ) - Please choose one

By today's standards, the Mark-I was slow and requiring 3 to 5 seconds for a
multiplication operation. True

► True

► False

Question No: 25 ( Marks: 1 ) - Please choose one

There are______NO Standard___________ rules to write the Pseudo Code.

► Standard

► No standard

► Pre-defined

► Strict

Question No: 26 ( Marks: 1 ) - Please choose one


In flow charts, there is only one entry point in conditions while there
is/are_____2_____ exit points.

►1

►2

►3

►4

Question No: 27 ( Marks: 1 )

Define URL

URL(Uniform resource locator)

URL (Uniform Resource Locator, previously Universal Resource Locator) - is the


address of a file (resource) accessible on the Internet. The type of file or
resource depends on the Internet application protocol.

Examples of URLs: http://vu.edu.pk

http://www.yahoo.com

Question No: 28 ( Marks: 1 )

What is Randomized Algorithm?

Randomized Algorithm:

Any algorithm whose behavior is not only determined by the input, but also
values produced by a random number generator

These algorithms are often simpler and more efficient than deterministic
algorithms for the same problem. And because of there simplicity they are easier
to analyze which is the most important thing in the decision making of an
algorithm.

Question No: 29 ( Marks: 2 )

What was the name of first super computer. When it was introduced?

CRAY1 is the first computer and it was introduced in 1973

Question No: 30 ( Marks: 3 )

How a designer makes Structured Design?

Structured Design is known as a Top-down design.

The designed first conceives about the High level design and then further
designs the details of the high level design components and it goes on and on.

Making small changes in the functionality of the systems sometimes leads to


major re-design exercise. Structured design separates the functionality from
programs data and that’s why program’s deisgned by this methodology are
difficult to maintain.

Question No: 31 ( Marks: 5 )

Why microprocessor uses the binary number system and not the decimal or any
other number system?

The processor is the logic of a computer and functions comparably to a human


central nervous system, directing signals from one component to another and
enabling everything to happen. A microprocessor is made from miniaturized
transistors and other circuit elements on a single

semiconductor integrated circuit (IC) . These are made up oof semiconductor and
silicon.

Microprocessor are composed of components which has only two states either 0
or 1. Binary number system is also composed of these two states.
Microprocessor till today only understand the machine language and machine
language is only based on binary number system. Even today’s 64 bit
microprocessors are also based on this technology.

Question No: 32 ( Marks: 5 )

Why do we need an Interactive Form in a webpage?

1. Interactive forms are used to gather user data and interact with the user.
2. Forms can be made interactive with the use of client side scripting and
server side sciprting.
3. In HTML, <FORM> </FORM> tag is used to insert the form in a web page
and it always lie in <BODY></BODY> html tag.
4. without form’s web site is only “READ ONLY”.
5. with the help of forms a user and can search the contents, place order for
goods and services.
6. Forms can be simple or very complex, based on the requirement.
7. forms can contain a single element or many e.g text area, buttons

MIDTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 3)

Question No: 1 ( Marks: 1 ) - Please choose one

Human are better than computers at:

► Efficiency

► Accuracy

► Pattern recognition
► None of the given choices

Question No: 2 ( Marks: 1 ) - Please choose one

Cray-1 was first commercial _________ computer

► Super

► Mini

► Micro

► Personal

Question No: 3 ( Marks: 1 ) - Please choose one

URL is a/an ________

► Device

► Component

► Address

► Tool

Question No: 4 ( Marks: 1 ) - Please choose one

Mainframe Computers are also called _____

► Enterprise Servers
► Personal Servers

► Enterprise Managers

► Window Servers

Question No: 5 ( Marks: 1 ) - Please choose one

Which of the following is NOT a category of Mobile


Computers?

► Laptop

► Palmtop

► Desktop

► Wearable

Question No: 6 ( Marks: 1 ) - Please choose one

Preliminary exploration of possible solutions, technologies,


suppliers is called

► Viability

► Feasibility

► Specification

► Integration
Question No: 7 ( Marks: 1 ) - Please choose one

__________ give us the ability to manipulate data through


reference instead of actual value.

► Constants

► Variables

► Data Types

► Operators

Question No: 8 ( Marks: 1 ) - Please choose one

Consider the following statement written in JavaScript:

str = ”Hello” + ” World”

What will be the value of str ?

► HelloWorld

► Hello World

► Hello + World

► It will result in error


Question No: 9 ( Marks: 1 ) - Please choose one

A tool that helps you to find the synonyms is called


______________.

► Language

► Paragraph

► Thesaurus

► Symbol

Question No: 10 ( Marks: 1 ) - Please choose one

Communication protocol is a __________that governs the


flow of information over a network

► Set of protocols

► Set of rules

► Device

► Set of methods

Question No: 11 ( Marks: 1 ) - Please choose one


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

► think like human beings

► do the things faster

► win a million dollar prize

► store more information

Question No: 12 ( Marks: 1 ) - Please choose one

The first Web browser with a GUI was generally available in:

► 1992

► 1993

► 1994

► 1995

Question No: 13 ( Marks: 1 ) - Please choose one

Web is a unique invention by humans in terms that it is:

► accessible to only the owners who control it

► accessible from particular locations only

► accessible to all humans

► accessible to only the educational institutes


Question No: 14 ( Marks: 1 ) - Please choose one

In this URL http://www.msn.com , _____identifies the


domain name

► http

► www

► msn

► com

Question No: 15 ( Marks: 1 ) - Please choose one

______ is simply a fast port that lets you connect computer


peripherals and consumer electronics to your computer without
restart.

► Freeware

► Shareware

► Firewire

► Firmware

Question No: 16 ( Marks: 1 ) - Please choose one

Which of the following is NOT supported by PC's power


supply.
► -12 and +12 V DC

► -10 and +10 V DC

► -5 and + 5 V DC

► All are supported

Question No: 17 ( Marks: 1 ) - Please choose one

In which case Cache Memory is used

► To increase RAM speed

► To overcome BUS speed

► To overcome Speed rate between RAM and CPU

► To overcome CPU speed

Question No: 18 ( Marks: 1 ) - Please choose one

To display a single line text area on the web page, we use


___ tag

► TEXT

► TEXTBOX

► INPUT

► INPUTBOX
Question No: 19 ( Marks: 1 ) - Please choose one

If an algorithm is syntactically correct, but semantically


incorrect then this situation is

► Very good situation

► Very dangerous situation

► Not very bad

► Neutral situation

Question No: 20 ( Marks: 1 ) - Please choose one

Users communicate with the computer using a consistent user


interface provided by the OS.

► True

► False

Question No: 21 ( Marks: 1 ) - Please choose one

Application developers do not need to know much about the


HW, especially the microProcessor, while they are developing
their application.

► True

► False
Question No: 22 ( Marks: 1 ) - Please choose one

The first spread sheet program was invented by

► Charles Babbage

► Dan Bricklin

► Paul Graham

► John von Neumann

Question No: 23 ( Marks: 1 ) - Please choose one

Which representation technique of algorithm is more suitable


for developer to make actual code___________.

► pseudo code

► flow chart

► both pseudo code and flow chart

► Heuristics
Question No: 24 ( Marks: 1 ) - Please choose one

_____________ is used to terminate all JavaScript


statements.

► Colon

► Semicolon

► Underscore

► Apostrophe

Question No: 25 ( Marks: 1 ) - Please choose one

In java script cookies can be created for future use_____.

► Easily

► No facility at all

► This is not possible without Java language.

► Cookies are files so java script can not handle it.


Question No: 26 ( Marks: 1 ) - Please choose one

When the microprocessor desires to look at a piece of data,


it checks in the __________ first.

► RAM

► ROM

► hard disk

► cache

Question No: 27 ( Marks: 1 )

What is the basic difference between 'magnetic tapes' and


'floppy disks' ?

Question No: 28 ( Marks: 1 )

What was the name of first microprocessor built by Intel ?


Question No: 29 ( Marks: 2 )

What was the name of first super computer. When it was


introduced?

Question No: 30 ( Marks: 3 )

Write a short note on blue pacific Super Computer.

Question No: 31 ( Marks: 5 )

What are JavaScript literal and what are its types?

Question No: 32 ( Marks: 5 )

Can you say that URL and semantic web sites are same?
Justify your answer by defining the both terms?

MIDTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 4)
Time: 60 min
Marks: 43

Question No: 1 ( Marks: 1 ) - Please choose one


Human are better than computers at:

► Efficiency
► Accuracy
► Pattern recognition
► None of the given choices

Question No: 2 ( Marks: 1 ) - Please choose one


The memory size of the Altair 8800 was

► 128 bytes
► 128 Kilo bytes
► 256 Kilo bytes
► 256 bytes

Question No: 3 ( Marks: 1 ) - Please choose one


Information on World Wide Web is __►

► Physically
► Logically
► Really
► None of the given choices

Question No: 4 ( Marks: 1 ) - Please choose one


Mainframe Computers are also called _

► Enterprise Servers
► Personal Servers
► Enterprise Managers
► Window Servers
Question No: 5 ( Marks: 1 ) - Please choose one
Which of the following is NOT a category of Mobile Computers?

► Laptop
► Palmtop
► Desktop
► Wearable

Question No: 6 ( Marks: 1 ) - Please choose one


Hexadecimal number system is based on -----►

►2
►8
► 12
► 16

Question No: 7 ( Marks: 1 ) - Please choose one


<UL> tag is used to►

► underline text
► end the line
► create ordered list
► create unordered list

Question No: 8 ( Marks: 1 ) - Please choose one


Bringing subsystems together to form the system is called ►
► Integration
► Merging
► Splitting
► Operation & Maintenance

Question No: 9 ( Marks: 1 ) - Please choose one


► Variables
__________ give us the ability to manipulate data through reference instead of
actual value.

► Constants
► Variables
► Data Types
► Operators

Question No: 10 ( Marks: 1 ) - Please choose one


In spreadsheets, cell address A12 means _ ► ______.
► Row A, Cloumn 12
► Row 12, Cloumn A
► Row 2,Cloumn A1
► Row A1, Cloumn 2

Question No: 11 ( Marks: 1 ) - Please choose one


Which of the following is/are the parts of Operating system components?

► GUI
► Device Manager
► Shell
► All of these

Question No: 12 ( Marks: 1 ) - Please choose one


The key feature of Scientific/Engineering/Graphics applications is

► Intense calculations

► User-friendly

► Reliability

► Cost-effective

Question No: 13 ( Marks: 1 ) - Please choose one


Command which saves the selected text before deleting is

► Copy
► Delete
► Cut
► Undo

Question No: 14 ( Marks: 1 ) - Please choose one


All the hardware components of the Computer system are installed on -----------.

► Microprocessor
► Motherboard
► Monitor
► Memory

Question No: 15 ( Marks: 1 ) - Please choose one


By default in a web page Hyper Link for another web page is represented as
_ Blue and Underlined _______________
► Blue only
► Black and Underlined
► Blue and Bold
Blue and Underlined

Question No: 16 ( Marks: 1 ) - Please choose one


A microprocessor can be made more powerful by increasing its _►

► Clock frequency
► Word length
► Clock frequency and Word length
► None of above

Question No: 17 ( Marks: 1 ) - Please choose one


_______ is a related collection of WWW files that includes a beginning file called
a homepage
► HTML
► Website
► HTTP
► Web page

Question No: 18 ( Marks: 1 ) - Please choose one


Structures, in which another list starts before the first list is finished, are called
► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists

Question No: 19 ( Marks: 1 ) - Please choose one


When the user needs something to be done by the computer, he/she gives
instructions in the form of _ ___ to computer ____

► Software, Hardware
► Hardware, Software
► System Software, Application Software
► Graph, Monitor

Question No: 20 ( Marks: 1 ) - Please choose one


Application developers do not need to know much about the________ while they
are developing their applications
► Software
► Hardware
► Operating System
► Kernel
Question No: 21 ( Marks: 1 ) - Please choose one
Which of the following is NOT an Application Software. ► Word Processor

► Web Browser

► Windows XP

► MS Excel

Question No: 22 ( Marks: 1 ) - Please choose one


Web Pages developed for human as well computer understanding are called
as; ► Static Web Pages
► Semantic Web Pages
► Dynamic Web Pages
► Java Web Pages

Question No: 23 ( Marks: 1 ) - Please choose one


JavaScript stores all numbers as _► ►
______________.

► Integers
► Floating point numbers
► Strings
► Character values

Question No: 24 ( Marks: 1 ) - Please choose one


Java script and HTML are__► Java script is case sensitive but HTML is
not ________.

► case sensitive

► Not case sensitive

► Java script is case sensitive but HTML is not

► HTML is case sensitive but Java script is not

Question No: 25 ( Marks: 1 ) - Please choose one


A diode functions as the electronic version of a _________-way valve.
► one
► two
► three
► four
Question No: 26 ( Marks: 1 ) - Please choose one
The first -► -------------was invented at Bell Laboratories on December 16, 1947
by William Shockley.

► Transistor

► Vacuum Tube

► Punch card

► Transmitter

Question No: 27 ( Marks: 1 )


What are compilers used for ?
Ans: compiler is a softwear that can translate the whole programe
in once.it also save the program.
Question No: 28 ( Marks: 1 )
What is Script?
Ans: script is a sequence of steps to carry out a work by processor And manage
by a language like Javascript and vb scripts.

Question No: 29 ( Marks: 2 )


What is <P> tag in HTML and How it is different from <br> tag?
Ans: <p> is used for paragraph in HTML language it has a closing tag </p>
unlike <br> which has no closing tag. Br only used to break the current line while
<p> can be used for more lines
Question No: 30 ( Marks: 3 )
How can you manipulate the address of a file (resource) accessible on the
Internet?
World wide web ,URL, domain name

Question No: 31 ( Marks: 5 )


Write Hyper Link for a Web Page and for an Email Address.
Ans: Following are the Hyper link for a web page
www.vu.edu .pk
www.yahoo.com
www.hotmail.com

Question No: 32 ( Marks: 5 )


Write down the requirement of Desktop Publishing?
User requirement
Softwear requirements
. Laser printer
Scanner
DESktop publishing softwears
e.g
adobe page maker
Ms publisher
High end pc with a large screen monitor
Formate
Numerical data
Text

MIDTERM EXAMINATION

Spring 2009

CS101- Introduction to Computing (Session - 5)

Time: 60 min

Marks: 43

Question No: 1 ( Marks: 1 ) - Please choose one

Cray-1 was first commercial _________ computer

► Super

► Mini

► Micro

► Personal

Question No: 2 ( Marks: 1 ) - Please choose one


Browser is a __________________ used for browsing.

► Tool

► Component

► Device

► None of the given choices

Question No: 3 ( Marks: 1 ) - Please choose one

It represents the _____________ flow chart element.

► Flow Line

► Connector

► Off-page connector

► Start or Stop

Question No: 4 ( Marks: 1 ) - Please choose one

JavaScript is an example of _____________ language.

► Object-based

► Object-oriented

► Machine
► Assembly

Question No: 5 ( Marks: 1 ) - Please choose one

The set of rules and guidelines a team of developers follow to


construct reasonably complex SW systems is called

► Object Oriented Design

► Object Oriented Software

► Design Methodology

► Programming language

Question No: 6 ( Marks: 1 ) - Please choose one

Waterfall is a _________ life-cycle model.

► Spiral

► Sequential

► Circular

► Spherical

Question No: 7 ( Marks: 1 ) - Please choose one

What happens if I start a new list without closing the original


one?
► An error will be generated

► A nested list will be created

► Previous list will end and a new will start.

► Nothing will happen

Question No: 8 ( Marks: 1 ) - Please choose one

In Spreadsheets, you can create a relationship between two


cells by using _____.

► Numbers

► Text

► Formulas

► None of the given choices

Question No: 9 ( Marks: 1 ) - Please choose one

VisiCalc was the first popular _______application on PC’s.

► Spreadsheet
► Word processor

► Presentation

► Database

Question No: 10 ( Marks: 1 ) - Please choose one

Fins are used to --------------

► Communicate with microprocessor

► Increase surface area of Fan

► Decrease surface area of Fan

► Speed up the Fan.

Question No: 11 ( Marks: 1 ) - Please choose one

Using only HTML we can create

► Dynamic web pages

► Static web pages

► Both Static and Dynamic pages


► None of these

Question No: 12 ( Marks: 1 ) - Please choose one

Everything that JavaScript manipulates is treated as:

► Object

► Window

► Text

► Script

Question No: 13 ( Marks: 1 ) - Please choose one

The ______ is connected to all other modules of the


microprocessor.

► Control unit

► Memory unit

► Floating Point unit


► Arithmetic and Logic unit

Question No: 14 ( Marks: 1 ) - Please choose one

Communication protocol is a __________that governs the flow of


information over a network

► Set of protocols

► Set of rules

► Device

► Set of methods

Question No: 15 ( Marks: 1 ) - Please choose one

_________ is the interface in computer that supports transmission


of multiple bits at the same time.

► Serial Port

► Parallel Port

► Universal Serial Bus

► None of the given choices

Question No: 16 ( Marks: 1 ) - Please choose one

_____ was designed as a replacement for typewriter

► Spreadsheet Software

► Word Processor Software


► Presentation Software

► Database Software

Question No: 17 ( Marks: 1 ) - Please choose one

Which one of these translates the program once at a time ?

► Interpreter

► Compiler

► Operating system

► Translator

Question No: 18 ( Marks: 1 ) - Please choose one

Randomized algorithms are often ________ than deterministic


algorithms for the same problem.

► Simpler and more slow

► Simpler and more efficient

► Complex and more efficient

► Complex and more slow

Question No: 19 ( Marks: 1 ) - Please choose one

Ada written a computer programme for ?


► Analytical Engine

► Difference Engine

► Harvard Mark 1

► Mechanical engine

Question No: 20 ( Marks: 1 ) - Please choose one

A test proposed to determine if a computer has the ability to


think. It is called?

► Turing test

► Turning test

► Intelligence test

► None
Question No: 21 ( Marks: 1 ) - Please choose one

The most used form tag is the <input> tag.

► True

► False

Question No: 22 ( Marks: 1 ) - Please choose one

When the user clicks on the "Submit" button, the content of the
form is sent to the server.

► True

► False

Question No: 23 ( Marks: 1 ) - Please choose one

Extension for saving web page is / are;

► *.html

► *.htm

► *.html and *.htm both are in use

► None of These
Question No: 24 ( Marks: 1 ) - Please choose one

In spread sheet a cell may contain

► Numbers

► Text

► Formulas

► All of the given

Question No: 25 ( Marks: 1 ) - Please choose one

Programs where no user interaction found during program


execution are called __________.

► Batch programs

► Event-driven programs

► Graphics based programs

► None of the given

Question No: 26 ( Marks: 1 ) - Please choose one

OO software is all about _____________.


► Behaviors

► Methods

► Properties

► Objects

Question No: 27 ( Marks: 1 )

What is the key feature of batch programs?

Answer: The key feature is no user interaction with computer


while a program is running.

Question No: 28 ( Marks: 1 )

Name two languages which are used for client side scripting?

Answer: Javascript , VBscript

Question No: 29 ( Marks: 2 )

What is the purpose of MODEM ?

Answer: It receive data analog signal from a phone line and then
convert them into digital signal and send back to the computer
with which it is attached. It also receives data from computer
and convert it into analog signals.
Question No: 30 ( Marks: 3 )

What is Home Page of a web site?

Answer: For a web user it is a first page displayed when a user


starts a web browser and for a web developer it is a first page
when a user selects a site.

Question No: 31 ( Marks: 5 )

Why microprocessor uses the binary number system and not the
decimal or any other number system?

Answer: Because this system is natural for digital computer.


Digital computer have fundamental building blocks like ON & OFF
Etc so it is natural to represent those in a number system that
has only two symbols e.g Binary Numbers 0,1. Whereas decimal
system is natural for human.

Question No: 32 ( Marks: 5 )

What is the difference between Interactive-mode and Batch-


mode Application Software?

Answer: Batch-mode: This Mode Program has no user interaction


with computer while a program is running e.g Paroll

Interactive-mode: The user runs the program on the computer


and keeps interacting with the computer while a program is
running e.g word processor
MIDTERM EXAMINATION
Spring 2009
CS101- Introduction to Computing (Session-06)

Time: 60 min
Marks: 43
Student Info
StudentID:

Center:

ExamDate:

For Teacher's Use Only


Q No. 1 2 3 4 5 6 7 8 Total

Marks

Q No. 9 10 11 12 13 14 15 16

Marks

Q No. 17 18 19 20 21 22 23 24

Marks

Q No. 25 26 27 28 29 30 31 32

Marks
Question No: 1 ( Marks: 1 ) - Please choose one
A diode functions as the electronic version of a __________-way valve.
► one
► two
► three
► four

Question No: 2 ( Marks: 1 ) - Please choose one


What is name of book from which word algorithm is taken ?

► Algebra and trigonometry

► Introduction to algorithms

► Research for new horizons

► Algoritmi de numero Indorum

Question No: 3 ( Marks: 1 ) - Please choose one


<form> Tags always placed between the <BODY> and </BODY> tags of a Web page
► True
► False

Question No: 4 ( Marks: 1 ) - Please choose one


_______ consists of cells arranged in rows & columns
► Spreadsheets Software
► Word processor
► Presentation Software
► Microsoft Paint Software

Question No: 5 ( Marks: 1 ) - Please choose one


_____ was designed as a replacement for typewriter
► Spreadsheet Software
► Word Processor Software
► Presentation Software
► Database Software

Question No: 6 ( Marks: 1 ) - Please choose one


_________ manages the HW and SW resources ( memory, disk drives etc) of the
computer system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 7 ( Marks: 1 ) - Please choose one


To display a radio button on the web page, we use ___ tag
► INPUTBUTTON
► INPUT
► RADIOBUTTON
► RADIO

Question No: 8 ( Marks: 1 ) - Please choose one


Machine language is also called
► Assembly Language
► Binary Language
► High Level Language
► HTML Language

Question No: 9 ( Marks: 1 ) - Please choose one


When the user needs something to be done by the computer, he/she gives instructions in
the form of _____ to computer ____
► Software, Hardware
► Hardware, Software
► System Software, Application Software
► Graph, Monitor

Question No: 10 ( Marks: 1 ) - Please choose one


A truth table defines the _________of a logic function for all possible _________
► Input -- Outputs
► Output -- Inputs
► Process -- Inputs
► Input -- Processes

Question No: 11 ( Marks: 1 ) - Please choose one


Which one is correct?

► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>

Question No: 12 ( Marks: 1 ) - Please choose one


WWW stands for:
► Wide World Web
► World Wide Web
► World White Web
► World Web Wide
Question No: 13 ( Marks: 1 ) - Please choose one
A _________translates a high-level language (that is easy to understand for humans) into
a language that the computer can understand
► Computer
► Transistor
► Compiler
► Device

Question No: 14 ( Marks: 1 ) - Please choose one


Deep Blue was the name of
► computer
► human
► city
► game

Question No: 15 ( Marks: 1 ) - Please choose one


Data travels through bus in the form of ---------------------------

► Packets
► Bits
► Bytes
► Word

Question No: 16 ( Marks: 1 ) - Please choose one


Command which saves the selected text before deleting is
► Copy

► Delete

► Cut

► Undo

Question No: 17 ( Marks: 1 ) - Please choose one


AutoCAD falls in the category of _________________

► Engineering Applications

► Graphics Applications

► Scientific Applications

► Business Applications
Question No: 18 ( Marks: 1 ) - Please choose one
In Spreadsheets, you can create a relationship between two cells by using _____.

► Numbers
► Text
► Formulas
► None of the given choices

Question No: 19 ( Marks: 1 ) - Please choose one


Which of the following symbol is used for multiple line comments in JavaScript?

►/
► //
► /*
► //*

Question No: 20 ( Marks: 1 ) - Please choose one


____________ is a system software that converts the source code written in high level
language into machine language code.
► Utilities
► Drivers
► Language Translator
► None of the these

Question No: 21 ( Marks: 1 ) - Please choose one


__________ is a particularly good language for processing numerical data, but it does
not lend itself very well to large business programs

► BASIC
► PASCAL
► JAVA
► FORTRAN

Question No: 22 ( Marks: 1 ) - Please choose one


Which of the following number system is used by microprocessor?

► Binary
► Decimal
► Octal
► Hexadecimal

Question No: 23 ( Marks: 1 ) - Please choose one


The __________Processor is specially designed for PDA?
► PowerPC
► StrongARM
► Crusoe
► SPARC

Question No: 24 ( Marks: 1 ) - Please choose one


Mainframe Computers are also called _____
► Enterprise Servers
► Personal Servers
► Enterprise Managers
► Window Servers

Question No: 25 ( Marks: 1 ) - Please choose one


URL is a/an ________
► Device
► Component
► Address
► Tool

Question No: 26 ( Marks: 1 ) - Please choose one


Ada, Countess of Lovelace developed first:
► Computer
► Website
► Computer Program
► Analytical engine

Question No: 27 ( Marks: 1 )


What is the problem with Brute Force Strategy approach?

Question No: 28 ( Marks: 1 )


What was the name of first computer in which binary numbers were used instead of
decimal numbers ?

Question No: 29 ( Marks: 2 )


How can we say that JavaScript is Not Object-Oriented language?

Question No: 30 ( Marks: 3 )


List down the names of any three parameters on which we analyze an algorithm.

Question No: 31 ( Marks: 5 )


Write differences between Shareware and Trialware software.

Question No: 32 ( Marks: 5 )


What is function of Goal Seek command in Excel?
MIDTERM EXAMINATION
Spring 2009
CS101- Introduction to Computing (Session - 7)
Time: 60 min
Marks: 43

Question No: 1 ( Marks: 1 ) - Please choose one


Cray-1 was first commercial _________ computer
► Super
► Mini
► Micro
► Personal

Question No: 2 ( Marks: 1 ) - Please choose one


Browser is a __________________ used for browsing.
► Tool
► Component
► Device
► None of the given choices

Question No: 3 ( Marks: 1 ) - Please choose one


It represents the _____________ flow chart element.

► Flow Line

► Connector
► Off-page connector
► Start or Stop

Question No: 4 ( Marks: 1 ) - Please choose one


JavaScript is an example of _____________ language.

► Object-based
► Object-oriented
► Machine
► Assembly

Question No: 5 ( Marks: 1 ) - Please choose one


The set of rules and guidelines a team of developers follow to construct reasonably
complex SW systems is called

► Object Oriented Design


► Object Oriented Software
► Design Methodology
► Programming language
Question No: 6 ( Marks: 1 ) - Please choose one
Waterfall is a _________ life-cycle model.

► Spiral
► Sequential
► Circular
► Spherical

Question No: 7 ( Marks: 1 ) - Please choose one

What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created

► Previous list will end and a new will start.

► Nothing will happen

Question No: 8 ( Marks: 1 ) - Please choose one


In Spreadsheets, you can create a relationship between two cells by using _____.

► Numbers
► Text
► Formulas
► None of the given choices

Question No: 9 ( Marks: 1 ) - Please choose one


VisiCalc was the first popular _______application on PC’s.

► Spreadsheet
► Word processor
► Presentation
► Database

Question No: 10 ( Marks: 1 ) - Please choose one


Fins are used to --------------

► Communicate with microprocessor


► Increase surface area of Fan
► Decrease surface area of Fan
► Speed up the Fan.

Question No: 11 ( Marks: 1 ) - Please choose one


Using only HTML we can create

► Dynamic web pages


► Static web pages

► Both Static and Dynamic pages

► None of these

Question No: 12 ( Marks: 1 ) - Please choose one


Everything that JavaScript manipulates is treated as:
► Object

► Window

► Text

► Script

Question No: 13 ( Marks: 1 ) - Please choose one


The ______ is connected to all other modules of the microprocessor.

► Control unit
► Memory unit
► Floating Point unit
► Arithmetic and Logic unit

Question No: 14 ( Marks: 1 ) - Please choose one


Communication protocol is a __________that governs the flow of information over a
network
► Set of protocols
► Set of rules
► Device
► Set of methods

Question No: 15 ( Marks: 1 ) - Please choose one


_________ is the interface in computer that supports transmission of multiple bits
at the same time.
► Serial Port
► Parallel Port
► Universal Serial Bus
► None of the given choices

Question No: 16 ( Marks: 1 ) - Please choose one


_____ was designed as a replacement for typewriter
► Spreadsheet Software
► Word Processor Software
► Presentation Software
► Database Software

Question No: 17 ( Marks: 1 ) - Please choose one


Which one of these translates the program once at a time ?
► Interpreter
► Compiler
► Operating system
► Translator

Question No: 18 ( Marks: 1 ) - Please choose one


Randomized algorithms are often ________ than deterministic algorithms for the
same problem.
► Simpler and more slow
► Simpler and more efficient
► Complex and more efficient
► Complex and more slow

Question No: 19 ( Marks: 1 ) - Please choose one


Ada written a computer programme for ?

► Analytical Engine

► Difference Engine

► Harvard Mark 1

► Mechanical engine

Question No: 20 ( Marks: 1 ) - Please choose one


A test proposed to determine if a computer has the ability to think. It is called?

► Turing test

► Turning test

► Intelligence test

► None

Question No: 21 ( Marks: 1 ) - Please choose one


The most used form tag is the <input> tag.
► True
► False

Question No: 22 ( Marks: 1 ) - Please choose one


When the user clicks on the "Submit" button, the content of the form is sent to the
server.

► True
► False

Question No: 23 ( Marks: 1 ) - Please choose one


Extension for saving web page is / are;
► *.html
► *.htm
► *.html and *.htm both are in use
► None of These

Question No: 24 ( Marks: 1 ) - Please choose one


In spread sheet a cell may contain

► Numbers
► Text
► Formulas
► All of the given

Question No: 25 ( Marks: 1 ) - Please choose one


Programs where no user interaction found during program execution are called
__________.

► Batch programs
► Event-driven programs
► Graphics based programs
► None of the given

Question No: 26 ( Marks: 1 ) - Please choose one


OO software is all about _____________.

► Behaviors
► Methods
► Properties
► Objects

Question No: 27 ( Marks: 1 )


What is the key feature of batch programs?
Batch files are useful for running a sequence of executables automatically
Question No: 28 ( Marks: 1 )
Name two languages which are used for client side scripting?
JAVASCRIPPT /NETSCAPE

Question No: 29 ( Marks: 2 )


What is the purpose of MODEM ?

THE PURPOSE OF MODEM IS MODULATE AND DEMODULATE THE


ELECTRONIC ANALOG PULSES OF THE COMPUTER TO PULSES THE
PHONE SYSTEM M CAN HANDEL.

Question No: 30 ( Marks: 3 )


What is Home Page of a web site?

The pages of a website can usually be accessed from a simple Uniform Resource
Locator (URL) called the homepage. The URLs of the pages organize them into a
hierarchy, although hyper linking between them conveys the reader's perceived site
structure and guides the reader's navigation of the sit

Question No: 31 ( Marks: 5 )


Why microprocessor uses the binary number system and not the decimal or any
other number system?

At this point in computer science we only have two 'digital' states, which is that any
bit can only be either on or off.

The on/off is commonly used to represent yes/no.(On(1) = Yes, Off(0) = No)

A microprocessor can only see if a signal is there or is missing, in other words, if the
signal is on or off, or a bit is a 1 or a 0.

Question No: 32 ( Marks: 5 )


What is the difference between Interactive-mode and Batch-mode Application
Software?

Batch files are useful for running a sequence of executables automatically and are often
used by system administrators to automate tedious processes while interactive mode
applications attract the attention of user this kind of applications can not execuate untill
User have interest to execure and complete the process.
MIDTERM EXAMINATION
Fall 2008
CS101- Introduction to Computing (Session - 1)

Question No: 1 ( Marks: 1 ) - Please choose one


_______ consists of cells arranged in rows & columns
► Spreadsheets Software
► Word processor
► Presentation Software
► Microsoft Paint Software

Question No: 2 ( Marks: 1 ) - Please choose one


_________ manages the HW and SW resources ( memory, disk drives etc) of the
computer system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 3 ( Marks: 1 ) - Please choose one


Forms can be submitted through _______ & _______ methods
► INCLUDE, POST
► INCLUDE, GET
► GET, POST
► SEND, POST

Question No: 4 ( Marks: 1 ) - Please choose one


To display a checkbox on the web page, we use ___ tag
► CHECKBOX
► CHECK
► INPUT
► INPUTBOX

Question No: 5 ( Marks: 1 ) - Please choose one


You can ________ from/to a website containing interactive forms.
► Only read
► Only write
► Read and write
► Not read and write

Question No: 6 ( Marks: 1 ) - Please choose one


There is a battery on the motherboard to:
► Give power to the processor
► Save information when computer is off
► Save information when computer is on
► Give power to the motherboard

Question No: 7 ( Marks: 1 ) - Please choose one


We can change the background color in HTML, using ___ attribute of <body>

► background

► bgcolor

► backcolor

► backgroundcolor

Question No: 8 ( Marks: 1 ) - Please choose one


___ contains the name of the protocol required to access the resource, a domain name
that identifies a specific computer on the internet and a pathname on the computer
► HTML
► HTTP
► URL
► WWW

Question No: 9 ( Marks: 1 ) - Please choose one


______ is a client program that uses HTTP to make requests to Web servers throughout
the internet on behalf of the user.
► Web Application
► Web Browser
► Internet Application
► HTML

Question No: 10 ( Marks: 1 ) - Please choose one


WWW stands for:
► Wide World Web
► World Wide Web
► World White Web
► World Web Wide

Question No: 11 ( Marks: 1 ) - Please choose one


The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage
Question No: 12 ( Marks: 1 ) - Please choose one
Floating point unit is also known as _________ unit

► Real
► Integer
► Numeric
► Fractional

Question No: 13 ( Marks: 1 ) - Please choose one


Programs that reside on Web servers and receive info that a user enters in a form, are
known as:

► Server-Side Scripts

► Client-Side Scripts

► Super Scripts

► Form Scripts

Question No: 14 ( Marks: 1 ) - Please choose one


------------ is volatile memory

► RAM
► ROM
► Hard Disk
► CD ROM

Question No: 15 ( Marks: 1 ) - Please choose one


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

► 25
► 50
► 75
► 100

Question No: 16 ( Marks: 1 ) - Please choose one


VisiCalc was the first popular _______application on PC’s.

► Spreadsheet
► Word processor
► Presentation
► Database
Question No: 17 ( Marks: 1 ) - Please choose one
____________ is a system software that converts the source code written in high level
language into machine language code.
► Utilities
► Drivers
► Language Translator
► None of the these

Question No: 18 ( Marks: 1 ) - Please choose one


What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created

► Previous list will end and a new will start.

► Nothing will happen

Question No: 19 ( Marks: 1 ) - Please choose one


__________ is a program that executes instructions line by line written in a high-level
language.

► Interpreter
► Compiler
► Predictor
► Executor

Question No: 20 ( Marks: 1 ) - Please choose one


There are_________________ rules to write the Pseudo Code.

► Standard
► No standard
► Strict
► Pre-defined

Question No: 21 ( Marks: 1 ) - Please choose one


Which one is not the building block of an algorithm?
► Statements
► Sequences
► Repetitions
► Conditionals

Question No: 22 ( Marks: 1 ) - Please choose one


In flow charts, there is only one entry point in conditions while there is/are__________
exit points.
►1
►2
►3
►4

Question No: 23 ( Marks: 1 ) - Please choose one


A procedure that usually but not always works or that gives nearly the right answer is
called_____________

► Deterministic Algorithm

► Heuristic Algorithm
► Greedy Algorithm
► Randomized Algorithm

Question No: 24 ( Marks: 1 ) - Please choose one


A Modem is a kind of ___
► Input device
► Output device
► Storage device
► Input and Output device

Question No: 25 ( Marks: 1 ) - Please choose one


The memory size of the Altair 8800 was
► 128 bytes
► 128 Kilo bytes
► 256 Kilo bytes
► 256 bytes

Question No: 26 ( Marks: 1 ) - Please choose one


---------- was known as “mill” in Analytical engine.
► Memory
► Processor
► Monitor
► Mouse

Question No: 27 ( Marks: 1 )


What is the key feature of object-oriented design?

ANSWER: The key feature of object-oriented design is that it treats every thing as
object having properties and methods. These objects are separately treated and designed
and once designed it can be used in any other system. So once designed can be used
many times.
Question No: 28 ( Marks: 1 )
Write one purpose of using spreadsheets ?
ANSWERS: Purpose of spreadsheets is that it can do calculations on data accurately.

Question No: 29 ( Marks: 2 )


List down two advantages of writing Pseudo Code
Answers: The advantages of pseudo code are:
• It is quite similar to human language so easy to understand.
• It is close to real code so easy to write real code from it.

Question No: 30 ( Marks: 3 )


How can we calculate total number of rows in the truth table?

ANSWER: The formula for calculating number of rows in truth table is 2n


Where n = number of inputs

Question No: 31 ( Marks: 5 )


Differentiate between Vector graphics and Bit-mapped graphics.

ANSWER:

VECTOR GRAPHICS BIT MAPPED IMAGES

1. Treat everything as an object 1. Treats everything as a bit map.

2. Is resolution independent 2. Resolution dependent

3. Relatively small size 3. Large files

4. Example: Corel Draw 4. Example: Microsoft Paint

Question No: 32 ( Marks: 5 )


Write differences between Shareware and trail ware software.
ANSWER:
SHAREWARE TRIALWARE
1. These are shared freely. 1. Software is offered for a trial
2. It is given without payment ahead period.
of time. 2. When the period is expired it is no
more in use.
MIDTERM EXAMINATION
Fall 2008
CS101- Introduction to Computing (Session - 2)

Question No: 1 (Marks: 1) - Please choose one

It represents the _____________ flow chart element.

► Flow Line

► Connector
► Off-page connector
► Start or Stop

Question No: 2 (Marks: 1) - Please choose one


What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity

Question No: 3 (Marks: 1) - Please choose one


__________% of the users have left websites in frustration due to poor navigation.
► 40

► 62
► 83
► 91

Question No: 4 (Marks: 1) - Please choose one


In JavaScript, a variable declaration is

► Optional
► Mandatory
► Not allowed
► None of the given

Question No: 5 (Marks: 1) - Please choose one


A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP
Question No: 6 (Marks: 1) - Please choose one
Which is correct?

► OnUnload

► onUnLoad

► onUNLOAD

► All of the above

Question No: 7 (Marks: 1) - Please choose one


Serial arrangement in which things follow logical order or a recurrent pattern, such as
statements executing one by one, is called __________.
► Loop
► Sequence
► Condition
► Array

Question No: 8 (Marks: 1) - Please choose one


Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference
► Length
► Name

Question No: 9 (Marks: 1) - Please choose one


Fuzzy logic is based on ____________.
► Ground facts
► Experience
► Practice
► Approximation

Question No: 10 (Marks: 1) - Please choose one


Word Processor is a _________________

► System Software

► Application Software
► Device

► Utility

Question No: 11 (Marks: 1) - Please choose one


In the old days, databases did NOT support ____________.
► Number
► Boolean
► Video
► Text

Question No: 12 (Marks: 1) - Please choose one


In tabular storage, fields placed in a particular row are strongly ___________.
► Independent
► Dependent
► Interrelated
► Inconsistent

Question No: 13 (Marks: 1) - Please choose one


Due to working at home, lack of interaction may result in ___________ professional
growth.
► Slower
► Faster
► Higher
► Improved

Question No: 14 (Marks: 1) - Please choose one


Distance learning has got a boost due to the ___________.
► Easy communication
► Online interactive contents
► Flexibility
► All of the given options

Question No: 15 (Marks: 1) - Please choose one


_____________ technique can be used to create smooth animations or to display one of
several images based on the requirement.
► Image downloading
► Image preloading
► Image uploading
► Image postloading

Question No: 16 (Marks: 1) - Please choose one


The ____________ is becoming the preferred organizational structure for more and more
organizations with the passage of time.
► Tree structured organizational model
► Network paradigm
► Hierarchical structure
► None of the given options

Question No: 17 (Marks: 1) - Please choose one


The group of technologies concerned with the capturing, processing and transmission of
information in the digital electronic form is called _____________.
► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

Question No: 18 (Marks: 1) - Please choose one


A large number of networks interconnected physically are called ______
► LAN
► MAN
► Internet
► Network collection

Question No: 19 (Marks: 1) - Please choose one


TCP stands for ________.

► Transfer Center protocol


► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

Question No: 20 (Marks: 1) - Please choose one


A collection of data organized in such a way that the computer can quickly search for a
desired data item is known as:
► Retrieving
► Database
► Information
► DBMS

Question No: 21 (Marks: 1) - Please choose one


______ is simply a fast port that lets you connect computer peripherals and consumer
electronics to your computer without restart.
► Freeware
► Shareware
► Firewire
► Firmware

Question No: 22 (Marks: 1) - Please choose one


Structures, in which another list starts before the first list is finished, are called:
► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists

Question No: 23 (Marks: 1) - Please choose one


The key property of the ‘Array’ object in JavaScript is
► Value
► Length
► Name
► All of the given choices

Question No: 24 (Marks: 1) - Please choose one


Which one is the example of spreadsheet software?
► MS Word
► MS PowerPoint
► MS Excel
► MS Access

Question No: 25 (Marks: 1) - Please choose one


The Encryption of data is related to
► Data updates
► Data security
► Data integrity
► Data accessibility

Question No: 26 (Marks: 1) - Please choose one


_____ is the process of analyzing large databases to identify patterns.
► Data normalization
► Data management
► Data Mining
► None of the given options
Cs 101 Introduction to Computing

Composed By Faheem Saqib

MiD Term Solved Long Question

For more Help Rep At

Faheem_saqib2003@yahoo.com

Faheem.saqib2003@gmail.com

0334-6034849
6034849

MiD Term Solved Long Question 2008 to 2011


Q27

What is the problem with Brute Force Strategy approach?

Solution:-

Doesn’t scale well with the size of the problem

Q28

What is software design methodology?

Solution:-

The set of (often flexible) rules and guidelines a team of developers follow to construct
reasonably complex SW systems
Q29

What is the name of HTML tag, that has Href attribute and What is the Purpose of Href?

Solution:-

<A HREF = “action” > label </A>

It is used to to create Links between pages, or we can used it as “mailto” function.

Q30

Write three characteristics of JavaScript.

Solution:-

(1) JavaScript has numerous operators, classified in many categories.


(2) Terminate all JavaScript statements with a semicolon. It is not always necessary, but
highly recommended.
(3) JavaScript ignores any extra white spaces or line breaks that you put in the code
(4) Although JavaScript allows variable declaration, it does not require it - except in the case
when
(5)

Q31

Give reasons why we need semantic web?

Solution:-

Whereas, today’s Web’s content is designed for humans to read; the Semantic Web’s content
will be designed for computers to understand meaningfully. However, the

Semantic Web is not a replacement but an extension of the present Web, in which info is given
well defined meaning

Q32

What are the two key features of UNDO command in MS-Excel ?

Solution:-

1. Allows you to recover from your mistakes


2. Allows you to experiment without risk
Question No: 27 ( Marks: 1 )

What is the Brute Force Strategy?

Answer:. A staretegy in which all possible combinations are examined and best among them is
selected. Brute force (also known as brute force cracking) is a trial and error method used by
application programs to decode encrypted data such as passwords or Data Encryption
Standard (DES) keys, through exhaustive effort (using brute force) rather than employing
intellectual strategies.

Question No: 28 ( Marks: 1 )

What is java script?

Answer: JavaScript is an object-oriented scripting language used to enable programmatic


access to objects within both the client application and other applications.

It is primarily used in the form of client-side JavaScript, implemented as an integrated


component of the web browser, allowing the development of enhanced user interfaces and
dynamic websites

Question No: 29 ( Marks: 2 )

How can you explain control unit?

Answer: Control unit is a computerized part of the speech processor. Most of the controls,
such as program, volume and sensitivity, are located on the control unit.

Question No: 30 ( Marks: 3 )

How a designer makes Structured Design?


Answer: Structured Design: Materials and member type, size, and configuration to carry loads
in a safe and serviceable fashion.

In general, structural design implies the engineering of stationary objects such as buildings
and bridges, or objects that may be mobile but have a rigid shape such as ship hulls and
aircraft frames tructural design involves at least five distinct phases of work, project
requirements, materials, structural scheme, analysis, and design

It is insufficient in most cases, for the designer to consider a solution, a design. He should
evaluate several alternate designs and choose the best in the sense of maximizing such
technical objectives as efficiency, reliability, and maintainability while satisfying such design
constraints as memory size and response time.

Question No: 31 ( Marks: 5 )

What is Turing machine? Who invented it and also explain how a Turing test is conducted?

Answer: A Turing machine is a theoretical device that manipulates symbols contained on a


strip of tape. Despite its simplicity, a Turing machine can be adapted to simulate the logic of
any computer algorithm, and is particularly useful in explaining the functions of a CPU inside
of a computer. The "Turing" machine was designed by Alan Turing in 1937.

The Turing test is a proposal for a test of a machine's ability to demonstrate intelligence. It
proceeds as follows a human judge engages in a natural language conversation with one
human and one machine, each of which tries to appear human. All participants are placed in
isolated locations. If the judge cannot reliably tell the machine from the human, the machine
is said to have passed the test. In order to test the machine's intelligence rather than its ability
to render words into audio, the conversation is limited to a text-only channel such as a
computer keyboard and screen.

If a computer pass the test ,we can say that a machine can think.

Question No: 32 ( Marks: 5 )

What are JavaScript literal and what are its types?


Answer: The raw data that make up the root of data types are called "literals." These are, in
effect, literally what they represent themselves to be. Numbers, strings, and Boolean values
make up the core set of literals in JavaScript. Little mystery exists with literals, but important
differences exist between them. In JavaScript, data types include strings, which are simply
quoted characters, numbers, Boolean, Objects and even a type which has no value at all, Null.
Since JavaScript is a loosely typed language, you don't neccessarily need to know what type of
data every value is (although it certainly helps).

Every piece of data in these categories is known as a value. When a value is referred to
outright in a statement, it is called a literal value. For the same reason people are identified by
names as opposed to "human" or "person", literal values can be named in order to make
repeated reference to them practical, efficent and readable. These names are called variables.

Literals can be of several types. Some of them are:

Array Literals

Boolean Literals

Floating-Point Literals

Integers

Object Literals

String Literals

Question No: 27 ( Marks: 1 )

Define URL

URL(Uniform resource locator)

URL (Uniform Resource Locator, previously Universal Resource Locator) - is the


address of a file (resource) accessible on the Internet. The type of file or
resource depends on the Internet application protocol.

Examples of URLs: http://vu.edu.pk

http://www.yahoo.com
Question No: 28 ( Marks: 1 )

What is Randomized Algorithm?

Randomized Algorithm:

Any algorithm whose behavior is not only determined by the input, but also
values produced by a random number generator

These algorithms are often simpler and more efficient than deterministic
algorithms for the same problem. And because of there simplicity they are easier
to analyze which is the most important thing in the decision making of an
algorithm.

Question No: 29 ( Marks: 2 )

What was the name of first super computer. When it was introduced?

CRAY1 is the first computer and it was introduced in 1973

Question No: 30 ( Marks: 3 )

How a designer makes Structured Design?

Structured Design is known as a Top-down design.

The designed first conceives about the High level design and then further
designs the details of the high level design components and it goes on and on.

Making small changes in the functionality of the systems sometimes leads to


major re-design exercise. Structured design separates the functionality from
programs data and that’s why program’s deisgned by this methodology are
difficult to maintain.

Question No: 31 ( Marks: 5 )

Why microprocessor uses the binary number system and not the decimal or any
other number system?
The processor is the logic of a computer and functions comparably to a human
central nervous system, directing signals from one component to another and
enabling everything to happen. A microprocessor is made from miniaturized
transistors and other circuit elements on a single

semiconductor integrated circuit (IC) . These are made up oof semiconductor and
silicon.

Microprocessor are composed of components which has only two states either 0
or 1. Binary number system is also composed of these two states.

Microprocessor till today only understand the machine language and machine
language is only based on binary number system. Even today’s 64 bit
microprocessors are also based on this technology.

Question No: 32 ( Marks: 5 )

Why do we need an Interactive Form in a webpage?

1. Interactive forms are used to gather user data and interact with the user.
2. Forms can be made interactive with the use of client side scripting and server
side sciprting.
3. In HTML, <FORM> </FORM> tag is used to insert the form in a web page and it
always lie in <BODY></BODY> html tag.
4. without form’s web site is only “READ ONLY”.
5. with the help of forms a user and can search the contents, place order for goods
and services.
6. Forms can be simple or very complex, based on the requirement.
7. forms can contain a single element or many e.g text area, buttons
8. Question No: 27 ( Marks: 1 )
9. What is the key feature of batch programs?
10.
11. Batch files are useful for running a sequence of executables automatically
12. Question No: 28 ( Marks: 1 )
13. Name two languages which are used for client side scripting?
14. JAVASCRIPPT /NETSCAPE
15.
16. Question No: 29 ( Marks: 2 )
17. What is the purpose of MODEM ?
18.
19. THE PURPOSE OF MODEM IS MODULATE AND DEMODULATE THE ELECTRONIC
ANALOG PULSES OF THE COMPUTER TO PULSES THE PHONE SYSTEM M CAN HANDEL.
20.
21. Question No: 30 ( Marks: 3 )
22. What is Home Page of a web site?
23.

24. The pages of a website can usually be accessed from a simple Uniform
Resource Locator (URL) called the homepage. The URLs of the pages
organize them into a hierarchy, although hyper linking between them
conveys the reader's perceived site structure and guides the reader's
navigation of the sit
25.
26. Question No: 31 ( Marks: 5 )
27. Why microprocessor uses the binary number system and not the decimal or any
other number system?
28.
29. At this point in computer science we only have two 'digital' states, which is that any
bit can only be either on or off.

30. The on/off is commonly used to represent yes/no.(On(1) = Yes, Off(0) = No)
31. A microprocessor can only see if a signal is there or is missing, in other
words, if the signal is on or off, or a bit is a 1 or a 0.
32.
33.
34. Question No: 32 ( Marks: 5 )
35. What is the difference between Interactive-mode and Batch-mode Application
Software?
36. Batch files are useful for running a sequence of executables automatically and are often
used by system administrators to automate tedious processes while interactive mode
applications attract the attention of user this kind of applications can not execuate untill
37. User have interest to execure and complete the process.

Question No: 27 ( Marks: 1 )

What is the key feature of object-oriented design?

ANSWER: The key feature of object-oriented design is that it treats every thing as object having
properties and methods. These objects are separately treated and designed and once designed
it can be used in any other system. So once designed can be used many times.

Question No: 28 ( Marks: 1 )

Write one purpose of using spreadsheets ?


ANSWERS: Purpose of spreadsheets is that it can do calculations on data accurately.

Question No: 29 ( Marks: 2 )

List down two advantages of writing Pseudo Code

Answers: The advantages of pseudo code are:

• It is quite similar to human language so easy to understand.


• It is close to real code so easy to write real code from it.

Question No: 30 ( Marks: 3 )

How can we calculate total number of rows in the truth table?

ANSWER: The formula for calculating number of rows in truth table is 2n

Where n = number of inputs

Question No: 31 ( Marks: 5 )

Differentiate between Vector graphics and Bit-mapped graphics.

ANSWER:

VECTOR GRAPHICS BIT MAPPED IMAGES

1. Treat everything as an object 1. Treats everything as a bit map.

2. Is resolution independent 2. Resolution dependent

3. Relatively small size 3. Large files

4. Example: Corel Draw 4. Example: Microsoft Paint

Question No: 32 ( Marks: 5 )

Write differences between Shareware and trail ware software.


ANSWER:

SHAREWARE TRIALWARE

1. These are shared freely. 1. Software is offered for a trial period.


2. It is given without payment ahead of 2. When the period is expired it is no
time. more in use.

CS101 Solved Subjective Part Midterm

Question No: 31 ( Marks: 1 )

What does TCP/IP stand for?

Transmission Control Protocol

Question No: 32 ( Marks: 1 )

Why there is a need to use primary key in database ?

Primary Key is a field that uniquely identifies each record stored in a table

Question No: 33 ( Marks: 2 )

What is image processing ?

Image Processing:

A branch of computer science concerned with manipulating and enhancing computer

graphics

Question No: 34 ( Marks: 2 )

Define testing with respect to programming..

Testing: The tasks performed to determine the existence of defects

Question No: 35 ( Marks: 3 )

How can we define a computer screen?

Question No: 36 ( Marks: 3 )

What is difference between Design and System Architecture?


System

A collection of elements which working together produces a result not achieved by

the things alone

System Architecture

The structure

(in terms of components, connections, constraints) of a product or a process

Question No: 37 ( Marks: 3 )

Write JavaScript code to convert the number 236.2363611111556 into currency format and
JavaScript statement to show output.

a = 236.2363611111556;

b = a.toString( ) ;

decimalPos = b.indexOf( ".", 0 ) ;

c = b.substring( 0, decimalPos + 3 ) ;

document.write( c ) ;

Question No: 38 ( Marks: 5 )

Show output of the following code:

for (i=0; i<=10; i++)

document.write("The number is " + i);

document.write("<br />");

Question No: 39 ( Marks: 5 )

What is a Relational Database? Give the names of any three RDBMS software. (2+3)
Relational Databases

• Databases consisting of two or more related tables are called relational databases

• A typical relational database may have anywhere from 10 to over a thousand tables

• Each column of those tables can contain only a single type of data (contrast this

with spreadsheet columns!)

• Table rows are called records; row elements are called fields

• A relational database stores all its data inside tables, and nowhere else

• All operations on data are done on those tables or those that are generated by table

operations

• Tables, tables, and nothing but tables!

RDBMS

• Relational DBMS software

• Contains facilities for creating, populating, modifying, and querying relational

databases

• Examples:

–Access

–FileMaker Pro

–SQL Server

–Oracle

Question No: 40 ( Marks: 10 )

Define the following terms.

¬ Object

¬ Event Handler
¬ Local Variable
¬ Scope of Variable
¬ Array
Object
A named collection of properties(data, state) & methods (instructions, behavior)
Event Handler
An event handler is a command which calls a function when an event happens, such as the user clicking a
button
Local Variable
Declaring variables (using the var keyword) within a function, makes them local•They are available
only
within the function and hold no meaning outside of it
Scope of Variable
Defining the space in which a variable is effective is known as
defining the scope of a variable. A variable can be either local or global in scope
Array
DDDD

Question No: 27 ( Marks: 1 )

What is the Brute Force Strategy?

Answer:. A staretegy in which all possible combinations are examined


and best among them is selected. Brute force (also known as brute
force cracking) is a trial and error method used by application
programs to decode encrypted data such as passwords or Data
Encryption Standard (DES) keys, through exhaustive effort (using brute
force) rather than employing intellectual strategies.

Question No: 28 ( Marks: 1 )

What is java script?

Answer: JavaScript is an object-oriented scripting language used to


enable programmatic access to objects within both the client
application and other applications.

It is primarily used in the form of client-side JavaScript, implemented


as an integrated component of the web browser, allowing the
development of enhanced user interfaces and dynamic websites
Question No: 29 ( Marks: 2 )

How can you explain control unit?

Answer: Control unit is a computerized part of the speech processor.


Most of the controls, such as program, volume and sensitivity, are
located on the control unit.

Question No: 30 ( Marks: 3 )

How a designer makes Structured Design?

Answer: Structured Design: Materials and member type, size, and


configuration to carry loads in a safe and serviceable fashion.

In general, structural design implies the engineering of stationary


objects such as buildings and bridges, or objects that may be mobile
but have a rigid shape such as ship hulls and aircraft frames tructural
design involves at least five distinct phases of work, project
requirements, materials, structural scheme, analysis, and design

It is insufficient in most cases, for the designer to consider a solution,


a design. He should evaluate several alternate designs and choose the
best in the sense of maximizing such technical objectives as
efficiency, reliability, and maintainability while satisfying such design
constraints as memory size and response time.

Question No: 31 ( Marks: 5 )

What is Turing machine? Who invented it and also explain how a


Turing test is conducted?
Answer: A Turing machine is a theoretical device that manipulates
symbols contained on a strip of tape. Despite its simplicity, a Turing
machine can be adapted to simulate the logic of any computer
algorithm, and is particularly useful in explaining the functions of a
CPU inside of a computer. The "Turing" machine was designed by Alan
Turing in 1937.

The Turing test is a proposal for a test of a machine's ability to


demonstrate intelligence. It proceeds as follows a human judge
engages in a natural language conversation with one human and one
machine, each of which tries to appear human. All participants are
placed in isolated locations. If the judge cannot reliably tell the
machine from the human, the machine is said to have passed the test.
In order to test the machine's intelligence rather than its ability to
render words into audio, the conversation is limited to a text-only
channel such as a computer keyboard and screen.

If a computer pass the test ,we can say that a machine can think.

Question No: 32 ( Marks: 5 )

What are JavaScript literal and what are its types?

Answer: The raw data that make up the root of data types are called
"literals." These are, in effect, literally what they represent themselves
to be. Numbers, strings, and Boolean values make up the core set of
literals in JavaScript. Little mystery exists with literals, but important
differences exist between them. In JavaScript, data types include
strings, which are simply quoted characters, numbers, Boolean,
Objects and even a type which has no value at all, Null. Since
JavaScript is a loosely typed language, you don't neccessarily need to
know what type of data every value is (although it certainly helps).
Every piece of data in these categories is known as a value. When a
value is referred to outright in a statement, it is called a literal value.
For the same reason people are identified by names as opposed to
"human" or "person", literal values can be named in order to make
repeated reference to them practical, efficent and readable. These
names are called variables.

Literals can be of several types. Some of them are:

Array Literals

Boolean Literals

Floating-Point Literals

Integers

Object Literals

String Literals

Question No: 27 ( Marks: 1 )

Define URL

URL(Uniform resource locator)

URL (Uniform Resource Locator, previously Universal Resource


Locator) - is the address of a file (resource) accessible on the Internet.
The type of file or resource depends on the Internet application
protocol.

Examples of URLs: http://vu.edu.pk

http://www.yahoo.com
Question No: 28 ( Marks: 1 )

What is Randomized Algorithm?

Randomized Algorithm:

Any algorithm whose behavior is not only determined by the input, but
also values produced by a random number generator

These algorithms are often simpler and more efficient than


deterministic algorithms for the same problem. And because of there
simplicity they are easier to analyze which is the most important thing
in the decision making of an algorithm.

Question No: 29 ( Marks: 2 )

What was the name of first super computer. When it was introduced?

CRAY1 is the first computer and it was introduced in 1973

Question No: 30 ( Marks: 3 )

How a designer makes Structured Design?

Structured Design is known as a Top-down design.

The designed first conceives about the High level design and then
further designs the details of the high level design components and it
goes on and on.

Making small changes in the functionality of the systems sometimes


leads to major re-design exercise. Structured design separates the
functionality from programs data and that’s why program’s deisgned by
this methodology are difficult to maintain.
Question No: 31 ( Marks: 5 )

Why microprocessor uses the binary number system and not the
decimal or any other number system?

The processor is the logic of a computer and functions comparably to a


human central nervous system, directing signals from one component
to another and enabling everything to happen. A microprocessor is
made from miniaturized transistors and other circuit elements on a
single

semiconductor integrated circuit (IC) . These are made up oof


semiconductor and silicon.

Microprocessor are composed of components which has only two


states either 0 or 1. Binary number system is also composed of these
two states.

Microprocessor till today only understand the machine language and


machine language is only based on binary number system. Even today’s
64 bit microprocessors are also based on this technology.

Question No: 32 ( Marks: 5 )

Why do we need an Interactive Form in a webpage?

1. Interactive forms are used to gather user data and interact with
the user.
2. Forms can be made interactive with the use of client side
scripting and server side sciprting.
3. In HTML, <FORM> </FORM> tag is used to insert the form in a
web page and it always lie in <BODY></BODY> html tag.
4. without form’s web site is only “READ ONLY”.
5. with the help of forms a user and can search the contents, place
order for goods and services.
6. Forms can be simple or very complex, based on the requirement.
7. forms can contain a single element or many e.g text area,
buttons
Question No: 31 ( Marks: 1 )

In programming, what is a loop?

In computer science a for loop is a programming language statement


which allows code to be repeatedly executed. A for loop is classified
as an iteration statement.

Question No: 32 ( Marks: 1 )

What are the other names of function? Any one.

Routine , procedure , sub prograam

Question No: 33 ( Marks: 2 )

How JavaScript Arrays are heterogeneous ?

Arrays are heterogeneous in java script because at the same time


stimultanously they can hold elements of multiple data types

Question No: 34 ( Marks: 2 )

What is the database?

Data base is a collection of organized data in a proper way that


computer can quickly search for any desired data item , its an easy
way of allowing of manipulation of data,they are design in such a way
that access to any desired data can be identified and reached quickly
and easy , they are generally consist of collection of interrelated files

Question No: 35 ( Marks: 3 )

Differentiate between LAN and WAN with one example of each.

Lan is a local area network where as wan is a wide area network


Lan can be used in a specific areas with limited computers where as
wan can be used on computers shared by large distances

For example lan can be used on pc s or an organization located in one


building but wan can be used on large scales like banks all over or in
any Large communication systems

Question No: 36 ( Marks: 3 )

What are Trojan Horses ?

Trojen horses are a kind of cyber crime , they are v harmful to


computer because they are stand alone programme and the look like
what they are not like any thing amusing or not harmless like games..

Question No: 37 ( Marks: 3 )

Elaborate Rester Graphics with examples.

A raster graphics image, digital image, or bitmap, is a data file or


structure representing a generally rectangular grid of pixels, or points
of color, on a computer monitor, paper, or other display device.

To illustrate the matter further - here's the letter "J":

Look closely at it... Take a magnifying glass to it if you like. You see a
"J", the computer sees something more like this, where '.' represents a
zero and 'X' represents a one:

....X

....X
....X

....X

....X

....X

....X

X...X

X...X

.XXX.

Where you see a zero, the computer instructs its video hardware to
paint the current background color. A one calls for the current
foreground color. Yes, it is actually a bit more complicated, but it all
basically boils down to one bit or the other making a distinction

between the colors of adjacent pixels, which together form an image.

Question No: 38 ( Marks: 5 )

What are the important properties, methods and event handlers of


image object?

The primary use of the image object is to download an image into the
cache before it is needed to display , image object can be used to
create different kinds of animations or to display one of several images
based on the desired requirement , in java script image object can be
used to display the required pre loaded image

Properties of image object is : height , width ,hspace ,vspace , src ,


name border etc
Methods :none

Event handlers:on aboart , onload, onerror etc

Question No: 39 ( Marks: 5 )

Write the JavaScript code for the Function


SumOddNumbers(maxNumber) that can add non-negative odd numbers
up to maxNumber and return their sum.

Function sum odd numbers(maxnumber){var sum=0;

For(i=0; <maxNumbers;I++)

{
if(i / 2 == 1 || i == 1)
sum += i;
}

return sum;

Question No: 40 ( Marks: 10 )

Write a note on :

· Coding guidelines
· Guidelines for developing short programs.
· Coding guidelines
· • Always use semicolons to end statements
· • Indent blocks of code (2 to 5 spaces)
· • Identifiers
· • Use the camel back scheme
· • Variables: nouns
· • Functions: verbs
· • Comment Liberally
· • Make them descriptive but concise
·
Gudelines for developing short programs.

· • Read and understand the problem


· • Do you have all the required data?
· • No: Get it
· • Else assume it. State it explicitly
· • Do the design

Question No: 41 ( Marks: 10 )

write a note on each of the following:

a. Vector or Object-Oriented Graphics:

b. Bit-Mapped or Raster Graphics:

A:In Vector or object oriented graphic everything drawn is treated as


object. objects retain their identity after they are drawon. these
objects can later be moved, stretched, duplicated, deleted,etc. they
are resolution independent and have relatively small file size. the
examples are: swf, svg, wmf, ps

brass_ibrahim: Vector graphics is the use of geometrical primitives


such as points, lines, curves, and shapes or polygon(s), which are all
based on mathematical equations, to represent images in computer
graphics.

brass_ibrahim: The term "vector graphics" is mainly used today in the


context of two-dimensional computer graphics Virtually all modern 3D
rendering is done using extensions of 2D vector graphics techniques
.Virtually all modern 3D rendering is done using extensions of 2D
vector graphics techniques

B:Bit-Mapped or Raster Graphics:


Treats everything that is drawn as a bit-map

If an object is drawn on top of another, it is difficult to move just one of


them while

leaving the other untouched

Changing the resolution often requires considerable touch-up work

Relatively large file size

Examples: gif, jpg, bmp

masood.tariq: Bit-Mapped or Raster Graphics:

Treats everything that is drawn as a bit-map

If an object is drawn on top of another, it is difficult to move just one of


them while

leaving the other untouched

Changing the resolution often requires considerable touch-up work

Relatively large file size

Examples: gif, jpg, bmp

28 objectives were from old papers out of 30.


What is Array? Marks 2

what is computer prrofessional? Marks 2

define onLoad and onUnload? Marks 2

waht is time bomb? Marks 2

what is bandwidth? Marks 2

"while" loop is more preferable than "For" loop? Marks 3

sementic web and present web? Marks 3

can we replace a human doctor by Expert system? Marks 5

Difference Internt and intranet? Marks 5

ways of navigation Heuristics? Marks 5

event handling?

Define network organization and its advantages? Marks 10

Coding Guidline and guidlines for short programs? Marks 10

Dewelop a web page that displays six thumbnails

images. A main image should be changed to a large

version of thumbnail as soon as the mouse moves

over the thumbnail. Write complete html and java script? Marks 10

characteristics of Internet? Marks 10


Profile and responsibilities of Team Leader? Marks 10

due to computer how many jobs are available and

how many jobs are eliminated? Marks

Today was my CS101 Paper. The Subjective Quizzes are as under:

1. How many members are in operational team and what there key
resposibilities

2. What is Computer Screen?

3. What are weaknesses of the web?

4. Characteristics of Internet (Any Five)?

5. Breifly describe

Telnet

VoIP

Instant Messaging

FTP
IP/TCP

6. Describe the organizational structure?

7. What is image process

8. Pixel?

Today I had CS 101 Paper.There were 41 questions.30 objective and 11


descriptive.Few of the questions were:

3 attributes of event handler

Difference between Internet and Intranet

Function

Commonsense to avoid viruses and explain antivirus

TCP/IP

An attack on Yahoo servers

Spreadsheets

Codes for uploading file

Hierarchy in an organization

Team lead

COO

Developer

Businessess monitoring their employees

'+' operator
Image in Javascript

Question No: 17 ( Marks: 2 )

Write the major types of softwares with examples?

Answer..

System SW

System software is responsible for controlling, integrating, and


managing the individual

hardware components of a computer system.

System software performs tasks like transferring data from memory to


disk, or rendering

text onto a display Specific kinds of system software include loading


programs, operating

systems, device drivers, compilers, assemblers, linkers, and utilities.

Software libraries that perform generic functions also tend to be


regarded as system

software. System software stored on non-volatile storage on integrated


circuits is usually

termed firmware. These generally perform the background tasks in a


computer. These

programs, many times, talk directly to the HW.

Application SW

Programs that generally interact with the user to perform work that is
useful to the user.
These programs generally talk to the HW through the assistance of
system SW.

Question No: 18 ( Marks: 2 )

What is the major difference between paragraph <p> and Line Break
<BR> tags?

<P> … </P>

Paragraph

<BR>

Line break

Question No: 19 ( Marks: 2 )

Why PASCAL was designed and what is the problem with PASCAL?

Answer,,

Pascal is very good for writing well-structured and readable programs,


but it is not as

flexible as the C programming language

C++ embodies powerful object-oriented features, but it is complex and


difficult to learn

What changes in the field of computer languages can we expect in the


near future
Question No: 20 ( Marks: 3 )

What are the key requirements of E-commerce Software?

Answer..

E-Commerce Software

Key requirements:

Reliability

Security

Ability to handle 1000’s of transactions, simultaneously

Question No: 21 ( Marks: 3 )

Write down the pseudo code for the following flow chart.

Answer…. Pseudo code

Flowcharts
Actual code

Pseudo Code

Language that is typically used for writing algorithms

Similar to a programming language, but not as rigid

The method of expression most suitable for a gi

Question No: 22 ( Marks: 5 )

(a) Write down two positive features of client-side scripting.

Answet..

Reduced server load as it does not have to send messages to the


user’s browser about

missing or incorrect data

Reduced network traffic as the form’s data is sent only once instead of
many to’s and

fro’s

Question No: 17 ( Marks: 2 )

What is Ockham’s Razor principle ?

Answer…

When choosing among competing, successful solutions to a problem,


choose the one which is the least

complex
This principle is called the “Ockham’s Razor,” after William of Ockham -
famous 13-th

century English philosopher

Question No: 17 ( Marks: 2 )

Explain briefly the different techniques that are used to embed


JavaScript code in a web page?

Answer., Client-side JavaScript code is embedded within HTML


documents in a number of ways:

• Between a pair of <script> and </script> tags


• From an external file specified by the src attribute of a
<script> tag
• In an event handler, specified as the value of an HTML
attribute such as onclick or onmouseover
• As the body of a URL that uses the special javascript:
protocol

The following sections document each of these JavaScript


embedding techniques in more detail. Together, they explain all
the ways to include JavaScript in web pages -- that is, they
explain the allowed structure of JavaScript programs on the
client side.

Question No: 18 ( Marks: 2 )

What is an interpreter? Write its one benifit over compiler.


Answere

Interpreter is a program that executes instructions written in a high-


level language

An interpreter translates high-level instructions into an intermediate


form, which it then

executes. In contrast, a compiler translates high-level instructions


directly into machine

language

Compiled programs generally run faster than interpreted programs.

compilation stage during which the whole of the high-level code is


translated into

machine instructions in one go. This process can be time-consuming if


the program is

long.

The interpreter can immediately execute high-level programs, without


waiting for the

completion of the translation process

The choice of which language to use can also depend on the:

-Type of computer the program is to run on,

- Expertise of the programmer

Interpreters: immediate response, but execute code slowly.

Compilers: Takes longer to compile, but super-fast execution.


Question No: 19 ( Marks: 2 )

Whether response time of a microprocessor is greater or less than that


of RAM?

A microprocessor incorporates most or all of the functions of a


computer's central processing unit (CPU) on a single integrated
circuit (IC, or microchipThe first microprocessors emerged in the
early 1970s and were used for electronic calculators, using
binary-coded decimal (BCD) arithmetic in 4-bit words. Other
embedded uses of 4-bit and 8-bit microprocessors, such as
terminals, printers, various kinds of automation etc, followed
soon after. Affordable 8-bit microprocessors with 16-bit
addressing also led to the first general-purpose microcomputers
from the mid-1970s on.

During the 1960's, computer processors were often constructed


out of small and medium-scale ICs containing from tens to a few
hundred transistors. The integration of a whole CPU onto a single
chip greatly reduced the cost of processing power. From these
humble beginnings, continued increases in microprocessor
capacity have rendered other forms of computers almost
completely obsolete (see history of computing hardware), with
one or more microprocessors used in everything from the
smallest embedded systems and handheld devices to the largest
mainframes and supercomputers.

Since the early 1970s, the increase in capacity of


microprocessors has been a consequence of Moore's Law, which
suggests that the complexity of an integrated circuit, with
respect to minimum component cost, doubles every two years

In the late 1990s, and in the high-performance microprocessor


segment, heat generation (TDP), due to switching losses, static
current leakage, and other factors, emerged as a leading
developmental constraint

Question No: 20 ( Marks: 3 )

Write formula for the following expression.

1) If we want to add the value from cell C3 to C10 we can


write
2) If we want to add the value of C2 to the value of C4 and
than multiply by C6 , the formula is written for

1.answer formula

=sum(c3:c10) then enter

=(c2+c10Xc6) then enter

Question No: 22 ( Marks: 5 )


What is software life cycle?

SW Life-Cycle

The sequence of phases a SW goes through from the concept to


decommissioning

It is important to think about all those phases before the design work
starts

Thinking about the future phases generally results in:

Shorter delivery times

Reduced costs of development

A system of higher quality

A Case in Point

I didn’t discuss with the customer the specs of the HW & OS before
developing a

particular e-commerce SW.

I wrote it for the HW/OS that was easily available to me.

Unfortunately that HW/OS combination differed from what was easily


available to the

client Result: Huge amount of rework. Higher cost. Delayed delivery.


Lower quality.

Therefore, now before designing a SW system, I first write down the


installation manual,

and get it OK’d by the customer. I do the same with the Operation &
Maintenance

manual as well.
Question No: 23 ( Marks: 5 )

Elaborate greedy algorithm definition with solid example in favour and


one counter example?

An algorithm that always takes the best immediate, or local solution


while finding an

answer

Greedy algorithms may find the overall or globally optimal solution for
some

optimization problems, but may find less-than-optimal solutions for


some instances of

other problems

KEY ADVANTAGE: Greedy algorithms are usually faster, since they


don't consider the

details of possible alternatives

Greedy Algorithm: Counter Example

During one of the international cricket tournaments, one of the teams


intentionally lost a

match, so that they could qualify for the next round

If they had won that particular match, some other team would have
qualified

This is an example of a non-greedy algorithm

Greedy Algorithm: Example


A skier skiing downhill on a mountain wants to get to the bottom as
quickly as possible

What sort of an algorithm should the skier be using?

The greedy-algorithm approach will be to always have the skies


pointed towards the

largest downhill slope (dy/dx), at all times

What is the problem with that approach?

In what situations that will be the best algorithm?

In which situations would it perform poorly?

Insert text: Allows you to insert text anywhere in the document.


delete text: Allows you to erase characters, words, lines, or pages as easily
as you can cross them out on paper.
cut and paste : Allows you to remove (cut) a section of text from one place
in a document and insert (paste) it somewhere else.
copy : Allows you to duplicate a section of text.
page size and margins : Allows you to define various page sizes and
margins, and the word processor will automatically readjust the text so that it
fits.
search and replace : Allows you to direct the word processor to search for a
particular word or phrase. You can also direct the word processor to replace
one group of characters with another everywhere that the first group appears.
word wrap : The word processor automatically moves to the next line when
you have filled one line with text, and it will readjust text if you change the
margins.
print: Allows you to send a document to a printer to get hardcopy.
file management : Many word processors contain file management
capabilities that allow you to create, delete, move, and search for files.
font specifications: Allows you to change fonts within a document. For
example, you can specify bold, italics, and underlining. Most word
processors also let you change the font size and even the typeface.
footnotes and cross-references: Automates the numbering and placement of
footnotes and enables you to easily cross-reference other sections of the
document.
graphics graphics: Allows you to embed illustrations and graphs into a
document. Some word processors let you create the illustrations within the
word processor; others let you insert an illustration produced by a different
program.
headers , footers , and page numbering: Allows you to specify customized
headers and footers that the word processor will put at the top and bottom of
every page. The word processor automatically keeps track of page numbers
so that the correct number appears on each page.
layout : Allows you to specify different margins within a single document
and to specify various methods for indenting paragraphs.
macros : A macro is a character or word that represents a series of
keystrokes. The keystrokes can represent text or commands. The ability to
define macros allows you to save yourself a lot of time by replacing
common combinations of keystrokes.
merges: Allows you to merge text from one file into another file. This is
particularly useful for generating many files that have the same format but
different data. Generating mailing labels is the classic example of using
merges.
spell checker : A utility that allows you to check the spelling of words. It
will highlight any words that it does not recognize.
tables of contents and indexes: Allows you to automatically create a table of
contents and index based on special codes that you insert in the document.
thesaurus: A built-in thesaurus that allows you to search for synonyms
without leaving the word processor.
Question No: 17 ( Marks: 2 )

Write the

major types of softwares with examples?

Answer..

System SW

System software is responsible for controlling, integrating, and


managing the

individual

hardware components of a computer system.


System software performs tasks like transferring data from memory to
disk, or

rendering

text onto a display Specific kinds of system software include loading


programs,

operating

systems, device drivers, compilers, assemblers, linkers, and utilities.

Software libraries that perform generic functions also tend to be


regarded as system

software. System software stored on non-volatile storage on


integrated circuits is

usually

termed firmware. These generally perform the background tasks in a


computer. These

programs, many times, talk directly to the HW.

Application SW

Programs that generally interact with the user to perform work that is
useful to the

user.

These programs generally talk to the HW through the assistance of


system SW.

Question No: 18 ( Marks: 2 )

What is

the major difference between paragraph <p> and Line Break <BR>
tags?
<P> … </P>

Paragraph

<BR>

Line break

Question No: 19 ( Marks: 2 )

Why

PASCAL was designed and what is the problem with PASCAL?

Answer,,

Pascal is very good for writing well-structured and readable


programs, but it is not as

flexible as the C programming language

C++ embodies powerful object-oriented features, but it is complex


and difficult to

learn

What changes in the field of computer languages can we expect in


the near future

Question No: 20 ( Marks: 3 )

What are

the key requirements of E-commerce Software?

Answer..

E-Commerce Software

Key requirements:

Reliability

Security
Ability to handle 1000’s of transactions, simultaneously

Question No: 21 ( Marks: 3 )

Write

down the pseudo code for the following flow chart.

Answer…. Pseudo code

Flowcharts

Actual code

Pseudo Code

Language that is typically used for writing algorithms

Similar to a programming language, but not as rigid

The method of expression most suitable for a gi

Question No: 22 ( Marks: 5 )

(a) Write

down two positive features of client-side scripting.

Answet..

Reduced server load as it does not have to send messages to the


user’s browser about

missing or incorrect data

Reduced network traffic as the form’s data is sent only once instead
of many to’s and

fro’s

Question No: 17 ( Marks: 2 )

Explain briefly the different techniques that are used to embed


JavaScript code in a
web page?

Answer., Client-side JavaScript code is embedded within HTML


documents in a

number of ways:

• Between a pair of <script> and </script> tags

• From an external file specified by the src attribute of a <script> tag

• In
an event handler, specified as the value of an HTML attribute
such as onclick

or onmouseover

• As the body of a URL that uses the special javascript: protocol

The following sections document each of these JavaScript


embedding techniques in

more detail. Together, they explain all the ways to include JavaScript
in web pages --

that is, they explain the allowed structure of JavaScript programs on


the client side.

Question No: 18 ( Marks: 2 )

What is an interpreter? Write its one benifit over compiler.

Answere

Interpreter is a program that executes instructions written in a high-


level language

An interpreter translates high-level instructions into an intermediate


form, which it

then
executes. In contrast, a compiler translates high-level instructions
directly into

machine

language

Compiled programs generally run faster than interpreted programs.

compilation stage during which the whole of the high-level code is


translated into

machine instructions in one go. This process can be time-consuming


if the program is

long.

The interpreter can immediately execute high-level programs, without


waiting for the

completion of the translation process

The choice of which language to use can also depend on the:

-Type of computer the program is to run on,

- Expertise of the programmer

Interpreters: immediate response, but execute code slowly.

Compilers: Takes longer to compile, but super-fast execution.

Question No: 19 ( Marks: 2 )

Whether response time of a microprocessor is greater or less


than that of RAM?

A microprocessor incorporates most or all of the functions of a


computer's central

processing unit (CPU) on a single integrated circuit (IC, or


microchipThe first
microprocessors emerged in the early 1970s and were used for
electronic calculators,

using binary-coded decimal (BCD) arithmetic in 4-bit words. Other


embedded uses of

4-bit and 8-bit microprocessors, such as terminals, printers, various


kinds of

automation etc, followed soon after. Affordable 8-bit microprocessors


with 16-bit

addressing also led to the first general-purpose microcomputers from


the mid-1970s

on.

During the 1960's, computer processors were often constructed out


of small and

medium-scale ICs containing from tens to a few hundred transistors.


The integration

of a whole CPU onto a single chip greatly reduced the cost of


processing power. From

these humble beginnings, continued increases in microprocessor


capacity have

rendered other forms of computers almost completely obsolete (see


history of

computing hardware), with one or more microprocessors used in


everything from the

smallest embedded systems and handheld devices to the largest


mainframes and

supercomputers.
Since the early 1970s, the increase in capacity of microprocessors
has been a

consequence of Moore's Law, which suggests that the complexity of


an integrated

circuit, with respect to minimum component cost, doubles every two


years

In the late 1990s, and in the high-performance microprocessor


segment, heat

generation (TDP), due to switching losses, static current leakage, and


other factors,

emerged as a leading developmental constraint

Question No: 20 ( Marks: 3 )

Write formula for the following expression.

1) If we want to add the value from cell C3 to C10 we can write

2) If we want to add the value of C2 to the value of C4 and than


multiply by

C6 , the formula is written for

1.answer formula

=sum(c3:c10) then enter

=(c2+c10Xc6) then enter

Question No: 21 ( Marks: 3 )

How can we enter data in more than one line in an html form?

Question No: 22 ( Marks: 5 )

What is software life cycle?

SW Life-Cycle
The sequence of phases a SW goes through from the concept to
decommissioning

It is important to think about all those phases before the design work
starts

Thinking about the future phases generally results in:

Shorter delivery times

Reduced costs of development

A system of higher quality

A Case in Point

I didn’t discuss with the customer the specs of the HW & OS before
developing a

particular e-commerce SW.

I wrote it for the HW/OS that was easily available to me.

Unfortunately that HW/OS combination differed from what was easily


available to

the

client Result: Huge amount of rework. Higher cost. Delayed delivery.


Lower quality.

Therefore, now before designing a SW system, I first write down the


installation

manual,

and get it OK’d by the customer. I do the same with the Operation &
Maintenance

manual as well.

Question No: 23 ( Marks: 5 )


Elaborate greedy algorithm definition with solid example in favour and
one counter

example?

An algorithm that always takes the best immediate, or local solution


while finding an

answer

Greedy algorithms may find the overall or globally optimal solution for
some

optimization problems, but may find less-than-optimal solutions for


some instances of

other problems

KEY ADVANTAGE: Greedy algorithms are usually faster, since they


don't consider

the

details of possible alternatives

Greedy Algorithm: Counter Example

During one of the international cricket tournaments, one of the teams


intentionally

lost a

match, so that they could qualify for the next round

If they had won that particular match, some other team would have
qualified

This is an example of a non-greedy algorithm

Greedy Algorithm: Example


A skier skiing downhill on a mountain wants to get to the bottom as
quickly as

possible

What sort of an algorithm should the skier be using?

The greedy-algorithm approach will be to always have the skies


pointed towards the

largest downhill slope (dy/dx), at all times

What is the problem with that approach?

In what situations that will be the best algorithm?

In which situations would it perform poorly?

Question No: 27 ( Marks: 1 )


What are compilers used for ?
Ans: compiler is a softwear that can translate the whole programe
in once.it also save the program.
Question No: 28 ( Marks: 1 )
What is Script?
Ans: script is a sequence of steps to carry out a work by processor And manage
by a language like Javascript and vb scripts.

Question No: 29 ( Marks: 2 )


What is <P> tag in HTML and How it is different from <br> tag?
Ans: <p> is used for paragraph in HTML language it has a closing tag </p>
unlike <br> which has no closing tag. Br only used to break the current line while
<p> can be used for more lines
Question No: 30 ( Marks: 3 )
How can you manipulate the address of a file (resource) accessible on the
Internet?
World wide web ,URL, domain name

Question No: 31 ( Marks: 5 )


Write Hyper Link for a Web Page and for an Email Address.
Ans: Following are the Hyper link for a web page
www.vu.edu .pk
www.yahoo.com
www.hotmail.com

Question No: 32 ( Marks: 5 )


Write down the requirement of Desktop Publishing?
User requirement

Softwear requirements
. Laser printer
Scanner
DESktop publishing softwears
e.g
adobe page maker
Ms publisher
High end pc with a large screen monitor
Formate
Numerical data
Text

Question No: 27 ( Marks: 1 )

What is the key feature of batch programs?

Answer: The key feature is no user interaction with computer


while a program is running.

Question No: 28 ( Marks: 1 )

Name two languages which are used for client side scripting?

Answer: Javascript , VBscript

Question No: 29 ( Marks: 2 )

What is the purpose of MODEM ?


Answer: It receive data analog signal from a phone line and then
convert them into digital signal and send back to the computer
with which it is attached. It also receives data from computer
and convert it into analog signals.

Question No: 30 ( Marks: 3 )

What is Home Page of a web site?

Answer: For a web user it is a first page displayed when a user


starts a web browser and for a web developer it is a first page
when a user selects a site.

Question No: 31 ( Marks: 5 )

Why microprocessor uses the binary number system and not the
decimal or any other number system?

Answer: Because this system is natural for digital computer.


Digital computer have fundamental building blocks like ON & OFF
Etc so it is natural to represent those in a number system that
has only two symbols e.g Binary Numbers 0,1. Whereas decimal
system is natural for human.

Question No: 32 ( Marks: 5 )

What is the difference between Interactive-mode and Batch-


mode Application Software?

Answer: Batch-mode: This Mode Program has no user interaction


with computer while a program is running e.g Paroll
Interactive-mode: The user runs the program on the computer
and keeps interacting with the computer while a program is
running e.g word processor
CS101 Solved MCQS
http://vustudents.ning.com
Question # 1 of 10 ( Start time: 05:12:59 PM ) Total Marks: 1
Global variables are:
Select correct option:

Visible everywhere on the web page


Visible only in the block in which they are declared
Visible only in the main code
None of the given choices

Question # 2 of 10 ( Start time: 05:13:37 PM ) Total Marks: 1


Infection propagation and Actual destructive are the components of _______________
Select correct option:

Transmission mechanism
Payload
Worms
Trojan Horse

Question # 3 of 10 ( Start time: 05:14:24 PM ) Total Marks: 1


If a computer could pass the Turing test then it would be able to:
Select correct option:

win a million dollar prize


think like human begins
think but slower than humans
do the things faster
Question # 4 of 10 ( Start time: 05:14:53 PM ) Total Marks: 1
__________ is a special purpose computer that connects and translates between network that
use different communication protocols.
Select correct option:

Bridge
Router
Gateway
None of the given choices

Gateway
A special-purpose computer that connects and translates between networks that use different
communications protocols

Question # 5 of 10 ( Start time: 05:15:51 PM ) Total Marks: 1


The solution of the Mail Bombing is ________
Select correct option:

Filtering
Do not accept emails
eMail filtering
There in no solution for it

Question # 6 of 10 ( Start time: 05:16:38 PM ) Total Marks: 1


The name of very first computer was:
Select correct option:

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
ABC
BCD
EDC
None of the given choices

ENIAC (pronounced [ ɛniæk]), short for Electronic Numerical Integrator And Computer,was
the first general-purpose electronic computer.

Question # 8 of 10 ( Start time: 05:17:34 PM ) Total Marks: 1


MATH functions are accessed by referring to various ______________of the Math object
Select correct option:

Functions
Events
Properties
Methods

In addition to the simple arithmetic operations (e.g. +, *, etc.) JavaScript supports several
advanced mathematical operations as well
Notationaly, these functions are accessed by referring to various methods of the Math object

Question # 7 of 10 ( Start time: 05:16:57 PM ) Total Marks: 1


The color of each pixel is generally represented in the form of a __________.
Select correct option:

Duplet
Triplet
Both a & b
None of these

Rule of thumb learned through trial & error is called


Select correct option:

Heuristic
Mistake
Common sense
Experience

Question # 9 of 10 ( Start time: 05:18:36 PM ) Total Marks: 1


SCSI stands for:
Select correct option:

Small Computer System Interface


System Common Small Integration
Silicon Computer System Interface
None of the given choices

SCSI
A port that's faster than the serial and parallel ports but slower and harder to configure than the
newerUSB port. Also know as the Small Computer System Interface.
A high-speed connection that

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Question # 1 of 10 ( Start time: 05:21:25 PM ) Total Marks: 1
Internet is an example of ______________ network.
Select correct option:

Private
Public
Both Private and Public
None of the given choices

Question # 2 of 10 ( Start time: 05:21:53 PM ) Total Marks: 1


The name of first commercially available PC was:
Select correct option:

UNIVAC 1
ENIAC
EDVAC
Altair 8800

Question # 3 of 10 ( Start time: 05:22:43 PM ) Total Marks: 1


Algorithm is a ____________________
Select correct option:

Definition of a problem
Sequence of steps to solve a problem
Understanding of a problem
Solving a problem

Question # 4 of 10 ( Start time: 05:23:52 PM ) Total Marks: 1


A group of information is called __________________
Select correct option:

File
Database
Record
Field

Question # 5 of 10 ( Start time: 05:24:17 PM ) Total Marks: 1


___________________ is a branch f computer science concerned with manipulating and
enhancing computer graphics.
Select correct option:

Image Handling
Image Processing
Image Engineering
None of these
Question # 6 of 10 ( Start time: 05:25:34 PM ) Total Marks: 1
__________has changed our way of life like no other technology.
Select correct option:

Computational technology
Computer technology
Computing technology
None of the Above

Question # 7 of 10 ( Start time: 05:26:27 PM ) Total Marks: 1

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Sophisticated event handling is not possible with _______________ event handling
Select correct option:

Off-Line
In-Line
Out-Line
Non of the given choices

Question # 8 of 10 ( Start time: 05:27:03 PM ) Total Marks: 1


Babbage’s Analytical Engine could store information permanently in:
Select correct option:

Magnetic Tape
Floppy Disk
Punched Cards
None of the given choices

Question # 9 of 10 ( Start time: 05:28:30 PM ) Total Marks: 1


There are __________ popular schemes to reduce the number of bytes that are required for
storing graphics.
Select correct option:

4
3
2
None of these

A number of clever schemes have been invented to reduce the number of bytes that are required
for storing graphics. 2 popular ones:
Color mapping
Dithering

Question # 10 of 10 ( Start time: 05:30:01 PM ) Total Marks: 1


The internet-society is considered under Surveillance because:
Select correct option:

While surfing, we are being watched, constantly


Our every click is recorded and analyzed to extract patterns and behaviors
Webcams are becoming common. Providing a cheap way for parents to watch their children's
every move
All of the given

Which of the following is incorrect for making design elements legible?


Select correct option:
Elements should be large enough
Elements must contrast sufficiently
Related elements should be visually grouped
Elements should have no visual focus

25.10 Making Display Elements Legible:


1. Designing (arranging) Display Elements
Elements must be large enough to be processed visually

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Elements must contrast sufficiently with their backgrounds
Related elements should be visually grouped through the use of space, color, or graphical
boundaries
The relative levels of importance among elements in a display should be revealed graphically

Question # 2 of 10 ( Start time: 05:03:37 PM ) Total Marks: 1


1. Function is also known as ______________.
Select correct option:
subprogram
procedure
subroutine
All of given

Function:
A group of statements that is put together (or defined) once and then can be used (by reference)
repeatedly on a Web page Also known as subprogram, procedure, subroutine

In _____________ TCP\IP protocols became the only set of protocols used on the ARPANET.
Select correct option:
1973
1983
1972
None of the given choices

E-mail system has ______ component(s)


1983 - The TCP/IP protocols becomes the only set of protocols used on the ARPANET
This sets a standard for all networks, and generates the use of the term Internet as the net of nets
ARPANET splits into two nets to keep military & non-military network sites separate:
ARPANET and
MILNET

Select correct option:


E-mail client
SMTP server
POP3 server
All of the given choices

_______ / / /______/ A Parallelogram (Tilted rectangle) represents the ________________ flow


chart element.
Select correct option:
Process
Input or Output
Decision
Connector

Punched cards were replaced by:


Select correct option:
Floppy Disk
Zip Drives
Magnetic storage
None of the given choices

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

Ref:
http://en.wikipedia.org/wiki/Punched_card

During the 1960s, the punched card was gradually replaced as the primary means for data
storage by magnetic tape, as better, more capable computers became available.

The ________virus may display an annoying, but harmless message


Select correct option:
Malicious
Neutral
Helpful
DoS

The internet communities are ___________.


Select correct option:
Geographical based
Interest based
Country based
Religion based

Question # 1 of 10 ( Start time: 04:51:32 PM ) Total Marks: 1


Because of spending more time on the internet, the distances among the families have been
_____.
Select correct option:
Increased
Expanded
Contracted
Shortened

Question # 3 of 10 ( Start time: 04:53:30 PM ) Total Marks: 1


Autonomous Web Agents are also known as _________________
Select correct option:
Mobile Agents
Softbots
Both "Mobile Agents" & "Softbots"
None of these

A communication protocol is a __________that governs the flow of information over a network.


Select correct option:
Set of Methods
Set of Protocols
Set of rules
None of the given choices

Protocol
–Rules governing communications over the network

By default in a web page Hyper Link for another web page is represented as:

Select correct option:

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Blue only
Black and Underlined
Blue and Bold
Blue and Underlined

The organizations are learning that business can be done in a more effective manner if emphasis
is placed upon ______________.
Select correct option:
Cooperation
Shared responsibility
Networking
All of the given

Question # 7 of 10 ( Start time: 04:57:19 PM ) Total Marks: 1


Monitor is an example of __________devices
Select correct option:
Output
Input
Processing
None of the given choices

The code in the ________ portion is the right choice for developing larger JavaScript scripts
Select correct option:
Body
At End
Head
Separate
____________________ based on the principles of the logical reasoning ability of humans.
Select correct option:
Genetic Algorithms
Rule-based Systems
Feed-Forward Network
None of these

Rulebased Systems (1):


Based on the principles of the logical reasoning ability of humans

The key benefit of VPNs over conventional PNs is:


Select correct option:
Security
Efficiency
Lower Cost
None of the given choices
In __________________ automatic machines perform various tasks that were previously
performed by humans.
Select correct option:
Fuzzy Logic
Robotics
Rule based Systems
None of these

Avoid __________ to ensure readability of web page


Select correct option:

Overuse of bold and italics

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Use of paragraphs
Use of white space
Use of contrast colors

Deep Blue was the name of:


Select correct option:

Human
Computer
City
None of the given choices

Using ____, a user can remotely log on to a computer (connected to the user through a network,
e.g. Internet) & have control over it like a local user, including control over running various
programs ?
Select correct option:

FTP
TCP
Telnet Protocol
None of the given choices

Telnet Protocol
Using Telnet, a user can remotely log on to a computer (connected to the user’s through a TCP/IP
network, e.g. Internet) & have control over it like a local user, including control over running
various programs In contrast, FTP allows file operations only
Typical use: Configuring and testing of a remote Web server

DoS is________ ?
Select correct option:

Crime
Cyber crime
Not a crime
A software

__________ enables users located at far-way locations to easily share information with others
located all over the world.
Select correct option:

Protocol
Internet
Communication Channel
None of the given choices

Vacuum tubes were replaced by:


Select correct option:

Transistors
Electrodes
Electric Relays
None of the given choices

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

Cyber crime can be used to


Select correct option:

Damage a home computer


Bring down a business
Weaken the telecom, financial, or even defense-related systems of a country
All of the given

___ provides a simple, consistent way for applications to interact with the HW
without having to know all the details of the HW
► Explorer.exe
► System Files
► Operating System
► Application Software

Communication protocol is a __________that governs the flow of information


over a network
► Set of methods
► Set of protocols
► Set of rules
► Device
_____________ team is responsible for the maintenance, expansion ,
improvement of the infrastructure consisting of workstations, networking
equipment, software and network security.
► Support
► Configuration Management
► Quality Assurance
► Developer
_____________ team consists on the sharpest technical minds in the company.
► Architecture
► Business Development
► Configuration Management
► Developer

_______________ is responsible for day to day operations.


► CEO
► COO
► CMSO
► Developer

Using Java Script you can write a character at random location on screen
► By applying randomCh() method
► With the help of String object
► With the help of random character property
► There is no built in approach in Java Script

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
The transistor is a solid state semiconductor device used for amplification and switching, and has
_____ terminals.
► one
► two
► three
► four

Question No: 2 ( Marks: 1 ) - Please choose one


Blue Pacific is a name of _____ computer.
► Mini
► Desktop
► Micro
► Super

Question No: 3 ( Marks: 1 ) - Please choose one


Monte Carlo algorithm is an example of
► Randomized algorithm

► Greedy algorithm

► both greedy and randomized

► Heuristics

Question No: 4 ( Marks: 1 ) - Please choose one


A set of stand alone productivity applications designed to work together known as __

► Productivity software suites

► Compiled software

► Secure software

► Intelligent software

__________% of the users have left websites in frustration due to poor navigation.
► 40
► 62
► 83
► 91

In JavaScript, a variable declaration is

► Optional
► Mandatory
► Not allowed
► None of the given

A protocol used for receiving email messages is called ____________.

► URL
► Telnet

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► POP3
► SMTP

which one is correct?

► onUnload

► onUnLoad

► onUNLOAD

► All of the above

Serial arrangement in which things follow logical order or a recurrent pattern, such as
statements executing one by one, is called __________.

► Loop
► Sequence
► Condition
► Array

Variables allow us to manipulate data through the ___________.

► Actual Value
► Reference
► Length
► Name

Fuzzy logic is based on ____________.

► Ground facts
► Experience
► Practice
► Approximation

Word Processor is a _________________

► System Software
► Application Software
► Device
► Utility

In the old days, databases did NOT support ____________.

► Number
► Boolean
► Video
► Text

In tabular storage, fields placed in a particular row are strongly ___________.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Independent
► Dependent
► Interrelated
► Inconsistent

Due to working at home, lack of interaction may result in ___________ professional


growth.

► Slower
► Faster
► Higher
► Improved

Distance learning has got a boost due to the ___________.


► Easy communication
► Online interactive contents
► Flexibility
► All of the given options

_____________ technique can be used to create smooth animations or to display one of


several images based on the requirement.

► Image downloading
► Image preloading
► Image uploading
► Image postloading

► Tree structured organizational model


► Network paradigm
► Hierarchical structure
► None of the given options

The group of technologies concerned with the capturing, processing and transmission of
information in the digital electronic form is called

_____________.

► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

A large number of networks interconnected physically is called ______

► LAN
► MAN
► Internet

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Network collection

TCP stands for ________.

► Transfer Center protocol


► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

A collection of data organized in such a way that the computer can quickly search for a
desired data item is known as :
► Retrieving
► Database
► Information
► DBMS

______ is simply a fast port that lets you connect computer peripherals and consumer
electronics to your computer without restart.

► Freeware
► Shareware
► Firewire
► Firmware

Structures, in which another list starts before the first list is finished, are called:

► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists

The key property of the ‘Array’ object in JavaScript is

► Value
► Length
► Name
► All of the given choices

Which one is the example of spreadsheet software ?

► MS Word
► MS PowerPoint
► MS Excel
► MS Access

The Encryption of data is related to

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Data updates
► Data security
► Data integrity
► Data accessibility

_____ is the process of analyzing large databases to identify patterns.

► Data normalization
► Data management
► Data Mining
► None of the given options

Which is the user-friendly way of presenting data ?

► Query
► Form
► Report
► All of the given options

JavaScript function fixed() has equivalent HTML tag-set ____

► <.FIX>……………</FIX>
► <F>………………..</F>
► <PRE>………….</PRE>
► <H>………………..</H>

<form> Tags always placed between the <BODY> and </BODY> tags of a Web page

► True
► False

Java script has ----------------- ability to create and draw graphics.

► Limited
► Versatile
► Medium
► Not at all

Which of the following is incorrect for making design elements legible?

Select correct option:

Elements should be large enough

Elements must contrast sufficiently

Related elements should be visually grouped

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Elements should have no visual focus

1. Function is also known as ______________.

Select correct option:

subprogram

procedure

subroutine

All of given

In _____________ TCP\IP protocols became the only set of protocols used on the
ARPANET.

Select correct option:

1973

1983

1972

None of the given choices

E-mail system has ______ component(s)

Select correct option:

E-mail client

SMTP server

POP3 server

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
All of the given choices

_______ / / /______/ A Parallelogram (Tilted rectangle) represents the ________________


flow chart element.

Select correct option:

Process

Input or Output

Decision

Connector

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

Select correct option:

win a million dollar prize

think like human begins

think but slower than humans

do the things faster

Punched cards were replaced by:

Select correct option:

Floppy Disk

Zip Drives

Magnetic storage

None of the given choices

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

The ________virus may display an annoying, but harmless message

Select correct option:

Malicious

Neutral

Helpful

DoS

The name of very first computer was:

Select correct option:

ABC

BCD

EDC

None of the given choices

The internet communities are ___________.

Select correct option:

Geographical based

Interest based

Country based

Religion based

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
An algorithm that always takes the best immediate or local solution while
finding an answer is called____.

► Deterministic Algorithm
► Non deterministic Algorithm
► Greedy Algorithm
► Randomized Algorithm

Which of the following command allows you to recover form mistakes in MS


Word?

► Clear

► Edit
► Undo
► Break

A ____________ operating system allows many users to take


advantage of the computer's resources, simultaneously

► Single user
► Multi- user
► Single tasking
► Multi tasking

Network Interface Card is an __________ device


► Input
► Output
► Input/Output
► Storage

The decimal equivalent of binary 1000 is


► 7
► 8
► 9
► 10

Which of the following is NOT RDBMS software?

► My Sql
► MS Excel
► Oracle
► SQL Server

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

A computer virus is a
► Software that saves the computer from being damaged.
► Application software that helps to make different type of viruses and
worms
► Program that spreads itself and destroys other program
► Program that corrects the problems in your computer

What will be the result of a?


a = Math.abs(-23)

► 23
► -23
► 23.0
► 2.3
A Special program required to view swf (Shockwave Flash) files in web
Browser is called

► TFlash
► Vflash
► plug-in
► None of the given options

Using Java Script you can write a character at random location on screen

► By applying randomCh() method

► With the help of String object

► With the help of random character property

► There is no built in approach in Java Script

If incorrectly we enter the negative age it is check by

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Limit Integrity

► Type Integrity

► Referential Integrity

► Physical Integrity

Which protocol is use to transfer a file over the network?

► UDP

► FTP

► TCP

► OSI

One can send an email message to a remote computer using _______


protocol

► HTTP

► SMTP

► FTP

► TELNET

In a System having many parts to be designed, one should always do the


_____ first

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Hard part

► Simple part

► Development part

► Quality part

Flow control constructs in JavaScript includes:

► If-Else

► Loops and If -Else

► Switch and If-Else

► All of the given choices

___ provides a simple, consistent way for applications to interact with the
HW without having to know all the details of the HW

► Explorer.exe

► System Files

► Operating System

► Application Software

Machine language is also called

► Assembly Language

► Binary Language

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► High Level Language

► HTML Language

_________ is the best known builder for supercomputers.

► Sun

► Cray Research

► Microsoft

► Apple

The weaknesses of the computer are:

► Pattern recognition & Storage

► Speed & Innovative ideas

► Pattern recognition & Innovative ideas

► Speed & Storage

Communication protocol is a __________that governs the flow of


information over a network

► Set of methods

► Set of protocols

► Set of rules

► Device

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
_____________ team is responsible for the maintenance, expansion ,
improvement of the infrastructure consisting of workstations, networking
equipment, software and network security.

► Support

► Configuration Management

► Quality Assurance

► Developer

_____________ team consists on the sharpest technical minds in the


company.

► Architecture

► Business Development

► Configuration Management

► Developer

_______________ is responsible for day to day operations.

► CEO

► COO

► CMSO

► Developer

One of the key responsibilities of the ___________ is client relationship


management.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Project Manager

► Team Lead

► Developer

► Quality Assurance Engineer

What is the major problem with flash based website?

► Its two heavy

► Cannot be indexed

► Less attractive

► Inaccessible

Which of the following is NOT an event handler for image object?

► onAbort

► onError

► onLoad

► onUser

The organizations are learning that business can be done in a more


effective manner if emphasis is placed upon ___________.

► Cooperation

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Shared responsibility

► Networking

► All of the given options

a = Math.abs(-23)

What will be the value of a ?

► 23

► -23

► 23.0

► 2.3

ERP is a type of __________________ .

► Entertainment software

► Productivity software

► Business software

► Scientific software

In Genetic Algorithm the most important thing you should know, is the
___________.

► Procedure

► Recognition of a good solution

► Different techniques

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► None of the given options

According to a popular heuristic, success is defined by ___________.

► The user

► The builder

► Both user and builder

► None of the given options

Rule of thumb learned through trial and error is called ___________.

► Design

► Heuristic

► Plan

► Aim

JavaScript Variables are ____________.

► Dynamically Typed

► Statically Typed

► Strong Typed

► None of the given options

Which of the following application are collections of cells?

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Word

► Excel

► PowerPoint

► Outlook Express

The browser breaks down the URL into ________ parts.

►2

►3

►4

►5

A named collection of properties (data, state) and methods (instruction,


behavior) is called ____________.

► Array

► Function

► Variable

► Object

First computer network was ___________.

► NSFNET

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► FIRSTNET

► ARPANET

► ORPHANET

In JavaScript, a variable declaration is

► Optional
► Mandatory
► Not allowed
► None of the given

A protocol used for receiving email messages is called ____________.

► URL
► Telnet
► POP3
► SMTP

which one is correct?

► onUnload

► onUnLoad

► onUNLOAD

► All of the above

Serial arrangement in which things follow logical order or a recurrent


pattern, such as statements executing one by one, is called __________.

► Loop
► Sequence
► Condition
► Array

Variables allow us to manipulate data through the ___________.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Actual Value
► Reference
► Length
► Name

Fuzzy logic is based on ____________.

► Ground facts
► Experience
► Practice
► Approximation

Word Processor is a _________________

► System Software
► Application Software
► Device
► Utility

In the old days, databases did NOT support ____________.

► Number
► Boolean
► Video
► Text

In tabular storage, fields placed in a particular row are strongly


___________.

► Independent
► Dependent
► Interrelated
► Inconsistent

Due to working at home, lack of interaction may result in ___________


professional growth.

► Slower
► Faster
► Higher
► Improved

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

Distance learning has got a boost due to the ___________.


► Easy communication
► Online interactive contents
► Flexibility
► All of the given options

_____________ technique can be used to create smooth animations or to


display one of several images based on the requirement.

► Image downloading
► Image preloading
► Image uploading
► Image postloading

The ____________ is becoming the preferred organizational structure for


more and more organizations with the passage of time.

► Tree structured organizational model


► Network paradigm
► Hierarchical structure
► None of the given options

The group of technologies concerned with the capturing, processing and


transmission of information in the digital electronic form is called

_____________.

► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

A large number of networks interconnected physically is called ______

► LAN
► MAN
► Internet
► Network collection

TCP stands for ________.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Transfer Center protocol
► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

A collection of data organized in such a way that the computer can quickly
search for a desired data item is known as :
► Retrieving
► Database
► Information
► DBMS

______ is simply a fast port that lets you connect computer peripherals and
consumer electronics to your computer without restart.

► Freeware
► Shareware
► Firewire
► Firmware

Structures, in which another list starts before the first list is finished, are
called:

► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists

The key property of the ‘Array’ object in JavaScript is

► Value
► Length
► Name
► All of the given choices

Which one is the example of spreadsheet software ?

► MS Word
► MS PowerPoint
► MS Excel
► MS Access

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

The Encryption of data is related to

► Data updates
► Data security
► Data integrity
► Data accessibility

_____ is the process of analyzing large databases to identify patterns.

► Data normalization
► Data management
► Data Mining
► None of the given options

Which is the user-friendly way of presenting data ?

► Query
► Form
► Report
► All of the given options

<form> Tags always placed between the <BODY> and </BODY> tags of a
Web page

► True
► False

Java script has ----------------- ability to create and draw graphics.

► Limited
► Versatile
► Medium
► Not at all

Which of the following is incorrect for making design elements legible?

Select correct option:

Elements should be large enough

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Elements must contrast sufficiently

Related elements should be visually grouped

Elements should have no visual focus

Function is also known as ______________.

Select correct option:

subprogram

procedure

subroutine

All of given

In _____________ TCP\IP protocols became the only set of protocols used


on the ARPANET.

Select correct option:

1973

1983

1972

None of the given choices

E-mail system has ______ component(s)

Select correct option:

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
E-mail client

SMTP server

POP3 server

All of the given choices

_______ / / /______/ A Parallelogram (Tilted rectangle) represents the


________________ flow chart element.

Select correct option:

Process

Input or Output

Decision

Connector

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

Select correct option:

win a million dollar prize

think like human begins

think but slower than humans

do the things faster

Punched cards were replaced by:

Select correct option:

Floppy Disk

Zip Drives

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Magnetic storage

None of the given choices

The ________virus may display an annoying, but harmless message

Select correct option:

Malicious

Neutral

Helpful

DoS

The name of very first computer was:

Select correct option:

ABC

BCD

EDC

None of the given choices

The internet communities are ___________.

Select correct option:

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Geographical based

Interest based

Country based

Religion based

which one is correct?

► onUnload

► onUnLoad

► onUNLOAD

► All of the above

Serial arrangement in which things follow logical order or a recurrent


pattern, such as statements executing one by one, is called __________.

► Loop
► Sequence
► Condition
► Array

Variables allow us to manipulate data through the ___________.

► Actual Value
► Reference
► Length
► Name

Fuzzy logic is based on ____________.

► Ground facts
► Experience
► Practice
► Approximation

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

Word Processor is a _________________

► System Software
► Application Software
► Device
► Utility

In the old days, databases did NOT support ____________.

► Number
► Boolean
► Video
► Text

In tabular storage, fields placed in a particular row are strongly


___________.

► Independent
► Dependent
► Interrelated
► Inconsistent

Due to working at home, lack of interaction may result in ___________


professional growth.

► Slower
► Faster
► Higher
► Improved

Distance learning has got a boost due to the ___________.


► Easy communication
► Online interactive contents
► Flexibility
► All of the given options

_____________ technique can be used to create smooth animations or to


display one of several images based on the requirement.

► Image downloading
► Image preloading

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Image uploading
► Image postloading

The ____________ is becoming the preferred organizational structure for


more and more organizations with the passage of time.

► Tree structured organizational model


► Network paradigm
► Hierarchical structure
► None of the given options

The group of technologies concerned with the capturing, processing and


transmission of information in the digital electronic form is called

_____________.

► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

A large number of networks interconnected physically is called ______

► LAN
► MAN
► Internet
► Network collection

TCP stands for ________.

► Transfer Center protocol


► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

A collection of data organized in such a way that the computer can quickly
search for a desired data item is known as :
► Retrieving
► Database
► Information
► DBMS

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
______ is simply a fast port that lets you connect computer peripherals and consumer
electronics to your computer without restart.

► Freeware
► Shareware
► Firewire
► Firmware

Structures, in which another list starts before the first list is finished, are
called:

► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists

The key property of the ‘Array’ object in JavaScript is

► Value
► Length
► Name
► All of the given choices

Which one is the example of spreadsheet software ?

► MS Word
► MS PowerPoint
► MS Excel
► MS Access

_____ is the process of analyzing large databases to identify patterns.

► Data normalization
► Data management
► Data Mining
► None of the given options

Which is the user-friendly way of presenting data ?

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Query
► Form
► Report
► All of the given options

JavaScript function fixed() has equivalent HTML tag-set ____

► <.FIX>……………</FIX>
► <F>………………..</F>
► <PRE>………….</PRE>
► <H>………………..</H>

<form> Tags always placed between the <BODY> and </BODY> tags of a
Web page

► True
► False

Java script has ----------------- ability to create and draw graphics.

► Limited
► Versatile
► Medium
► Not at all

Internet is an example of ______________ network.

Private

Public

Both Private and Public

None of the given choices

The name of first commercially available PC was:

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
UNIVAC 1

ENIAC

EDVAC

Altair 8800

Algorithm is a ____________________

Definition of a problem

Sequence of steps to solve a problem

Understanding of a problem

Solving a problem

A group of information is called __________________

File

Database

Record

Field

___________________ is a branch of computer science concerned with


manipulating and enhancing computer graphics.

Image Handling

Image Processing

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Image Engineering

None of these

__________has changed our way of life like no other technology.

Computational technology

Computer technology

Computing technology

None of the Above

Sophisticated event handling is not possible with _______________ event


handling

Off-Line

In-Line

Out-Line

Non of the given choices

Babbage’s Analytical Engine could store information permanently in:

Magnetic Tape

Floppy Disk

Punched Cards

None of the given choices

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

There are __________ popular schemes to reduce the number of bytes that
are required for storing graphics.

None of these

The internet-society is considered under Surveillance because:

While surfing, we are being watched, constantly

Our every click is recorded and analyzed to extract patterns and behaviors

Webcams are becoming common. Providing a cheap way for parents to watch
their children's every move

All of the given

URL is a/an ________

► Device

► Component

► Address

► Tool

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
To improve the time for scanning a web page, text should be ___________.

► Centered

► Left Aligned

► Right Aligned

► Staggered

Communications on the internet is controlled by a set of two protocols


which are ____________.

► IMAP and SMTP

► FTP and HTTP

► TCP and IP

► TCP and HTTP

FTP stands for __________.

► File transmission protocol

► File transmission path

► File transfer protocol

► Fine transfer path

A named collection of properties (data, state) and methods (instruction,


behavior) is called ____________.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Array

► Function

► Variable

► Object

Anchor tag denoted by <A> is used to create

► Address

► Hyperlink

► Paragraph

► Title

<UL> tag is used to

► underline text

► end the line

► create ordered list

► create unordered list

A user may access any item on the web through __________.

► URL

► Telnet

► POP

► SMTP

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
The browser breaks down the URL into ________ parts.

►2

►3

►4

►5

Which one of the following is NOT a primary color?

► Red

► Green

► Yellow

► Blue

According to a popular heuristic, success is defined by ___________.

► The user

► The builder

► Both user and builder

► None of the given options

The idea of Neural Networks field is based upon ______________.

► Human nature

► Human brain

► Human culture

► Human actions

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

ERP is a type of __________________ .

► Entertainment software

► Productivity software

► Business software

► Scientific software

__________ are those programs in which the flow of the program is


determined by the user's actions (mouse clicks, key presses) or messages
from other programs.

► Event called programs

► Event processed programs

► Event driven programs

► Event declared programs

Automatic machines performing various tasks that were previously done


by humans, are called ____________.

► Robotics

► Computers

► Decision Making Systems

► Autonomous Web Agents

country=”Hello Pakistan”;

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
document.write(country.charAt(6));

The out put of the above statement is _____________.

►o

►P

►a

►k

The distance among families is ___________ because of spending more


time on internet.

► Increased

► Expanded

► Contracted

► Decreased

The software used for the scanning of internet severs, is called


__________.

► Wscan

► Mscan

► Sscan

► Vscan

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Adding images to html page, we use___________ tag.

► <IMG>

► <IMAGE>

► <PICTURE>

► <PIC>

The group of technologies concerned with the capturing, processing and


transmission of information in the digital electronic form is called
_____________.

► Telecom Engineering

► Computer Engineering

► Computer Science

► Information Technology

The responsibilities of the Team Lead includes_____________.

► Planning and tracking of the project

► Detailed design

► Professional development of team members

► All of the given options

When the packets reach at destination, __________ reassembles them into


original message.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Protocol

► TCP

► IP

► NIC

Many developers write the _________ first and then incrementally convert
each line into _________.

► Real code & Pseudo code

► Pseudo code & Real code

► Real code & Artificial code

► None of the given options

Machine language is also called

► Assembly Language

► Binary Language

► High Level Language

► HTML Language

In JavaScript, second element of an array has the index:

►2

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
►0

►1

►3

Each element in an array is given an index, which is an integer value between


0 and one less than the length of the array. The first element has an index of 0,
the second element has an index of 1, and so on.

One can download or upload files to a remote computer using ________


protocol.

► HTTP

► SMTP

► FTP

► TELNET

JavaScript ________ support drawing of graphics

► Does

► Does not

► Always

► At times

Which of the following is NOT true about modern computers?

► More powerful

► Smaller in size

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Consume less energy

► Costly

Ada written a computer programme for ?

► Analytical Engine

► Difference Engine

► Harvard Mark 1

► Mechanical engine

A set of stand alone productivity applications designed to work together


known as ______________ .

► Productivity software suites

► Compiled software

► Secure software

► Intelligent software

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Because of spending more time on the internet, the distances among the
families have been _____.

Increased

Expanded

Contracted

Shortened

Sophisticated event handling is not possible with _______________ event


handling

Off-Line

In-Line

Out-Line

Non of the given choices

Autonomous Web Agents are also known as _________________

Mobile Agents

Softbots

Both "Mobile Agents" & "Softbots"

None of these

A communication protocol is a __________that governs the flow of


information over a network.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Set of Methods

Set of Protocols

Set of rules

None of the given choices

By default in a web page Hyper Link for another web page is represented
as:

Blue only

Black and Underlined

Blue and Bold

Blue and Underlined

The organizations are learning that business can be done in a more


effective manner if emphasis is placed upon ______________.

Cooperation

Shared responsibility

Networking

All of the given

Monitor is an example of __________devices

Output

Input

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Processing

None of the given choices

The code in the ________ portion is the right choice for developing larger
JavaScript scripts

Body

At End

Head

Separate

____________________ based on the principles of the logical reasoning


ability of humans.

Genetic Algorithms

Rule-based Systems

Feed-Forward Network

None of these

The key benefit of VPNs over conventional PNs is:

Security

Efficiency

Lower Cost

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
None of the given choices

An algorithm that always takes the best immediate or local solution while
finding an answer is called____.

► Deterministic Algorithm
► Non deterministic Algorithm
► Greedy Algorithm
► Randomized Algorithm

Which of the following command allows you to recover form mistakes in MS


Word?

► Clear

► Edit
► Undo
► Break

A ____________ operating system allows many users to take


advantage of the computer's resources, simultaneously

► Single user
► Multi- user
► Single tasking
► Multi tasking

Network Interface Card is an __________ device


► Input
► Output
► Input/Output
► Storage

The decimal equivalent of binary 1000 is


► 7
► 8
► 9
► 10

Which of the following is NOT RDBMS software?

► My Sql
► MS Excel

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Oracle
► SQL Server

A computer virus is a
► Software that saves the computer from being damaged.
► Application software that helps to make different type of viruses and
worms
► Program that spreads itself and destroys other program
► Program that corrects the problems in your computer

What will be the result of a?


a = Math.abs(-23)

► 23
► -23
► 23.0
► 2.3

A Special program required to view swf (Shockwave Flash) files in web


Browser is called

► TFlash
► Vflash
► plug-in
► None of the given options

Using Java Script you can write a character at random location on screen

► By applying randomCh() method

► With the help of String object

► With the help of random character property

► There is no built in approach in Java Script

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
If incorrectly we enter the negative age it is check by

► Limit Integrity

► Type Integrity

► Referential Integrity

► Physical Integrity

Which protocol is use to transfer a file over the network?

► UDP

► FTP

► TCP

► OSI

One can send an email message to a remote computer using _______


protocol

► HTTP

► SMTP

► FTP

► TELNET

In a System having many parts to be designed, one should always do the


_____ first

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Hard part

► Simple part

► Development part

► Quality part

Flow control constructs in JavaScript includes:

► If-Else

► Loops and If -Else

► Switch and If-Else

► All of the given choices

___ provides a simple, consistent way for applications to interact with the
HW without having to know all the details of the HW

► Explorer.exe

► System Files

► Operating System

► Application Software

Machine language is also called

► Assembly Language

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Binary Language

► High Level Language

► HTML Language

_________ is the best known builder for supercomputers.

► Sun

► Cray Research

► Microsoft

► Apple

The weaknesses of the computer are:

► Pattern recognition & Storage

► Speed & Innovative ideas

► Pattern recognition & Innovative ideas

► Speed & Storage

Communication protocol is a __________that governs the flow of


information over a network

► Set of methods

► Set of protocols

► Set of rules

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Device

_____________ team is responsible for the maintenance, expansion ,


improvement of the infrastructure consisting of workstations, networking
equipment, software and network security.

► Support

► Configuration Management

► Quality Assurance

► Developer

_____________ team consists on the sharpest technical minds in the


company.

► Architecture

► Business Development

► Configuration Management

► Developer

_______________ is responsible for day to day operations.

► CEO

► COO

► CMSO

► Developer

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
One of the key responsibilities of the ___________ is client relationship
management.

► Project Manager

► Team Lead

► Developer

► Quality Assurance Engineer

What is the major problem with flash based website?

► Its two heavy

► Cannot be indexed

► Less attractive

► Inaccessible

Which of the following is NOT an event handler for image object?

► onAbort

► onError

► onLoad

► onUser

The organizations are learning that business can be done in a more


effective manner if emphasis is placed upon ___________.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Cooperation

► Shared responsibility

► Networking

► All of the given options

a = Math.abs(-23)

What will be the value of a ?

► 23

► -23

► 23.0

► 2.3

ERP is a type of __________________ .

► Entertainment software

► Productivity software

► Business software

► Scientific software

In Genetic Algorithm the most important thing you should know, is the
___________.

► Procedure

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Recognition of a good solution

► Different techniques

► None of the given options

According to a popular heuristic, success is defined by ___________.

► The user

► The builder

► Both user and builder

► None of the given options

Rule of thumb learned through trial and error is called ___________.

► Design

► Heuristic

► Plan

► Aim

JavaScript Variables are ____________.

► Dynamically Typed

► Statically Typed

► Strong Typed

► None of the given options

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

Which of the following application are collections of cells?

► Word

► Excel

► PowerPoint

► Outlook Express

The browser breaks down the URL into ________ parts.

►2

►3

►4

►5

A named collection of properties (data, state) and methods (instruction,


behavior) is called ____________.

► Array

► Function

► Variable

► Object

First computer network was ___________.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► NSFNET

► FIRSTNET

► ARPANET

► ORPHANET

In JavaScript, a variable declaration is

► Optional
► Mandatory
► Not allowed
► None of the given

A protocol used for receiving email messages is called ____________.

► URL
► Telnet
► POP3
► SMTP

which one is correct?

► onUnload

► onUnLoad

► onUNLOAD

► All of the above

Serial arrangement in which things follow logical order or a recurrent


pattern, such as statements executing one by one, is called __________.

► Loop
► Sequence
► Condition
► Array

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

Variables allow us to manipulate data through the ___________.

► Actual Value
► Reference
► Length
► Name

Fuzzy logic is based on ____________.

► Ground facts
► Experience
► Practice
► Approximation

Word Processor is a _________________

► System Software
► Application Software
► Device
► Utility

In the old days, databases did NOT support ____________.

http://groups.google.com/group/vuZs
► Number
► Boolean
► Video
► Text

In tabular storage, fields placed in a particular row are strongly


___________.

► Independent
► Dependent
► Interrelated
► Inconsistent

Due to working at home, lack of interaction may result in ___________


professional growth.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Slower
► Faster
► Higher
► Improved

Distance learning has got a boost due to the ___________.


► Easy communication
► Online interactive contents
► Flexibility
► All of the given options

_____________ technique can be used to create smooth animations or to


display one of several images based on the requirement.

► Image downloading
► Image preloading
► Image uploading
► Image postloading

The ____________ is becoming the preferred organizational structure for


more and more organizations with the passage of time.

► Tree structured organizational model


► Network paradigm
► Hierarchical structure
► None of the given options

The group of technologies concerned with the capturing, processing and


transmission of information in the digital electronic form is called

_____________.

► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

A large number of networks interconnected physically is called ______

► LAN
► MAN

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Internet
► Network collection

TCP stands for ________.

► Transfer Center protocol


► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

A collection of data organized in such a way that the computer can quickly
search for a desired data item is known as :
► Retrieving
► Database
► Information
► DBMS

______ is simply a fast port that lets you connect computer peripherals and
consumer electronics to your computer without restart.

► Freeware
► Shareware
► Firewire
► Firmware

Structures, in which another list starts before the first list is finished, are
called:

► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists

http://groups.google.com/group/vuZs

The key property of the ‘Array’ object in JavaScript is

► Value
► Length
► Name
► All of the given choices

Which one is the example of spreadsheet software ?

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► MS Word
► MS PowerPoint
► MS Excel
► MS Access

The Encryption of data is related to

► Data updates
► Data security
► Data integrity
► Data accessibility

_____ is the process of analyzing large databases to identify patterns.

► Data normalization
► Data management
► Data Mining
► None of the given options

Which is the user-friendly way of presenting data ?

► Query
► Form
► Report
► All of the given options

<form> Tags always placed between the <BODY> and </BODY> tags of a
Web page

► True
► False

Java script has ----------------- ability to create and draw graphics.

► Limited
► Versatile
► Medium
► Not at all

Which of the following is incorrect for making design elements legible?

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Select correct option:

Elements should be large enough

Elements must contrast sufficiently

Related elements should be visually grouped

Elements should have no visual focus

Function is also known as ______________.

Select correct option:

subprogram

procedure

subroutine

All of given

In _____________ TCP\IP protocols became the only set of protocols used


on the ARPANET.

Select correct option:

1973

1983

1972

None of the given choices

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
E-mail system has ______ component(s)

Select correct option:

E-mail client

SMTP server

POP3 server

All of the given choices

_______ / / /______/ A Parallelogram (Tilted rectangle) represents the


________________ flow chart element.

Select correct option:

Process

Input or Output

Decision

Connector

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

Select correct option:

win a million dollar prize

think like human begins

think but slower than humans

do the things faster

Punched cards were replaced by:

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Select correct option:

Floppy Disk

Zip Drives

Magnetic storage

None of the given choices

vuzs

The ________virus may display an annoying, but harmless message

Select correct option:

Malicious

Neutral

Helpful

DoS

The name of very first computer was:

Select correct option:

ABC

BCD

EDC

None of the given choices

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

The internet communities are ___________.

Select correct option:

Geographical based

Interest based

Country based

Religion based

which one is correct?

► onUnload

► onUnLoad

► onUNLOAD

► All of the above

Serial arrangement in which things follow logical order or a recurrent


pattern, such as statements executing one by one, is called __________.

► Loop
► Sequence
► Condition
► Array

Variables allow us to manipulate data through the ___________.

► Actual Value
► Reference
► Length
► Name

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

Fuzzy logic is based on ____________.

► Ground facts
► Experience
► Practice
► Approximation

Word Processor is a _________________

► System Software
► Application Software
► Device
► Utility

In the old days, databases did NOT support ____________.

► Number
► Boolean
► Video
► Text

In tabular storage, fields placed in a particular row are strongly


___________.

► Independent
► Dependent
► Interrelated
► Inconsistent

Due to working at home, lack of interaction may result in ___________


professional growth.

► Slower
► Faster
► Higher
► Improved

Distance learning has got a boost due to the ___________.


► Easy communication
► Online interactive contents
► Flexibility

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► All of the given options

_____________ technique can be used to create smooth animations or to


display one of several images based on the requirement.

► Image downloading
► Image preloading
► Image uploading
► Image postloading

The ____________ is becoming the preferred organizational structure for


more and more organizations with the passage of time.

► Tree structured organizational model


► Network paradigm
► Hierarchical structure
► None of the given options

The group of technologies concerned with the capturing, processing and


transmission of information in the digital electronic form is called

_____________.

► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

A large number of networks interconnected physically is called ______

► LAN
► MAN
► Internet
► Network collection

TCP stands for ________.

► Transfer Center protocol


► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
A collection of data organized in such a way that the computer can quickly
search for a desired data item is known as :
► Retrieving
► Database
► Information
► DBMS

______ is simply a fast port that lets you connect computer peripherals and consumer
electronics to your computer without restart.

► Freeware
► Shareware
► Firewire
► Firmware

Structures, in which another list starts before the first list is finished, are
called:

► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists

The key property of the ‘Array’ object in JavaScript is

► Value
► Length
► Name
► All of the given choices

Which one is the example of spreadsheet software ?

► MS Word
► MS PowerPoint
► MS Excel
► MS Access

_____ is the process of analyzing large databases to identify patterns.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Data normalization
► Data management
► Data Mining
► None of the given options

Which is the user-friendly way of presenting data ?

► Query
► Form
► Report
► All of the given options

JavaScript function fixed() has equivalent HTML tag-set ____

► <.FIX>……………</FIX>
► <F>………………..</F>
► <PRE>………….</PRE>
► <H>………………..</H>

<form> Tags always placed between the <BODY> and </BODY> tags of a
Web page

► True
► False

Java script has ----------------- ability to create and draw graphics.

► Limited
► Versatile
► Medium
► Not at all

Internet is an example of ______________ network.

Private

Public

Both Private and Public

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
None of the given choices

The name of first commercially available PC was:

UNIVAC 1

ENIAC

EDVAC

Altair 8800

Algorithm is a ____________________

Definition of a problem

Sequence of steps to solve a problem

Understanding of a problem

Solving a problem

A group of information is called __________________

File

Database

Record

Field

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
___________________ is a branch of computer science concerned with
manipulating and enhancing computer graphics.

Image Handling

Image Processing

Image Engineering

None of these

__________has changed our way of life like no other technology.

Computational technology

Computer technology

Computing technology

None of the Above

Sophisticated event handling is not possible with _______________ event


handling

Off-Line

In-Line

Out-Line

Non of the given choices

Babbage’s Analytical Engine could store information permanently in:

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

Magnetic Tape

Floppy Disk

Punched Cards

None of the given choices

There are __________ popular schemes to reduce the number of bytes that
are required for storing graphics.

None of these

The internet-society is considered under Surveillance because:

While surfing, we are being watched, constantly

Our every click is recorded and analyzed to extract patterns and behaviors

Webcams are becoming common. Providing a cheap way for parents to watch
their children's every move

All of the given

URL is a/an ________

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Device

► Component

► Address

► Tool

To improve the time for scanning a web page, text should be ___________.

► Centered

► Left Aligned

► Right Aligned

► Staggered

Communications on the internet is controlled by a set of two protocols


which are ____________.

► IMAP and SMTP

► FTP and HTTP

► TCP and IP

► TCP and HTTP

FTP stands for __________.

► File transmission protocol

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► File transmission path

► File transfer protocol

► Fine transfer path

A named collection of properties (data, state) and methods (instruction,


behavior) is called ____________.

► Array

► Function

► Variable

► Object

Anchor tag denoted by <A> is used to create

► Address

► Hyperlink

► Paragraph

► Title

<UL> tag is used to

► underline text

► end the line

► create ordered list

► create unordered list

A user may access any item on the web through __________.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► URL

► Telnet

► POP

► SMTP

The browser breaks down the URL into ________ parts.

►2

►3

►4

►5

Which one of the following is NOT a primary color?

► Red

► Green

► Yellow

► Blue

According to a popular heuristic, success is defined by ___________.

► The user

► The builder

► Both user and builder

► None of the given options

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
The idea of Neural Networks field is based upon ______________.

► Human nature

► Human brain

► Human culture

► Human actions

ERP is a type of __________________ .

► Entertainment software

► Productivity software

► Business software

► Scientific software

__________ are those programs in which the flow of the program is


determined by the user's actions (mouse clicks, key presses) or messages
from other programs.

► Event called programs

► Event processed programs

► Event driven programs

► Event declared programs

Automatic machines performing various tasks that were previously done


by humans, are called ____________.

► Robotics

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Computers

► Decision Making Systems

► Autonomous Web Agents

country=”Hello Pakistan”;

document.write(country.charAt(6));

The out put of the above statement is _____________.

►o

►P

►a

►k

The distance among families is ___________ because of spending more


time on internet.

► Increased

► Expanded

► Contracted

► Decreased

The software used for the scanning of internet severs, is called


__________.

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Wscan

► Mscan

► Sscan

► Vscan

Adding images to html page, we use___________ tag.

► <IMG>

► <IMAGE>

► <PICTURE>

► <PIC>

The group of technologies concerned with the capturing, processing and


transmission of information in the digital electronic form is called
_____________.

► Telecom Engineering

► Computer Engineering

► Computer Science

► Information Technology

The responsibilities of the Team Lead includes_____________.

► Planning and tracking of the project

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Detailed design

► Professional development of team members

► All of the given options

When the packets reach at destination, __________ reassembles them into


original message.

► Protocol

► TCP

► IP

► NIC

Many developers write the _________ first and then incrementally convert
each line into _________.

► Real code & Pseudo code

► Pseudo code & Real code

► Real code & Artificial code

► None of the given options

Machine language is also called

► Assembly Language

► Binary Language

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► High Level Language

► HTML Language

In JavaScript, second element of an array has the index:

►2

►0

►1

►3

Each element in an array is given an index, which is an integer value between


0 and one less than the length of the array. The first element has an index of 0,
the second element has an index of 1, and so on.

One can download or upload files to a remote computer using ________


protocol.

► HTTP

► SMTP

► FTP

► TELNET

JavaScript ________ support drawing of graphics

► Does

► Does not

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
► Always

► At times

Which of the following is NOT true about modern computers?

► More powerful

► Smaller in size

► Consume less energy

► Costly

Ada written a computer programme for ?

► Analytical Engine

► Difference Engine

► Harvard Mark 1

► Mechanical engine

A set of stand alone productivity applications designed to work together


known as ______________ .

► Productivity software suites

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

► Compiled software

► Secure software

► Intelligent software

Because of spending more time on the internet, the distances among the
families have been _____.

Increased

Expanded

Contracted

Shortened

Sophisticated event handling is not possible with _______________ event


handling

Off-Line

In-Line

Out-Line

Non of the given choices

Autonomous Web Agents are also known as _________________

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Mobile Agents

Softbots

Both "Mobile Agents" & "Softbots"

None of these

A communication protocol is a __________that governs the flow of


information over a network.

Set of Methods

Set of Protocols

Set of rules

None of the given choices

By default in a web page Hyper Link for another web page is represented
as:

Blue only

Black and Underlined

Blue and Bold

Blue and Underlined

The organizations are learning that business can be done in a more


effective manner if emphasis is placed upon ______________.

Cooperation

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Shared responsibility

Networking

All of the given

Monitor is an example of __________devices

Output

Input

Processing

None of the given choices

The code in the ________ portion is the right choice for developing larger
JavaScript scripts

Body

At End

Head

Separate

____________________ based on the principles of the logical reasoning


ability of humans.

Genetic Algorithms

Rule-based Systems

Feed-Forward Network

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
None of these

The key benefit of VPNs over conventional PNs is:

Security

Efficiency

Lower Cost

None of the given choices

A____________________ is the process of analyzing large databases to


identify patterns

Data Mining
Data Normalization
Data Redundancy
Data Manipulation
onFocus executes the specified JavaScript code when ___________
a window receives focus
a form element receives input focus
a window receives focus or when a form element receives input focus
None of the Given.
CERN releases WWW in:
1992
1993
1994
None of the given choices
Communications on the internet is controlled by a set of two protocols,
named :
HTTP & SMTP

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
FTP & TELNET
TCP & IP
None of the given choices
One of the disadvantages of working at home is________________
Family life may be happier because of living at home.
Family life may suffer as well, as some never turn off, and keep on
working through out the day, evening and night
Family life may become happier because he can give more time to his
family.
There is no disadvantage of working at home.
The greatest, shared resource of information created by humankind is:
Web
Dictionary
Vocabulary
Glossary

http://groups.google.com/group/vuZs
There are _____________ types communication channels.
2
3
4
5
The Cyberwarefare is a ______
Crime
War
Software
Game
In the statement “PopUp(“Message”)” :
“PopUp” is the function Name, “Message” is the argument
“Message” is function identifier
Syntax Error: functions cannot be called in this way

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Error: function is undefined
RGB scheme stands for _________________________________.
Red Grey Blue
Red Green Brown
Red Green Blue
Red Green Black
_____________ is the part of the virus that generally consists of malicious
computer instructions
Off load
Payload
Loader
Transmitter
Unlike viruses, __________________ are stand-alone programs
Trojan horses
Logic- or time-bombs
Worms
None of the given
Voice over IP has _____ modes

2
3
4
5
We use __________ to stop Break-Ins.
Scanners
Intrusion detectors
Firewalls
Intrusion detectors and Firewalls
Which one can lead user to leave your website?
Simple design

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Poor navigation
Information layout
Adaptable design
_____________________ are the subcategories of AI
Expert Systems
Robotics
Natural Language Processing
All of the above
With the Help of FTP we can:

List, change, create folders on a remote computer


Upload and download files
Transferring Web content from the developer’s PC to the Web server
All of the given choices
Which protocol is used for receiving E-mail messages?
FTP
POP
Telnet Protocol
SMTP
The organizations are learning that business can be done in a more
effective manner if emphasis is placed upon ______________.
Cooperation
Shared responsibility
Networking
All of the given
___ is used to transfer files between computers on a TCP/IP network
FTP
POP
Telnet Protocol
SMTP

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Which of the following is True about “pareseFloat(String)” function: I) If the
first character cannot be converted to a number, parseFloat returns NaN. II)
it returns the fractional portion of floating point number. III) Parses the
string argument; returns a FP number. IV) Non of given options.
I and II Only
II and III Only
I and III Only
IV Only
Event-driven programs can ____________________ events.
capture
respond
capture and respond
None of the Given.
Which of the statements is NOT true about “Color Usage Guidelines” for
developing a presentation?
Use color sparingly to to highlight a point, but don't get carried away
Do not use colors like yellow or red for background except where needed.
Do not use colors like green, blue and such like colors except where
needed.
None of given options
_________________ Type of databases management systems are
supporting Terabytes of Data
Personal
Desktop
Enterprise
Single-user
Because of the ever-decreasing costs of verbal, text, video
communications; the distances have _________
Increased
Expanded
Contracted

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Lengthened
The structure of the networked organization is _________.
Simple
Flexible
Complex
All of the given
A CAD drawing consist of many geometric shapes like straight lines , arc ,
tc and therefore is stored in a ___________ format.
Scalar
Vector
Both a & b

____ is a type of computer-to-computer messaging.


TCP
Telnet
E-mail
FTP

None of these
RDBMS stands for ________________________________
Relative Data Base Management System
Relational Data Base Management System
Recursive Data Base Management System
Responsible Data Base Management System
Using Color Mapping scheme only a limited number of color called
_____________ are allowed.
Reserved
Pointers
Platelet
None of these

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Using _________ topology, adding new nodes is difficult.
Ring
Bus
Star
None of the given choices
Problems with old presentation methods was (transparencies and
projectors etc):
They were costly
Electronic transmission, in some cases, was not easy
Presentation some times gets ambiguous
All of given options
ARPANET splits into two nets to keep military & non-military network sites
separate, named :

ARPANET & MILNET


MICRONET & MILNET
PICONET & ARPANET
None of the given choices
Arguments values are passed to the function _________
by value
by reference
Both a & b
Non of the Given.
__________________ is a field that uniquely identifies each record stored in
a table.
Primary Key
Foreign Key
Secondary key
Special Key

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
The IP address consists of _____ bits
64
32

16

128
Credit Card Fraud can be minimized by using _________________
single credit card numbers
multiple-use credit card numbers
single-use credit card numbers
Firewalls
hotWeather = (Temperature == 40); in the above statement, the variable
hotWeather is of type
Number
String
Boolean
None of the given
NCSA stands for :
National Center for Supercomputing Applications
National Center for Supreme Applications
National Center for Super Authority
None of the given choices
Self-replicating SW that eludes detection and is designed to attach itself to
other files is called _____________.
Trojans
Viruses
Sniffers
Operating System
SVG stands for _________________________________________.
Structured Vector Graphics

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Software Vector Graphics
Structured Visual Graphics
None of these
Viruses move from one computer to another with the __________ and
spring into action when the _____________ is executed or opened
Host – Host
Host – Client
Client – Host
Client – Client

http://groups.google.com/group/vuZs
____________________ is a layered structure consisting of a number of
homogenous and simple processing elements.
Genetic Algorithms
Rule-based Systems
Feed-Forward Network
None of these
A property that gives the value of Pi is:
PI()
Graph.PI
Math.PI
Math.PI()
The smallest image forming element on a computer display is called
____________.
Resolution
Pixel
Grey area
None of these
SMTP stands for _______________________________________.
Simple Mail Transfer Protocol
Simple Mail Transparent Protocol
Simple Mail Transfer Paradigm

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
None of these
________________ network allows data to be sent directly from one
computer to another.
Ring
Bus
Star
None of the given choices
Viruses attach themselves to other computer programs or data files, are
known as____
Trojans
Guests

Hosts

Spies
Avoid __________ to ensure readability of web page
Overuse of bold and italics
Use of paragraphs
Use of white space
Use of contrast colors
STP stands for :
Shielded Twisted Pair
Silver Twisted Pair
Single Twisted Pair
None of the given choices
In ______, the spies of one business monitors the network traffic of their
competitors.
Industrial intelligence
Industrial Espionage
Industrial spying
Industrial surveillance

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com
Color mapping scheme reducing the size of 2.25 MB graphic to _________
MB.
0.90 MB
0.75 MB
1.00 MB
None of these
The functions which call themselves from their (own) body are called:
Virtual functions
Abstract functions
Overriding functions
Recursive functions
Browser sends ‘_________’ request to web server to access a file.
SET
GET
TRANSFER
All of the given choices
vuzs

The internet communities are ___________.


Geographical based
Interest based
Country based
Religion based
Infection propagation and Actual destructive are the components of
_______________
Transmission mechanism
Payload
Worms
Trojan Horse

http://vustudents.ning.com
CS101 Solved MCQS
http://vustudents.ning.com

http://vustudents.ning.com
www.virtualinspire.com

Which of the following is NOT true about modern computers?


► More powerful
► Smaller in size
► Consume less energy
► Costly
Currently the BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB
► 150 GB
JavaScript ________ support drawing of graphics
► Does
► Does not
► Always
► At times
Popular schemes used for reducing bytes for storage are:
► RGB and Color mapping
► RGB and Dithering
► RGB, Color mapping and Dithering
► Color mapping and Dithering
Which protocol is use to transfer a file over the network ?
► UDP
► FTP
► TCP
► OSI
Flow control constructs in JavaScript includes:
► If-Else
► Loops and If -Else
www.virtualinspire.com
www.virtualinspire.com
► Switch and If-Else
► All of the given choices
A truth table defines the _________of a logic function for all possible _________
► Input -- Outputs

► Output -- Inputs
► Process -- Inputs
► Input -- Processes

Question No: 8 ( Marks: 1 ) - Please choose one


_________ is
the best known builder for supercomputers.
► Sun
► Cray Research
► Microsoft
► Apple

Question No: 9 ( Marks: 1 ) - Please choose one


Web is a
unique invention by humans in terms that it is:
► accessible to only the owners who control it
► accessible from particular locations only
► accessible to all humans
► accessible to only the educational institutes

Question No: 10 ( Marks: 1 ) - Please choose one


______ is a
client program that uses HTTP to make requests to Web servers throughout the internet on
behalf of the user.
► Web Application
► Web Browser
► Internet Application
► HTML

www.virtualinspire.com
www.virtualinspire.com
Question No: 11 ( Marks: 1 ) - Please choose one
When the
packets reach at destination, __________ reassembles them into original message.
► Protocol
► TCP
► IP
► NIC

Question No: 12 ( Marks: 1 ) - Please choose one


Smart editors
can automatically color different parts of statements in different colors e.g. comments in
____________ color.
► Green
► Grey
► Blue
► Red

Question No: 13 ( Marks: 1 ) - Please choose one


___________
has great PR skills.
► Architect

► Team Lead
► Project Manager
► Chief Executive Officer

Question No: 14 ( Marks: 1 ) - Please choose one


The key
responsibilities of a project manager is _____________.
► Planning and tracking of the project
► Arranging of the appropriate resources
► Client relationship management
► All of the given options

www.virtualinspire.com
www.virtualinspire.com
Question No: 15 ( Marks: 1 ) - Please choose one
Which attribute
of the IMG tag tells us about the source of the image ____________.
► source
► path
► loc
► src

Question No: 16 ( Marks: 1 ) - Please choose one


In relational
database, data store in the form of _____________.
► Tables
► Rows
► Columns
► None of the given options

Question No: 17 ( Marks: 1 ) - Please choose one


When’+’
operator is used with string operands, it _____________ both strings.
► Adds
► Subtracts
► Concatenates
► Compares

Question No: 18 ( Marks: 1 ) - Please choose one


Which of the
following operation is take place in ALU?

► Logical Operations
► Comparative Operations
► Floating Point Operations
► All of the given options

Question No: 19 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
Integrity can be
compromised by _____________.
► Private or virtual-private networks
► Encryption
► Intrusion detectors

► None of the given options

Question No: 20 ( Marks: 1 ) - Please choose one


a=
Math.ceil(12.01)

What will be the value of a ?

► 12
► 13
► 12.0
► 13.01

Question No: 21 ( Marks: 1 ) - Please choose one


__________
are those programs in which the flow of the program is determined by the user's actions
(mouse clicks, key presses) or messages from other programs.
► Event called programs
► Event processed programs
► Event driven programs
► Event declared programs

Question No: 22 ( Marks: 1 ) - Please choose one


Fuzzy logic is
based on ____________.
► Ground facts
► Experience

www.virtualinspire.com
www.virtualinspire.com
► Practice
► Approximation

Question No: 23 ( Marks: 1 ) - Please choose one


According to a
popular heuristic, success is defined by ___________.
► The user
► The builder
► Both user and builder
► None of the given options

Question No: 24 ( Marks: 1 ) - Please choose one


You can view
a 3-D image on a _____________.
► 3-D display
► 2-D display
► On both 2-D and 3-D displays
► We can not view a 3-D image

Question No: 25 ( Marks: 1 ) - Please choose one


In a good
presentation each slide should contain____________.
► Heading
► Phrases not sentences
► Sentences not phrases
► Heading, sentences not phrases

Question No: 26 ( Marks: 1 ) - Please choose one


The best
number of lines in a slide is ____________.

www.virtualinspire.com
www.virtualinspire.com
► 9
► 11
► 13
► 5

Question No: 27 ( Marks: 1 ) - Please choose one


A variable can
be _________ in scope.
► Local
► Global
► Either local or global
► None of the given options

Question No: 28 ( Marks: 1 ) - Please choose one


Java script
interact with user through______________

► Special control
► Internet explorer
► Event handlers
► Java script does not interact with user

Question No: 29 ( Marks: 1 ) - Please choose one

CONCATENATE operator is used to____________ elements.

► Subtract
► Multiply
► Join is the right answer.
► Add

Question No: 30 ( Marks: 1 ) - Please choose one

www.virtualinspire.com
www.virtualinspire.com
FTP stands for
__________.
► File transmission protocol
► File transmission path
► File transfer protocol
► Fine transfer path

Question No: 1 ( Marks: 1 ) - Please choose one


Which of the
following hardware component of a computer can also be called as engine?
► Bus
► Storage
► Memory
► Processor

Question No: 2 ( Marks: 1 ) - Please choose one


TCP stands for
___________.
► Total communication protocol
► Transmission control protocol
► Transfer control protocol
► Transfer collection protocol

Question No: 3 ( Marks: 1 ) - Please choose one


__________
breaks down the message to be sent over the internet into packets.

► FTP
► HTTP
► TCP

www.virtualinspire.com
www.virtualinspire.com
► IP

Question No: 4 ( Marks: 1 ) - Please choose one


A variable can
be _________ in scope.
► Local
► Global
► Either local or global
► None of the given options

Question No: 5 ( Marks: 1 ) - Please choose one


A protocol
used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP

Question No: 6 ( Marks: 1 ) - Please choose one


A function is
also called __________.
► Sub-program
► Procedure
► Sub-routine
► All of the given option

Question No: 7 ( Marks: 1 ) - Please choose one


Capturing
events and responding to them is called __________.
► Function Handling
www.virtualinspire.com
www.virtualinspire.com
► Event Handling
► Event Procedure
► All of the given option

Question No: 8 ( Marks: 1 ) - Please choose one


Which one of
the following is NOT a primary color?
► Red
► Green
► Yellow
► Blue

Question No: 9 ( Marks: 1 ) - Please choose one


__________
are those programs in which the flow of the program is determined by the user's actions
(mouse clicks, key presses) or messages from other programs.
► Event called programs
► Event processed programs
► Event driven programs
► Event declared programs

Question No: 10 ( Marks: 1 ) - Please choose one


a=
Math.ceil(12.01)

What will be the value of a ?

► 12
► 13
► 12.0
► 13.01

www.virtualinspire.com
www.virtualinspire.com
Question No: 11 ( Marks: 1 ) - Please choose one
Event handlers
are placed in the ___________ portion of a Web page as attributes in HTML tags.
► HEAD
► BODY
► SCRIPT
► TITLE

Question No: 12 ( Marks: 1 ) - Please choose one


_________ can
be used for entering, editing, or viewing data, one record at a time.
► Queries
► Forms
► Reports
► None of the given options

Question No: 13 ( Marks: 1 ) - Please choose one


random()
function returns a randomly-selected, floating-point number between ____________.
► 0 and 1
► 0 and 10
► 0 and -10
► 0 and -1

Question No: 14 ( Marks: 1 ) - Please choose one


The
organizations are learning that business can be done in a more effective manner if emphasis
is placed upon ___________.
► Cooperation
► Shared responsibility
► Networking
► All of the given options

Question No: 15 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
In relational
database, data store in the form of _____________.
► Tables
► Rows
► Columns
► None of the given options

Question No: 16 ( Marks: 1 ) - Please choose one


Spies of one
business monitoring the network traffic of their competitors’ ___________.
► Industrial Intelligence
► Industrial Espionage
► Industrial Spying
► Industrial Surveillance

Question No: 17 ( Marks: 1 ) - Please choose one


_____________
waits for some time and then launch a function.
► Timeout( )
► setTimeout( )
► setTime( )
► setTimeIn( )

Question No: 18 ( Marks: 1 ) - Please choose one

_______________ based communication allows business entities to coordinate the activities


of their globally spread units with greater accuracy.
► Intranet
► Internet
► Home
► LAN

Question No: 19 ( Marks: 1 ) - Please choose one

www.virtualinspire.com
www.virtualinspire.com
The key
responsibilities of a project manager is _____________.
► Planning and tracking of the project
► Arranging of the appropriate resources
► Client relationship management
► All of the given options

Question No: 20 ( Marks: 1 ) - Please choose one


_____________
team consists on the sharpest technical minds in the company.
► Architecture
► Business Development
► Configuration Management
► Developer

Question No: 21 ( Marks: 1 ) - Please choose one


Smart editors
can automatically color different parts of statements in different colors e.g. comments in
____________ color.
► Green
► Grey
► Blue
► Red

Question No: 22 ( Marks: 1 ) - Please choose one


A collection of
data organized in such a way that the computer can quickly search for a desired data item
is known as :
► Retrieving
► Database
► Information
► DBMS

Question No: 23 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
Deep Blue was
the name of
► computer
► human
► city
► game

Question No: 24 ( Marks: 1 ) - Please choose one


Information
available on the web is
► mostly free of cost
► costly
► very cheap
► of no use

Question No: 25 ( Marks: 1 ) - Please choose one


Which one is
correct?

► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>

Question No: 26 ( Marks: 1 ) - Please choose one


_________ is
the best known builder for supercomputers.
► Sun
► Cray Research
► Microsoft
► Apple

Question No: 27 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
Which one is
the example of spreadsheet software ?
► MS Word
► MS PowerPoint
► MS Excel
► MS Access

Question No: 28 ( Marks: 1 ) - Please choose one


Currently the
BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB
► 150 GB

Question No: 29 ( Marks: 1 ) - Please choose one


Blue Pacific is
a name of ______ computer.
► Mini
► Desktop
► Micro
► Super

Question No: 30 ( Marks: 1 ) - Please choose one

_________________ are powerful pieces of hardware, but not much useful on their own.
► Microcontrollers
► Microprocessors
► Integrated circuits
► Ports

www.virtualinspire.com
www.virtualinspire.com
Question No: 1 ( Marks: 1 ) - Please choose one
---------- was known as “mill” in Analytical engine.
► Memory
► Processor
► Monitor
► Mouse
Ref: An arithmetical unit (the "mill") would be able to perform all four
arithmetic operations, plus comparisons and optionally square roots. Initially
it was conceived as a difference engine curved back upon itself, in a
generally circular layout,[2] with the long store exiting off to one side.

Question No: 2 ( Marks: 1 ) - Please choose one


First electronic computer was
► ABC
► UNVAC 1
► Harvard Mark 1
► IBM PC

Question No: 3 ( Marks: 1 ) - Please choose one


What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity

Question No: 4 ( Marks: 1 ) - Please choose one


What happens if I start a new list without closing the original one?

► An error will be generated


► A nested list will be created
► Previous list will end and a new will start.
► Nothing will happen

www.virtualinspire.com
www.virtualinspire.com
Question No: 5 ( Marks: 1 ) - Please choose one
The most upper right pixel of the screen is of ___________ color.
► Any
► Red
► Green
► Blue

Question No: 6 ( Marks: 1 ) - Please choose one


A single pixel can acquire approximately ___________ color schemes.
► 1 million
► 2 million
► 10 million
► 16 million

Question No: 7 ( Marks: 1 ) - Please choose one


The idea of Neural Networks field is based upon ______________.
► Human nature
► Human brain
► Human culture
► Human actions

Question No: 8 ( Marks: 1 ) - Please choose one


Which one of the following is an application for artificial intelligence?
► Robotic
► Web Agent
► Decision Support System
► All of the given options

Question No: 9 ( Marks: 1 ) - Please choose one


Register is a kind of ______memory

► Fast
► Super fast
► Slow
www.virtualinspire.com
www.virtualinspire.com
► Very slow

Question No: 10 ( Marks: 1 ) - Please choose one


Which of the following is a true statement?
► Flat-file storage is better than tabular storage.
► Tabular storage is better than flat-file storage.
► Flat-file storage is better than relational storage.
► None of the given options

Question No: 11 ( Marks: 1 ) - Please choose one


substring(n, m) returns a string containing characters copied from position n
to___________.
► m – 2
► m – 1
► m + 1
► m

Question No: 12 ( Marks: 1 ) - Please choose one


The __________ is the old profession which is being eliminated because of
computing.
► Typist
► Bank manager
► Operational manager
► All of the given options

Question No: 13 ( Marks: 1 ) - Please choose one


The system that manages relational database, is called ______________.
► None of the given options
► Database Management System
► Data Management System
► Relational Database Management System

Question No: 14 ( Marks: 1 ) - Please choose one


When web server is busy it gives the following message to the user :
www.virtualinspire.com
www.virtualinspire.com
► Time out
► Waiting
► Server busy
► None of the given options

Question No: 15 ( Marks: 1 ) - Please choose one


The group of technologies concerned with the capturing, processing and
transmission of information in the digital electronic form is called
_____________.
► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

Question No: 16 ( Marks: 1 ) - Please choose one


_____________ team consists on the sharpest technical minds in the
company.

► Architecture
► Business Development
► Configuration Management
► Developer

Question No: 17 ( Marks: 1 ) - Please choose one


TCP stands for ________.

► Transfer Center protocol


► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

Question No: 18 ( Marks: 1 ) - Please choose one


A collection of data organized in such a way that the computer can quickly
search for a desired data item is known as :
www.virtualinspire.com
www.virtualinspire.com
► Retrieving
► Database
► Information
► DBMS

Question No: 19 ( Marks: 1 ) - Please choose one


Microsoft Word is a type of:
► System Software
► Freeware Software
► Shrink-Wrapped Software
► Custom-built Software

Question No: 20 ( Marks: 1 ) - Please choose one


Users __________, how things work.
► Analyze in detail
► Muddle through
► Figure out
► Read in detail

Question No: 21 ( Marks: 1 ) - Please choose one


Popular schemes used for reducing bytes for storage are:
► RGB and Color mapping
► RGB and Dithering
► RGB, Color mapping and Dithering
► Color mapping and Dithering

Question No: 22 ( Marks: 1 ) - Please choose one


Hardware malfunctions is related to
► Data updates
► Data integrity
► Data security
► Data accessibility

Question No: 23 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
If incorrectly we enter the negative age it is check by
► Limit Integrity
► Type Integrity
► Referential Integrity
► Physical Integrity

Question No: 24 ( Marks: 1 ) - Please choose one


Which is the user-friendly way of presenting data ?
► Query
► Form
► Report
► All of the given options

Question No: 25 ( Marks: 1 ) - Please choose one


Currently the BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB
► 150 GB

Question No: 26 ( Marks: 1 ) - Please choose one


In JavaScript, a || b is interpreted as

► a is true or b is false
► a is true and b is true
► a is false and b is true
► a is true or b is true or both are true

Question No: 27 ( Marks: 1 ) - Please choose one


Speakers fall into the hardware category.
► True
► False

Question No: 28 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
onBlur event is occurred for a form element when it ____________

► Gets focus
► Losts focus
► Some thing is typed in
► onBlur is not an event

Question No: 29 ( Marks: 1 ) - Please choose one


You can view a 3-D image on a _____________.
► 3-D display
► 2-D display
► On both 2-D and 3-D displays
► We can not view a 3-D image

Question No: 30 ( Marks: 1 ) - Please choose one


Module level design and unit testing is the responsibility of _____________.
► Team Lead
► Developer
► Project Manager
► Quality Assurance Expert

Question No: 1 ( Marks: 1 ) - Please choose one


Which function returns a randomly selected floating point number between 0
and 1 ?
www.virtualinspire.com
www.virtualinspire.com
► floor(x)
► ceil(x)
► random()(Correct)
► round(x)

Question No: 2 ( Marks: 1 ) - Please choose one


Functions are also called:
► Heuristics
► Variables
► Arrays
► Subprograms

Question No: 3 ( Marks: 1 ) - Please choose one


In JavaScript, each element of array can store data of type
► A Number
► An Array
► A String variable
► All of the given choices

Question No: 4 ( Marks: 1 ) - Please choose one


The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas (Correct)
► Speed & Storage

Question No: 5 ( Marks: 1 ) - Please choose one


Processed data is called ________.

► Information (Correct)
► Data
► Entity
► Attribute

www.virtualinspire.com
www.virtualinspire.com
Question No: 6 ( Marks: 1 ) - Please choose one
Many developers write the _________ first and then incrementally convert
each line into _________.
► Real code & Pseudo code
► Pseudo code & Real code
► Real code & Artificial code
► None of the given options (Correct)

Question No: 7 ( Marks: 1 ) - Please choose one


When we buy a software package, we do not really buy it, we just by a
license that allows us to use it, the ___________stays with the maker.

► Agreement
► Ownership (Correct)
► Membership
► Software

Question No: 8 ( Marks: 1 ) - Please choose one


Name, Border, Source are the ____________ of the image object.
► Event Handler
► Properties
► Methods
► None of the given options

Question No: 9 ( Marks: 1 ) - Please choose one


Using smart editors they can automatically color different parts of statements
in different colors e.g. HTML tags in ____________ color.

► Green
► Grey
► Blue (Correct)
► None of the given options

Question No: 10 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
____________ is in Executive team.
► Project Manager (Correct)
► CEO
► Team Lead
► Developer

Question No: 11 ( Marks: 1 ) - Please choose one


Module level design and unit testing the responsibility of _____________.
► Team Lead
► Developer (Correct)
► Project Manager
► Quality Assurance Expert

Question No: 12 ( Marks: 1 ) - Please choose one


_____________ team is responsible for a project after the specification’s
stage till the very end.
► Executive
► Architect
► Development (Correct)
► HR

Question No: 13 ( Marks: 1 ) - Please choose one


_____________ waits for some time and then launch a function.
► Timeout( )
► setTimeout( ) (Correct)
► setTime( )
► setTimeIn( )

Question No: 14 ( Marks: 1 ) - Please choose one


Which of the following is NOT an event handler for image object?
► onAbort
► onError
► onLoad
► onUser (Correct)
www.virtualinspire.com
www.virtualinspire.com

Question No: 15 ( Marks: 1 ) - Please choose one


______________ is a field that uniquely identifies each record stored in a
table.
► Composite Key
► Primary key (Correct)
► Foreign key
► None of the given options

Question No: 16 ( Marks: 1 ) - Please choose one


Distance learning has got a boost due to the ___________.
► Easy communication
► Online interactive contents
► Flexibility
► All of the given options (Correct)

Question No: 17 ( Marks: 1 ) - Please choose one


By default in a web page Hyper Link for another web page is represented
as ________________

► Blue only
► Black and Underlined
► Blue and Bold
► Blue and Underlined (Correct)

Question No: 18 ( Marks: 1 ) - Please choose one


To store rounded number of 8.6 in a variable called "r_number", we write
_____________.
► r_number=Maths.round(8.6)
► r_numbers=Maths.rounds(8.6)
► r_number=Math.rounds(8.6)
► r_number=Math.round(8.6) (Correct)

www.virtualinspire.com
www.virtualinspire.com
Question No: 19 ( Marks: 1 ) - Please choose one
Which one is the best option for designing a Medical Expert System?
► Rule Based System
► Genetic Algorithm
► Fuzzy Logic
► Neural Network

Question No: 20 ( Marks: 1 ) - Please choose one


Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference (Correct)
► Length
► Name

Question No: 21 ( Marks: 1 ) - Please choose one


Which is correct?

► onUnload (Correct)

► onUnLoad

► onUNLOAD

► All of the above

Question No: 22 ( Marks: 1 ) - Please choose one


Capturing events and responding to them is called __________.
► Function Handling
► Event Handling (Correct)
www.virtualinspire.com
www.virtualinspire.com
► Event Procedure
► All of the given option

Question No: 23 ( Marks: 1 ) - Please choose one


___________ color should be used in background for a good presentation.
► Light
► Dark (Correct)
► Red
► None of the given options

Question No: 24 ( Marks: 1 ) - Please choose one


Which of the following symbol is used for multiple line comments in
JavaScript?

► /
► //
► /* (Correct)
► //*

Question No: 25 ( Marks: 1 ) - Please choose one


In JavaScript, what will be the result of the follwoing operation
79%3
► 0
► 1 (Correct)
► 2
► 3

Question No: 26 ( Marks: 1 ) - Please choose one


A new cell using HTML is added in table row by
► <TC>…</TC>

www.virtualinspire.com
www.virtualinspire.com
► <TR>…</TR> (Correct)

► <TD>…</TD>
► <NC>…</NC>

Question No: 27 ( Marks: 1 ) - Please choose one


TCP stands for ___________.
► Total communication protocol
► Transmission control protocol (Correct)
► Transfer control protocol
► Transfer collection protocol

Question No: 28 ( Marks: 1 ) - Please choose one


What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity (Correct)

Question No: 29 ( Marks: 1 ) - Please choose one

It represents the ________________ flow chart element.

► Process
► Input or Output
► Decision
► Connector

Question No: 30 ( Marks: 1 ) - Please choose one


Vacuum tubes were replaced by ___
► Punch cards
► Transistors (Correct)
► Micro Processors
www.virtualinspire.com
www.virtualinspire.com
► Resistors

Question No: 31 ( Marks: 1 )


When does recursion occur?

Question No: 32 ( Marks: 1 )


What are the types of computer network according to the distance between
nodes ?

Answer:
There are two types of networks.
1. LAN (Local Area Network)
2. WAN (Wide Area Network)

The transistor is a solid state semiconductor device used for amplification and switching,
and has __three________ terminals.
► one
► two
► three
► four

Question No: 2 ( Marks: 1 ) - Please choose one


Blue Pacific is a name of ____Super__ computer.
► Mini
► Desktop
► Micro
► Super

Question No: 3 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
Monte Carlo algorithm is an example of Randomized algorithm

► Randomized algorithm

► Greedy algorithm

► both greedy and randomized

► Heuristics

Question No: 4 ( Marks: 1 ) - Please choose one


A set of stand alone productivity applications designed to work together known as __
Productivity software suites .

► Productivity software suites

► Compiled software

► Secure software

► Intelligent software

Question No: 5 ( Marks: 1 ) - Please choose one


The most used form tag is the <input> tag. - False

► True
► False

Question No: 6 ( Marks: 1 ) - Please choose one


What is the key feature of computer which is against human nature.?
Can’t get bored.
► Can’t get bored.
www.virtualinspire.com
www.virtualinspire.com
► Pattern recognition
► Repetition

► None

Question No: 7 ( Marks: 1 ) - Please choose one


___ Word Processor Software __ was designed as a replacement for typewriter
► Spreadsheet Software
► Word Processor Software
► Presentation Software
► Database Software

Question No: 8 ( Marks: 1 ) - Please choose one


Forms can be submitted by using ______2____ different methods
►2
►3
►4
►5

Question No: 9 ( Marks: 1 ) - Please choose one


To display a checkbox on the web page, we use __INPUT_ tag
► CHECKBOX
► CHECK
► INPUT
► INPUTBOX

Question No: 10 ( Marks: 1 ) - Please choose one


_Name __ attribute of FORM tag is used to mention a URL when the form is being
submitted
► name
► action
► method
► submit
www.virtualinspire.com
www.virtualinspire.com

Question No: 11 ( Marks: 1 ) - Please choose one


You can __Read Only______ from/to a website containing interactive forms.
► Only read
► Only write
► Read and write
► Not read and write

Question No: 12 ( Marks: 1 ) - Please choose one


Using COLSPAN, number of rows of the current cell should extend itself None of the
given choices

► Upward
► Downward
► Both Upward and Downward
► None of the given choices

Question No: 13 ( Marks: 1 ) - Please choose one


ASCII WHITE is the fastest Super computer which can perform _1.3 trillion__ calculations
in one second.
► 1.3 billion
► 1.3 trillion
► 1.3 miillion
► 1.3 thousand

Question No: 14 ( Marks: 1 ) - Please choose one


_HTML___ is a related collection of WWW files that includes a beginning file called a
homepage
► HTML
► Website
► HTTP
► Web page

Question No: 15 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
If a computer could pass the Turing test then it would be able to: think like human beings

► think like human beings


► do the things faster
► win a million dollar prize
► store more information

Question No: 16 ( Marks: 1 ) - Please choose one


The key strengths of computers are - Speed
► Speed
► Storage
► Do not get bored
► All of the given choices

Question No: 17 ( Marks: 1 ) - Please choose one


Compared to vacuum tubes, Transistors offer: All of the given choices
► Much smaller size
► Better reliability
► Much lower cost
► All of the given choices

Question No: 18 ( Marks: 1 ) - Please choose one


Which of the following is NOT a component of IC? Resistors
► Transistors
► Diodes
► Resistors
► Vacuum tubes

Question No: 19 ( Marks: 1 ) - Please choose one


When we use <INPUT type=“password”>, what will happen? - Text will be in ****
format

► Text will not be visible

www.virtualinspire.com
www.virtualinspire.com
► Text will be in normal format

► Text will be in **** format

► Text will be in #### format

Question No: 20 ( Marks: 1 ) - Please choose one


Spread sheet is a type of _ Mathematical software ________.
► Productivity software
► Engineering software
► Mathematical software
► Business software

Question No: 21 ( Marks: 1 ) - Please choose one


Word Processor is a ____ Application Software__
► System Software
► Application Software
► Device
► Utility

Question No: 22 ( Marks: 1 ) - Please choose one


_ Utility Program refers to the firmware code which is run by an IBM compatible PC
when first powered on.
► DOS
► BIOS
► Utility Program
► None of these

Question No: 23 ( Marks: 1 ) - Please choose one


A computer program that facilitates the communication between the computer and a
peripheral device is called____ Language Translator _______

► Operating system
www.virtualinspire.com
www.virtualinspire.com
► Utilities
► Language Translator
► Device Drives

Question No: 24 ( Marks: 1 ) - Please choose one


In JavaScript, what will be the result of the following operation 79%3
►0
►1
►2
►3

Question No: 25 ( Marks: 1 ) - Please choose one


Which of the following number system is used by microprocessor? Binary

► Binary
► Decimal
► Octal
► Hexadecimal

Question No: 26 ( Marks: 1 ) - Please choose one


Web site is collection of related ___ Information___
► Web pages
► Information
► Search Engines
► None of the given choices

Question No: 1 ( Marks: 1 - Please choose one


www.virtualinspire.com
www.virtualinspire.com
In Spreadsheets, you can create a relationship between two cells by using
Numbers
Text
Formulas
None of given option
Question No: 2 ( Marks: 1 - Please choose one
An algorithm that always takes the best immediate or local solution while finding an
answer is called
Deterministic Algorithm
Non deterministic Algorithm
Greedy Algorithm
Randomized Algorithm
Question No: 3 ( Marks: 1 ) - Please choose one
Which of the following command allows you to recover form mistakes in MS Word?
Clear
Edit
Undo
Break
Question No: 4 ( Marks: 1 ) - Please choose one
An operating system allows many users to take advantage of the computer's resources,
simultaneously
Single user
Multi- user
Single tasking
Multi tasking
Question No: 5 ( Marks: 1 - Please choose one
Network Interface Card is an ___________________device.
Input
Output
Input/Output
Storage
Question No: 6 ( Marks: 1 - Please choose one
The decimal equivalent of binary 1000 is
7

www.virtualinspire.com
www.virtualinspire.com
8
9
10
Question No: 7 ( Marks: 1 ) - Please choose one
Which of the following is NOT RDBMS software?
My Sql
MS Excel
Oracle
SQL Server
Question No: 8 ( Marks: 1 - Please choose one
A computer virus is a
Software that saves the computer from being damaged.
Application software that helps to make different type of viruses and worms
Program that spreads itself and destroys other program
Program that corrects the problems in your computer
Question No: 9 ( Marks: 1 - Please choose one
What will be the result of a?
a = Math.abs(-23)
23
-23
23.0
2.3
Question No: 10 ( Marks: 1 - Please choose one
A Special program required to view swf (Shockwave Flash) files in web Browser is called
TFlash
Vflash
plug-in
None of the given options
Question No: 11 ( Marks: 8 )
Match the relevant options from the given two columns and write the correct options in
Column 3.
Column 1 Column 2 Column 3

www.virtualinspire.com
www.virtualinspire.com
1. Mainframe A. Network Traffic
Enterprise Servers
Computers controller
Web Browser
2. Mosaic B. Laptop
Windows XP
3. Operating System C. Micro Processor
Network Traffic
4. Router D. Software Piracy
controller
5. Spread Sheet E. Windows XP
VisiCalc
6. Mobile Computer F. Enterprise Servers
Laptop
7. Intel 4004 G. VisiCalc
Micro Processor
8. Cyber Crime H. Web Browser
Software Piracy
Question No: 12 ( Marks: 12
Question No: 1 ( Marks: 2 ) - Please choose one
Which statement is wrong for naming an identifier?

Identifiers are names used by JavaScript to refer to variables, objects, properties,


methods, and functions.
An identifier must begin with an alphabetical character (a-z or A-Z), underscore
“_” character or $ character.
Subsequent characters can be an alphabetical (a-z or A-B) or numeric character
(0-9) or an underscore
Question No: 2 ( Marks: 2 ) - Please choose one
Which of the following words can’t be used for naming an identifier in JavaScript?
struct
plugin
parent
package
Question No: 3 ( Marks: 2 ) - Please choose one
Data Management comes up with different issues except one:
Data entry
Data updates
Data integrity
Data security
Data presentation
Question No: 4 ( Marks: 2 ) - Please choose one
www.virtualinspire.com
www.virtualinspire.com

Choose correct statement.


The value of a variable can not be changed during execution of the script.
In JavaScript a variable’s type is defined before usage.
The untyped feature makes JavaScript simpler to program in when developing short
programs.
The untyped feature makes JavaScript simpler to program in when developing big
programs.

Question No: 1 ( Marks: 1 ) - Please choose one


FTP stands for
File transmission protocol
File transmission path
File transfer protocol
Fine Transfer path
Question No: 3 ( Marks: 1 ) - Please choose one
A function is also called
program
Procedure
Sub-routine
All of the these
Question No: 4 ( Marks: 1 ) - Please choose one
Command that allows you to remove mistakes
Copy
Delete
Cut
Undo
Question No: 4 ( Marks: 1 ) - Please choose one
URL is a/an __________________.
Device
Component
Address
www.virtualinspire.com
www.virtualinspire.com
Question No: 1 ( Marks: 1 ) - Please choose one
What computer hardware is essential for connecting two computers in Local Area Network?
Modem
Ethernet card
VGA
Internet Connection
Question No: 2 ( Marks: 1 ) - Please choose one
The instruction written in high-level language are converted into low-level language by the
____________
Operating System
Compiler
Parser
Router
Question No: 3 ( Marks: 1 ) - Please choose one
Which software can provide results of mathematical calculations very easily?
Spreadsheets
Image processor
Word processor
None of these
Question No: 4 ( Marks: 1 ) - Please choose one

Which of the following is the extension of graphics files?


.doc
.mdb
.gif
.tmp
Question No: 5 ( Marks: 1 ) - Please choose one
A hardware device that stores data and programs, executes program instructions, and
performs arithmetic/logic operations is known as the ____.
CPU
Integrated Circuit
Main Storage
Memory
Question No: 6 ( Marks: 1 ) - Please choose one
www.virtualinspire.com
www.virtualinspire.com
The input device that reads printed characters, symbols, or graphical images into the
computer is the:
Sensors
Speech recognition
Mouse.
Scanner
Question No: 7 ( Marks: 1 ) - Please choose one
The component of the central processing unit that holds instructions, stores data and keeps
results during the processing is called the:
Arithmetic/Logic unit.
Control unit.
Main memory.
Micro processing chip.
Question No: 8 ( Marks: 1 ) - Please choose one
The software that is used to write/send/receive an e-mail is called
Web browser
Mail Binder
E-mail Handler
E-mail Client
Question No: 9 ( Marks: 1 ) - Please choose one
A computer virus is a ____________
Software that saves the computer from being damaged.
Application software that helps to make different type of viruses and worms
Program that spreads itself and destroys other program
Program that corrects the problems in your computer
Question No: 10 ( Marks: 1 ) - Please choose one
What does internet service provider mean?
A software that helps you to connect to internet
A company that helps you to connect to internet
A software that allows you to send/receive e-mails
A telephone network which helps you to connect to internet
Paper 5555
Which of the following cannot come between the <Body></Body> tag
A. <P>
www.virtualinspire.com
www.virtualinspire.com
B. <A HERF></A>
C. <Title></Title>
D. <BR></BR>
Question No: 8
Modem is used:
A. Only to enter data into computer
B. For calculating huge numbers
C. For communication of data between internet and your computer
D. To write information on the world wide web
Question No: 9
Search engines:
A. Scan the entire web for the desired information
B. Search the news groups for the required information
C. Make the list of images that are available on the net
D. Are built to facilitate the scientists
Question No: 10
ARPANET i
A. World’s first network
B. Network protocol
C. Latest Internet site
D. Internet game
Question No: 11
A group of binary digits that a computer manipulate as a unit is called
A. Byte
B. Word
C. Bit
D. Hertz

PAPER 6666

Total Marks: 50
Questions: 14

Question No. 1
www.virtualinspire.com
www.virtualinspire.com

Micro controller

1 Are faster then microprocessor


2 Is another name for microprocessor?
3 Are complete computer on a chip
4 Cost thousands of dollar per piece
Question No. 2
Two major types of software are
1 Application Software , System Software
2 Application Software , Database Software
3 System Software , Database Software
4 Database Software , Embedded Software
Question No. 3
Marks : 5
How Operating System software does manage a device when a particular application is
executed? Explain with at least one example?
Question No. 4
Word representing the protocol in URL http://www.microsoft.com is
1 www
2 Microsoft
3 microsoft.com
4 http
Question No. 5
What do you know about WWW and what are the basic elements of web design?
Question No. 6
What do you know about Neural Networks and give any two examples.
Question No. 7

Define and explain Greedy Algorithm briefly. You are also required to give key advantage
and
an example of Greedy Algorithm.

www.virtualinspire.com
www.virtualinspire.com
Question No. 8 Marks : 6
Determine the correct reserved words of JavaScript from the following list and explain them
briefly.
1 document
2 read
3 alert
4 delete
5 function
6 comment
paper 7777

Question No: 1 ( Marks: 1 ) - Please choose one


Which function returns a randomly selected floating point number between 0 and 1 ?
► floor(x)
► ceil(x)
► random()(Correct)
► round(x)

Question No: 2 ( Marks: 1 ) - Please choose one


Functions are also called:
► Heuristics
► Variables
► Arrays
► Subprograms

Question No: 3 ( Marks: 1 ) - Please choose one


In JavaScript, each element of array can store data of type
► A Number
► An Array
► A String variable
► All of the given choices

Question No: 4 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage

Question No: 5 ( Marks: 1 ) - Please choose one


Processed data is called ________.

► Information
► Data
► Entity
► Attribute

Question No: 6 ( Marks: 1 ) - Please choose one


Many developers write the _________ first and then incrementally convert each line into
_________.
► Real code & Pseudo code
► Pseudo code & Real code
► Real code & Artificial code
► None of the given options

Question No: 7 ( Marks: 1 ) - Please choose one


When we buy a software package, we do not really buy it, we just by a license that allows
us to use it, the ___________stays with the maker.

► Agreement
► Ownership
► Membership
► Software

Question No: 8 ( Marks: 1 ) - Please choose one


Name, Border, Source are the ____________ of the image object.
► Event Handler
www.virtualinspire.com
www.virtualinspire.com
► Properties
► Methods
► None of the given options

Question No: 9 ( Marks: 1 ) - Please choose one


Using smart editors they can automatically color different parts of statements in different
colors e.g. HTML tags in ____________ color.

► Green
► Grey
► Blue
► None of the given options

Question No: 10 ( Marks: 1 ) - Please choose one


____________ is in Executive team.
► Project Manager
► CEO
► Team Lead
► Developer

Question No: 11 ( Marks: 1 ) - Please choose one


Module level design and unit testing the responsibility of _____________.
► Team Lead
► Developer
► Project Manager
► Quality Assurance Expert

Question No: 12 ( Marks: 1 ) - Please choose one


_____________ team is responsible for a project after the specification’s stage till the very
end.
► Executive
► Architect
► Development (Correct)
► HR
www.virtualinspire.com
www.virtualinspire.com

Question No: 13 ( Marks: 1 ) - Please choose one


_____________ waits for some time and then launch a function.
► Timeout( )
► setTimeout( ) (Correct)
► setTime( )
► setTimeIn( )

Question No: 14 ( Marks: 1 ) - Please choose one


Which of the following is NOT an event handler for image object?
► onAbort
► onError
► onLoad
► onUser (Correct)

Question No: 15 ( Marks: 1 ) - Please choose one


______________ is a field that uniquely identifies each record stored in a table.
► Composite Key
► Primary key (Correct)
► Foreign key
► None of the given options

Question No: 16 ( Marks: 1 ) - Please choose one


Distance learning has got a boost due to the ___________.
► Easy communication
► Online interactive contents
► Flexibility
► All of the given options (Correct)

Question No: 17 ( Marks: 1 ) - Please choose one


By default in a web page Hyper Link for another web page is represented as
________________

► Blue only
www.virtualinspire.com
www.virtualinspire.com
► Black and Underlined
► Blue and Bold
► Blue and Underlined (Correct)

Question No: 18 ( Marks: 1 ) - Please choose one


To store rounded number of 8.6 in a variable called "r_number", we write _____________.
► r_number=Maths.round(8.6)
► r_numbers=Maths.rounds(8.6)
► r_number=Math.rounds(8.6)
► r_number=Math.round(8.6) (Correct)

Question No: 19 ( Marks: 1 ) - Please choose one


Which one is the best option for designing a Medical Expert System?
► Rule Based System
► Genetic Algorithm
► Fuzzy Logic
► Neural Network

Question No: 20 ( Marks: 1 ) - Please choose one


Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference (Correct)
► Length
► Name

Question No: 21 ( Marks: 1 ) - Please choose one


Which is correct?

► onUnload (Correct)

► onUnLoad

► onUNLOAD

www.virtualinspire.com
www.virtualinspire.com
► All of the above

Question No: 22 ( Marks: 1 ) - Please choose one


Capturing events and responding to them is called __________.
► Function Handling
► Event Handling (Correct)
► Event Procedure
► All of the given option

Question No: 23 ( Marks: 1 ) - Please choose one


___________ color should be used in background for a good presentation.
► Light
► Dark (Correct)
► Red
► None of the given options

Question No: 24 ( Marks: 1 ) - Please choose one


Which of the following symbol is used for multiple line comments in JavaScript?

► /
► //
► /* (Correct)
► //*

Question No: 25 ( Marks: 1 ) - Please choose one


In JavaScript, what will be the result of the follwoing operation
79%3
►0
► 1 (Correct)
►2
►3

Question No: 26 ( Marks: 1 ) - Please choose one


www.virtualinspire.com
www.virtualinspire.com
A new cell using HTML is added in table row by
► <TC>…</TC>
► <TR>…</TR> (Correct)

► <TD>…</TD>
► <NC>…</NC>

Question No: 27 ( Marks: 1 ) - Please choose one


TCP stands for ___________.
► Total communication protocol
► Transmission control protocol (Correct)
► Transfer control protocol
► Transfer collection protocol

Question No: 28 ( Marks: 1 ) - Please choose one


What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity (Correct)

Question No: 29 ( Marks: 1 ) - Please choose one

It represents the ________________ flow chart element.

► Process
► Input or Output
► Decision
► Connector

Question No: 30 ( Marks: 1 ) - Please choose one


Vacuum tubes were replaced by ___
► Punch cards
► Transistors (Correct)
www.virtualinspire.com
www.virtualinspire.com
► Micro Processors
► Resistors

Question No: 31 ( Marks: 1 )


When does recursion occur?

Question No: 32 ( Marks: 1 )


What are the types of computer network according to the distance between nodes ?

Answer:
There are two types of networks.
1. LAN (Local Area Network)
2. WAN (Wide Area Network)

Question No: 33 ( Marks: 2 )


What is meant by semantic error ?

Answer:
Occur when a statement executes and has an effect not intended by the programmer and
Often times occur only in unusual & infrequent circumstances

Question No: 34 ( Marks: 2 )


List down the names of two array methods available in JavaScript.

Answer:
1. sort( ) [sorts elements in alphabetical order]
2. reverse( ) [Reverses the order of elements]

Question No: 35 ( Marks: 3 )


How can you define a consistent web design? Why is it needed?

Answer:
A consistent good designed website is generated for general public that allows users to
www.virtualinspire.com
www.virtualinspire.com
attain what they want as quickly as possible without spending much effort.

A consistent good design assists the user in recovering from errors.

Question No: 36 ( Marks: 3 )


How can we include images in a web page using HTML and Java script?

Answer:
Image in HTML
<IMG src=URL, alt=text height=pixels width=pixels align="bottom|middle|top">

Image in Javascript
Images in JavaScript can be manipulated in many ways using the built-in object Image.
Additional properties to HTML are hspace, vspace & lowsrc.
Example: It can be used by many handlers like, onAbort, onLoad & onError

Question No: 37 ( Marks: 3 )


The event handler attribute consists of three parts. Write about each of them.

Answer :
The identifier of the event handler
The equal sign
A string statement enclosed in double or single quotes.

PAPER 8888

Question No: 38 ( Marks: 5 )


What is a packet in the network environment? What kind of information does it contain?

Answer:
• Packet is data chopped up into pieces in a network environment.
• These packets contain information about which computer sent the data and where the
data is going.
www.virtualinspire.com
www.virtualinspire.com
• If a packet runs into a problem during its trip, it can attempt to find another route.
When all the packets get where they are going, the recipient computer puts them together
again.
Question No: 40 ( Marks: 10 )
Write down
HTML and JavaScript code for the following requirements:
Declare an Array with the identifier SUBJECT having length 5. Assign following values to
the array elements:
MIS, Java, Algorithms, Databases, C++
Show all values in reverse order.

Question No: 41 ( Marks: 10 )


How instant
messaging works? Write the steps involved in this process.

Answer:
The Instant Messaging services available allow us to maintain a list of people
(contacts) that we interact with regularly. We can send instant messages to any of the
contacts in our list as long as that contact is online.

Following steps are involved in IM working.

1. User commences the IM client.


2. IM client finds the IM server & logs in.

www.virtualinspire.com
www.virtualinspire.com
Question No: 39 ( Marks: 5 )
Suppose we have a
big project. Draw hierarchy of the people involved in the project?

Answer:
Please ignore small lines relating Sub Teams to subordinates due to shortage of time.
ABCD etc are connected directly to Team Lead 1,2 & 3 accordingly.

Executive Team Clients Project


Project Architect
Manager

Project Manager

Sub Team Lead1

A B C D E F
Sub Team Lead 2

A B C D
Sub Team Lead 3

A B C

www.virtualinspire.com
www.virtualinspire.com
Question No: 1 ( Marks: 2 ) - Please choose one
s
Which statement is wrong for naming an identifier?
Identifiers are names used by JavaScript to refer to variables, objects, properties,
methods, and functions.
An identifier must begin with an alphabetical character (a-z or A-Z), underscore
“_” character or $ character.
Subsequent characters can be an alphabetical (a-z or A-B) or numeric character
(0-9) or an underscore
Question No: 2 ( Marks: 2 ) - Please choose one
Which of the following words can’t be used for naming an identifier in JavaScript?
struct
plugin
parent
package
s

www.virtualinspire.com
www.virtualinspire.com
Question No. 1
Micro controller
1 Are faster then microprocessor
2 Is another name for microprocessor?
3 Are complete computer on a chip
4 Cost thousands of dollar per piece
Question No. 2
Two major types of software are

1 Application Software , System Software


2 Application Software , Database Software
3 System Software , Database Software
4 Database Software , Embedded Software
Question No. 3
How Operating System software does manage a device when a
particular application is
executed? Explain with at least one example?
Question No. 4
Word representing the protocol in URL http://www.microsoft.com is
1 www
2 Microsoft
3 microsoft.com
4 http
Question No. 5
What do you know about WWW and what are the basic elements of
web design?
Question No. 6
What do you know about Neural Networks and give any two
examples.
Question No. 7
Define and explain Greedy Algorithm briefly. You are also required to
give key advantage and
an example of Greedy Algorithm.
Question No. 8
Determine the correct reserved words of JavaScript from the following
list and explain them

www.virtualinspire.com
www.virtualinspire.com
briefly.

1 document
2 read
3 alert
4 delete
5 function
6 comment
Question No. 9
Discuss any three issues/characteristics of Data Management.
Question No. 10
Write function using JavaScript. The name of function will be
"display( )". The "display( )"
function will display the following string as shown below:
X3 + Y2

[Hint: Use string methods sub( ) and sup( )]


The "display( )" function should be called at onLoad event.

Question No. 11
Consider the following code
pitch = "hard"
bowler="slow"
if ( (pitch == "hard") || (bowler == "fast") )
myStatus = "Bouncer" ;
else
myStatus = "Short Pitch" ;
Variable myStatus will contain the value:
1 Bouncer
2 Short Pitch
3 Hard
4 Slow
Question No. 12
What does the following JavaScript code
function changeBgcolor()
{

www.virtualinspire.com
www.virtualinspire.com
oldColor = window.document.bgColor;
window.document.bgColor = "pink";
window. alert("The old color was " + oldColor);
}

1 Change the Color of Window document to pink and nothing


else

2 Change the Color of Window document to pink and display the


name of old Color in a
dialogue box
3 Change the Color of Window document to Blue and displays
name of old color in a
dialogue box
4 Create a form in window document
Question No. 13
Examine and explain the logic of following pseudo code:
Let the decimal number be an integer x, x > 0
Let the binary equivalent be an empty string y
Repeat while x > 0
{
Determine the quotient & remainder of x ÷ 2
y = CONCATENATE( remainder, y )
x = quotient
}
Print y
Stop

Question No: 7
Which of the following cannot come between the <Body></Body>
tag

A. <P>
B. <A HERF></A>
C. <Title></Title>
D. <BR></BR>

www.virtualinspire.com
www.virtualinspire.com

Question No: 8
Modem is used:
A. Only to enter data into computer
B. For calculating huge numbers
C. For communication of data between internet and your computer
D. To write information on the world wide web
Question No: 9
Search engines:
A. Scan the entire web for the desired information
B. Search the news groups for the required information
C. Make the list of images that are available on the net
D. Are built to facilitate the scientists
Question No: 10
ARPANET is a:
A. World’s first network
B. Network protocol
C. Latest Internet site
D. Internet game
Question No: 11
A group of binary digits that a computer manipulate as a unit is
called
A. Byte
B. Word
C. Bit
D. Hertz
PAPER 000000000
Question No: 1 ( Marks: 1 ) - Please choose one
What computer hardware is essential for connecting two computers in
Local Area Network?
Modem
Ethernet card
VGA
Internet Connection
Question No: 2 ( Marks: 1 ) - Please choose one
The instruction written in high-level language are converted into low-

www.virtualinspire.com
www.virtualinspire.com
level language by the ____________
Operating System
Compiler
Parser
Router
Question No: 3 ( Marks: 1 ) - Please choose one
Which software can provide results of mathematical calculations very
easily?
Spreadsheets
Image processor
Word processor
None of these
Question No: 4 ( Marks: 1 ) - Please choose one

Which of the following is the extension of graphics files?


.doc
.mdb
.gif
.tmp
Question No: 5 ( Marks: 1 ) - Please choose one
A hardware device that stores data and programs, executes program
instructions, and performs arithmetic/logic operations is known as the
____.
CPU
Integrated Circuit
Main Storage
Memory
Question No: 6 ( Marks: 1 ) - Please choose one

The input device that reads printed characters, symbols, or graphical


images into the computer is the:
Sensors
Speech recognition
Mouse.
Scanner
Question No: 7 ( Marks: 1 ) - Please choose one

www.virtualinspire.com
www.virtualinspire.com

The component of the central processing unit that holds instructions,


stores data and keeps results during the processing is called the:
Arithmetic/Logic unit.
Control unit.
Main memory.
Micro processing chip.
Question No: 8 ( Marks: 1 ) - Please choose one

The software that is used to write/send/receive an e-mail is called


Web browser
Mail Binder
E-mail Handler
E-mail Client
Question No: 9 ( Marks: 1 ) - Please choose one
A computer virus is a ____________
Software that saves the computer from being damaged.
Application software that helps to make different type of viruses and
worms
Program that spreads itself and destroys other program
Program that corrects the problems in your computer
Question No: 10 ( Marks: 1 ) - Please choose one
What does internet service provider mean?
A software that helps you to connect to internet
A company that helps you to connect to internet
A software that allows you to send/receive e-mails
A telephone network which helps you to connect to internet
Question No: 1 ( Marks: 2 ) - Please choose one
Which statement is wrong for naming an identifier?
Identifiers are names used by JavaScript to refer to variables, objects,
properties,
methods, and functions.

An identifier must begin with an alphabetical character (a-z or A-Z),


underscore
“_” character or $ character.

www.virtualinspire.com
www.virtualinspire.com
Subsequent characters can be an alphabetical (a-z or A-B) or numeric
character
(0-9) or an underscore

Question No: 2 ( Marks: 2 ) - Please choose one


Which of the following words can’t be used for naming an identifier
in JavaScript?
struct
plugin
parent
package

Question No: 3 ( Marks: 2 ) - Please choose one


Data Management comes up with different issues except one:
Data entry
Data updates
Data integrity
Data security
Data presentation

Question No: 4 ( Marks: 2 ) - Please choose one

Choose correct statement.


The value of a variable can not be changed during execution of the
script.
In JavaScript a variable’s type is defined before usage.
The untyped feature makes JavaScript simpler to program in when
developing short
programs.

The untyped feature makes JavaScript simpler to program in when


developing big
programs.

Question No: 1 ( Marks: 1 ) - Please choose one


Using Java Script you can write a character at random location on

www.virtualinspire.com
www.virtualinspire.com
screen
► By applying randomCh() method
► With the help of String object
► With the help of random character property
► There is no built in approach in Java Script

Question No: 2 ( Marks: 1 ) - Please choose one


If incorrectly we enter the negative age it is check by
► Limit Integrity
► Type Integrity
► Referential Integrity
► Physical Integrity

Question No: 3 ( Marks: 1 ) - Please choose one


The Encryption of data is related to
► Data updates
► Data security
► Data integrity
► Data accessibility

Question No: 4 ( Marks: 1 ) - Please choose one


Which protocol is use to transfer a file over the network ?
► UDP
► FTP
► TCP
► OSI

Question No: 5 ( Marks: 1 ) - Please choose one


One can send an email message to a remote computer using _______
protocol
► HTTP
► SMTP
► FTP
► TELNET

Question No: 6 ( Marks: 1 ) - Please choose one

www.virtualinspire.com
www.virtualinspire.com
In a System having many parts to be designed, one should always do
the _____ first
► Hard part
► Simple part
► Development part
► Quality part

Question No: 7 ( Marks: 1 ) - Please choose one


Flow control constructs in JavaScript includes:
► If-Else
► Loops and If -Else
► Switch and If-Else
► All of the given choices

Question No: 8 ( Marks: 1 ) - Please choose one


___ provides a simple, consistent way for applications to interact with
the HW without having to know all the details of the HW
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 9 ( Marks: 1 ) - Please choose one


Machine language is also called
► Assembly Language
► Binary Language
► High Level Language
► HTML Language

Question No: 10 ( Marks: 1 ) - Please choose one


_________ is the best known builder for supercomputers.
► Sun
► Cray Research
► Microsoft
► Apple

www.virtualinspire.com
www.virtualinspire.com
Question No: 11 ( Marks: 1 ) - Please choose one
The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage

Question No: 12 ( Marks: 1 ) - Please choose one


Communication protocol is a __________that governs the flow of
information over a network
► Set of methods
► Set of protocols
► Set of rules
► Device

Question No: 13 ( Marks: 1 ) - Please choose one


_____________ team is responsible for the maintenance, expansion ,
improvement of the infrastructure consisting of workstations,
networking equipment, software and network security.
► Support
► Configuration Management
► Quality Assurance
► Developer

Question No: 14 ( Marks: 1 ) - Please choose one


_____________ team consists on the sharpest technical minds in the
company.
► Architecture
► Business Development
► Configuration Management
► Developer

Question No: 15 ( Marks: 1 ) - Please choose one


_______________ is responsible for day to day operations.
► CEO
► COO

www.virtualinspire.com
www.virtualinspire.com
► CMSO
► Developer

Question No: 16 ( Marks: 1 ) - Please choose one


One of the key responsibilities of the ___________ is client
relationship management.
► Project Manager
► Team Lead
► Developer
► Quality Assurance Engineer

Question No: 17 ( Marks: 1 ) - Please choose one


What is the major problem with flash based website?
► Its two heavy
► Cannot be indexed
► Less attractive
► Inaccessible

Question No: 18 ( Marks: 1 ) - Please choose one


Which of the following is NOT an event handler for image object?
► onAbort
► onError
► onLoad
► onUser

Question No: 19 ( Marks: 1 ) - Please choose one


The organizations are learning that business can be done in a more
effective manner if emphasis is placed upon ___________.
► Cooperation
► Shared responsibility
► Networking
► All of the given options

Question No: 20 ( Marks: 1 ) - Please choose one


country=”Hello Pakistan”;
document.write(country.charAt(6));

www.virtualinspire.com
www.virtualinspire.com

The out put of the above statement is _____________.


►o
►P
►a
►k

Question No: 21 ( Marks: 1 ) - Please choose one


a = Math.abs(-23)

What will be the value of a ?


► 23
► -23
► 23.0
► 2.3

Question No: 22 ( Marks: 1 ) - Please choose one


ERP is a type of __________________ .

► Entertainment software
► Productivity software
► Business software
► Scientific software

Question No: 23 ( Marks: 1 ) - Please choose one


In Genetic Algorithm the most important thing you should know, is
the ___________.
► Procedure
► Recognition of a good solution
► Different techniques
► None of the given options

Question No: 24 ( Marks: 1 ) - Please choose one


According to a popular heuristic, success is defined by ___________.
► The user
► The builder

www.virtualinspire.com
www.virtualinspire.com
► Both user and builder
► None of the given options

Question No: 25 ( Marks: 1 ) - Please choose one


Rule of thumb learned through trial and error is called ___________.
► Design
► Heuristic
► Plan
► Aim

Question No: 26 ( Marks: 1 ) - Please choose one


JavaScript Variables are ____________.
► Dynamically Typed
► Statically Typed
► Strong Typed
► None of the given options

Question No: 27 ( Marks: 1 ) - Please choose one


Which of the following application is collections of cells?

► Word
► Excel
► PowerPoint
► Outlook Express

Question No: 28 ( Marks: 1 ) - Please choose one


The browser breaks down the URL into ________ parts.
►2
►3
►4
►5

Question No: 29 ( Marks: 1 ) - Please choose one


A named collection of properties (data, state) and methods (instruction,
behavior) is called ____________.
► Array

www.virtualinspire.com
www.virtualinspire.com
► Function
► Variable
► Object

Question No: 30 ( Marks: 1 ) - Please choose one


First computer network was ___________.
► NSFNET
► FIRSTNET
► ARPANET
► ORPHANET

Question No: 31 ( Marks: 1 )


What kind of information can be stored in a database?

Question No: 32 ( Marks: 1 )


What does NIC stand for?

Question No: 33 ( Marks: 2 )


What is Information Technology?

Question No: 34 ( Marks: 2 )


What is meant by universal access of internet services ?

Question No: 35 ( Marks: 3 )


Write JavaScript code to convert the number 236.2363611111556 into
currency format and JavaScript statement to show output.

Question No: 36 ( Marks: 3 )


Briefly mention any three problems in old modes of presentation
development

Question No: 37 ( Marks: 3 )


What is the difference between Internet and Intranet ?
Intra net is the communication of computer with in office or one
building and internet across the boundaries

www.virtualinspire.com
www.virtualinspire.com
Question No: 38 ( Marks: 5 )
Suppose we have a big project. Draw hierarchy of the people
involved in the project?
Project director
Assistanst director
Research and planning director
Monitoring and evalution officer
Procurement office
Accounts officer
Executive officer

Question No: 39 ( Marks: 5 )


Show output of the following code:

for (i=0; i<=10; i++)


{
document.write("The number is " + i);
document.write("<br />");
}

Question No: 40 ( Marks: 10 )


Write a note on the following (4+6)

a. Two popular review methods


b. Two types of errors

Question No: 41 ( Marks: 10 )


Define the following terms:

A) Heuristic
B) System
C) System architecture
D) Analysis of Algorithm

www.virtualinspire.com
www.virtualinspire.com
Question No: 1 ( Marks: 1 ) - Please choose one
---------- was known as “mill” in Analytical engine.
► Memory
► Processor
► Monitor
► Mouse
Ref: An arithmetical unit (the "mill") would be able to perform all
four arithmetic operations, plus comparisons and optionally square
roots. Initially it was conceived as a difference engine curved back
upon itself, in a generally circular layout,[2] with the long store exiting
off to one side.

Question No: 2 ( Marks: 1 ) - Please choose one


First electronic computer was
► ABC
► UNVAC 1
► Harvard Mark 1
► IBM PC

Question No: 3 ( Marks: 1 ) - Please choose one


What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity

Question No: 4 ( Marks: 1 ) - Please choose one


What happens if I start a new list without closing the original one?

► An error will be generated


► A nested list will be created
► Previous list will end and a new will start.
► Nothing will happen

Question No: 5 ( Marks: 1 ) - Please choose one

www.virtualinspire.com
www.virtualinspire.com
The most upper right pixel of the screen is of ___________ color.
► Any
► Red
► Green
► Blue

Question No: 6 ( Marks: 1 ) - Please choose one


A single pixel can acquire approximately ___________ color schemes.
► 1 million
► 2 million
► 10 million
► 16 million

Question No: 7 ( Marks: 1 ) - Please choose one


The idea of Neural Networks field is based upon ______________.
► Human nature
► Human brain
► Human culture
► Human actions

Question No: 8 ( Marks: 1 ) - Please choose one


Which one of the following is an application for artificial intelligence?
► Robotic
► Web Agent
► Decision Support System
► All of the given options
Question No: 9 ( Marks: 1 ) - Please choose one
Register is a kind of ______memory

► Fast
► Super fast
► Slow
► Very slow

Question No: 10 ( Marks: 1 ) - Please choose one


Which of the following is a true statement?

www.virtualinspire.com
www.virtualinspire.com
► Flat-file storage is better than tabular storage.
► Tabular storage is better than flat-file storage.
► Flat-file storage is better than relational storage.
► None of the given options

Question No: 11 ( Marks: 1 ) - Please choose one


substring(n, m) returns a string containing characters copied from
position n to___________.
►m–2
►m–1
►m+1
►m

Question No: 12 ( Marks: 1 ) - Please choose one


The __________ is the old profession which is being eliminated
because of computing.
► Typist
► Bank manager
► Operational manager
ss

Question No: 13 ( Marks: 1 ) - Please choose one


The system that manages relational database, is called
______________.
► None of the given options
► Database Management System
► Data Management System
► Relational Database Management System

Question No: 14 ( Marks: 1 ) - Please choose one


When web server is busy it gives the following message to the user :
► Time out
► Waiting
► Server busy
► None of the given options

www.virtualinspire.com
www.virtualinspire.com
Question No: 15 ( Marks: 1 ) - Please choose one
The group of technologies concerned with the capturing, processing
and transmission of information in the digital electronic form is called
_____________.
► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

Question No: 16 ( Marks: 1 ) - Please choose one


_____________ team consists on the sharpest technical minds in the
company.

► Architecture
► Business Development
► Configuration Management
► Developer

Question No: 17 ( Marks: 1 ) - Please choose one


TCP stands for ________.

► Transfer Center protocol


► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

Question No: 18 ( Marks: 1 ) - Please choose one


A collection of data organized in such a way that the computer can
quickly search for a desired data item is known as :
► Retrieving
► Database
► Information
► DBMS

Question No: 19 ( Marks: 1 ) - Please choose one


Microsoft Word is a type of:

www.virtualinspire.com
www.virtualinspire.com
► System Software
► Freeware Software
► Shrink-Wrapped Software
► Custom-built Software

Question No: 20 ( Marks: 1 ) - Please choose one


Users __________, how things work.
► Analyze in detail
► Muddle through
► Figure out
► Read in detail

Question No: 21 ( Marks: 1 ) - Please choose one


Popular schemes used for reducing bytes for storage are:
► RGB and Color mapping
► RGB and Dithering
► RGB, Color mapping and Dithering
► Color mapping and Dithering

Question No: 22 ( Marks: 1 ) - Please choose one


Hardware malfunctions is related to
► Data updates
► Data integrity
► Data security
► Data accessibility

Question No: 23 ( Marks: 1 ) - Please choose one


If incorrectly we enter the negative age it is check by
► Limit Integrity
► Type Integrity
► Referential Integrity
► Physical Integrity

Question No: 24 ( Marks: 1 ) - Please choose one


Which is the user-friendly way of presenting data ?
► Query

www.virtualinspire.com
www.virtualinspire.com
► Form
► Report
► All of the given options

Question No: 25 ( Marks: 1 ) - Please choose one


Currently the BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB
► 150 GB

Question No: 26 ( Marks: 1 ) - Please choose one


In JavaScript, a || b is interpreted as

►a is true or b is false
►a is true and b is true
►a is false and b is true
►a is true or b is true or both are true

Question No: 27 ( Marks: 1 ) - Please choose one


Speakers fall into the hardware category.
► True
► False

Question No: 28 ( Marks: 1 ) - Please choose one


onBlur event is occurred for a form element when it ____________

► Gets focus
► Losts focus
► Some thing is typed in
► onBlur is not an event

Question No: 29 ( Marks: 1 ) - Please choose one


You can view a 3-D image on a _____________.
► 3-D display

www.virtualinspire.com
www.virtualinspire.com
► 2-D display
► On both 2-D and 3-D displays
► We can not view a 3-D image

Question No: 30 ( Marks: 1 ) - Please choose one


Module level design and unit testing is the responsibility of
_____________.
► Team Lead
► Developer
► Project Manager
► Quality Assurance Expert

Question No: 31 ( Marks: 1 )


What is heuristic?

Common sense Lesson drawn from experience


(Artificial) Intelligent Systems
SW programs or SW/HW systems designed to perform complex tasks
employing strategies that mimic
some aspect of human thought

or

• a commonsense rule (or set of rules) intended to increase the


probability of solving some problem
• of or relating to or using a general formulation that serves to
guide investigation

Question No: 32 ( Marks: 1 )


In programming, what is an object ?
Object: A named collection of properties (data, state) & methods
(instructions, behavior)
Question No: 33 ( Marks: 2 )
What is spreadsheet? List any two jobs that it can do.
A spreadsheet is a grid that organizes data into columns and rows.
Spreadsheets make it easy to display

www.virtualinspire.com
www.virtualinspire.com
information, and people can insert formulas to work with the data.
Electronic replacement for ledgers
Charts
financial-forecasting
Question No: 34 ( Marks: 2 )
In JavaScript, what is event handling? What are the two types of
events?
Capturing events and responding to them
The system sends events to the program and the program responds to
them as they arrive
Events can include things a user does - like clicking the mouse - or
things that the system itself does -
like updating the clock.
Question No: 35 ( Marks: 3 )
Explain how many ways businesses monitor their employees?
• Systems are available that monitor almost every key stroke that an
employee makes on a computer
• Systems are available that read and censor all incoming and
outgoing eMail
• It is quite straight forward to monitor where you surf, and when
Question No: 36 ( Marks: 3 )
What is difference between Design and System Architecture?
A system architecture or systems architecture is the conceptual design
that defines the structure and/or behavior of a system.
An architecture description is a formal description of a system,
organized in a way that supports reasoning about the structural
properties of the system
Designs it as an independent, selfcontained system
Question No: 37 ( Marks: 3 )
What are the Sub categories of Artificial Intelligence? Briefly explain
any two.
Expert systems
Systems that, in some limited sense, can replace an expert
Robotics
Automatic machines that perform various tasks that were previously
done by humans

www.virtualinspire.com
www.virtualinspire.com
Example:
Pilot-less combat air planes
Decision Support Systems:
Interactive software designed to improve the decision-making capability
of their users
Utilize historical data, models to solve problems
Question No: 1 ( Marks: 1 ) - Please
choose one

In Spreadsheets, you can create a relationship


between two cells by using _________.
► Numbers

► Text

► Formulas

► None of given option

Question No: 2 ( Marks: 1 ) - Please


choose one

An algorithm that always takes the best immediate


or local solution while finding an answer is
called____.

► Deterministic Algorithm
► Non deterministic Algorithm

► Greedy Algorithm

► Randomized Algorithm

Question No: 3 ( Marks: 1 ) - Please


choose one

www.virtualinspire.com
www.virtualinspire.com
Which of the following command allows you to
recover form mistakes in MS Word?

► Clear
► Edit

► Undo
► Break

Question No: 4 ( Marks: 1 ) - Please


choose one

A ____________ operating system


allows many users to take
advantage of the computer's
resources, simultaneously

► Single user

► Multi- user

► Single tasking

► Multi tasking

Question No: 5 ( Marks: 1 ) - Please


choose one

Network Interface Card is an __________ device


► Input

www.virtualinspire.com
www.virtualinspire.com
► Output

► Input/Output

► Storage

Question No: 6 ( Marks: 1 ) - Please


choose one

The decimal equivalent of binary 1000 is


► 7

► 8

► 9
► 10

Question No: 7 ( Marks: 1 ) - Please


choose one

Which of the following is NOT RDBMS software?

► My Sql

► MS Excel

► Oracle
► SQL Server

Question No: 8 ( Marks: 1 ) - Please


choose one

A computer virus is a

► Software that saves the computer from


being damaged.

www.virtualinspire.com
www.virtualinspire.com
► Application software that helps to make
different type of viruses and worms

► Program that spreads itself and destroys


other program

► Program that corrects the problems in


your computer

Question No: 9 ( Marks: 1 )

What will be the result of a?


a = Math.abs(-23)

► 23

► -23

► 23.0

► 2.3

Question No: 10 ( Marks: 1 )

- Please choose one

www.virtualinspire.com
www.virtualinspire.com

- Please choose one

A Special program required to view swf


(Shockwave Flash) files in web Browser is called

► TFlash

► Vflash

► plug-in

► None of the given options

Question No: 11 ( Marks: 8 )

Match the relevant options from the


given two columns and write the
correct options inColumn 3.
Column 1
Column 2
Column 3

1.F Mainframe
A. Network Traffic
Computers
controller

www.virtualinspire.com
www.virtualinspire.com
2.H Mosaic
B. Laptop
3.E Operating System
C. Micro Processor
4A Router
D. Software Piracy
5. G Spread Sheet
E. Windows XP
6.B Mobile Computer
F. Enterprise Servers
7.C Intel 4004
G. VisiCalc
8.D Cyber Crime
H. Web Browser

Question No: 12 ( Marks: 12 )

(a) What is the difference between Wisdom and


Heuristic?

(b) Differentiate between Cyber crime and Cyber


warfare.

(c) What is a Relational Database? Give the


names of any three RDBMS softwares?

Question No: 13 ( Marks: 8 )

What do you know about the following ? Describe


briefly.

www.virtualinspire.com
www.virtualinspire.com
a) Enterprise Resource Planning (ERP)
Software

b) Spread Sheet
c) Network Topology

d) SMTP

Question No: 14 ( Marks: 10 )

(a) What is the difference between


High level and Low level
programming languages?
(Marks:
4)

(b)What
are the
following
abbreviatio
ns stands
for

(Marks: 3)
1- VoIP
voice over
IP
2- DNS
Domain

www.virtualinspire.com
www.virtualinspire.com
Name
System
3- DOS
disk
operating
system

(c) Name three


operations that you
can perform on a
database

(Marks: 3)

Question No: 15 ( Marks: 12 )

a) Develop a Web page that prompts


the user to enter a name and then print
that name five times by using loop. A
sample is shown in the figures below.
(
M
a
r
k
s
:

6
)

www.virtualinspire.com
www.virtualinspire.com

b) Write down the JavaScript


function that is equivalent to the
following HTML code?

(Marks: 3)

HTML code
JavaScript function
<FONT size=18>
fontsize(18)

</FONT>

<FONT
color=”blue”>
fontcolor(blue)

</FONT>
<PRE> … </PRE> fixed()

Question No: 2
Marks:9
Describe the following terms?
• FTP.
• Telnet Protocol.
• IP Address.
Question No: 3
Marks:6
What are local variables? Compare them with global variables?
Question No: 4
Marks:10
Examine the logic of following pseudo code:
www.virtualinspire.com
www.virtualinspire.com
initialize x to 10
initialize y to 0
initialize sum to 0
Repeat while (y <= 6)
{
Add x and y and put results into sum
decrement x by 2
increment y by 3
}
print sum
Stop
What will be the value of the variables “sum, x and y”, each time
after the loop is executed?
Question No: 5
Marks: 10
Write down a JavaScript function with the name “BinConvert( )” that
takes a decimal number and converts it into its equivalent binary
number and displays the result in browser. Call that function in the
body of the web page.
Question No: 6
Marks: 5
What is database? Describe Data Integrity?
Question No: 7
Marks: 2
Web server:
A. Is a software to deliver e-mail
B. Is a computer that store and deliver web pages
C. Does not allow electronic chatting
D. Does not have a Domain name
Question No: 8
Marks: 2
Ports are:
A. Input devices
B. Output devices
C. Used to allow I/O devices to communicate with the CPU
D. Able to process incoming data

www.virtualinspire.com
www.virtualinspire.com
Question No: 9
Marks: 2
A Hyperlink is a:
A. Connection between two computers
B. Connection between two countries on the net
C. Gateway to the next web page
D. Gateway between five continents
Question No: 10
Marks: 2
Vacuum Tubes are:
A. Smaller then transistors
B. Made up of two or more electrodes in a glass metal tube
C. Used in IBM PC
D. Invented by Tim Berners lee
Question No: 11
Marks: 2
Memory inside a microprocessor is called
A. RAM
B. ROM
C. Cache
D. Pre-fetch buffer

Question No. 1
Micro controller
1 Are faster then microprocessor
2 Is another name for microprocessor?
Total
Marks : 2
3 Are complete computer on a chip
4 Cost thousands of dollar per piece
Question No. 2
Two major types of software are
1 Application Software , System Software
2 Application Software , Database Software
3 System Software , Database Software

www.virtualinspire.com
www.virtualinspire.com
4 Database Software , Embedded Software
Question No. 3
Marks : 2
Marks : 5
How Operating System software does manage a device when a
particular application is
executed? Explain with at least one example?
Question No. 4
Word representing the protocol in URL http://www.microsoft.com is
1 www
2 Microsoft
3 microsoft.com
4 http
Question No. 5
What do you know about WWW and what are the basic elements of
web design?
Question No. 6
What do you know about Neural Networks and give any two
examples.
Question No. 7
Define and explain Greedy Algorithm briefly. You are also required to
give key advantage and
an example of Greedy Algorithm.
Question No. 8 Marks : 6
Determine the correct reserved words of JavaScript from the following
list and explain them
briefly.
1 document
2 read
3 alert
4 delete
5 function
Question No. 1
Micro controller
1 Are faster then microprocessor
2 Is another name for microprocessor?

www.virtualinspire.com
www.virtualinspire.com
3 Are complete computer on a chip
4 Cost thousands of dollar per piece

Question No. 2

Two major types of software are

1 Application Software , System Software


2 Application Software , Database Software
3 System Software , Database Software
4 Database Software , Embedded Software
Question No. 3
How Operating System software does manage a device when a
particular application is
executed? Explain with at least one example?

Question No. 4
Word representing the protocol in URL http://www.microsoft.com is
1 www
2 Microsoft
3 microsoft.com
4 http
Question No. 5
What do you know about WWW and what are the basic elements of
web design?
Question No. 6
What do you know about Neural Networks and give any two
examples.
Question No. 7

Define and explain Greedy Algorithm briefly. You are also required to
give key advantage and
an example of Greedy Algorithm.
Question No. 8
Determine the correct reserved words of JavaScript from the following
list and explain them

www.virtualinspire.com
www.virtualinspire.com
briefly.
1 document
2 read
3 alert
4 delete
5 function
6 comment

Question No. 9
Discuss any three issues/characteristics of Data Management.
Question No. 10
Write function using JavaScript. The name of function will be
"display( )". The "display( )"
function will display the following string as shown below:
X3 + Y2

[Hint: Use string methods sub( ) and sup( )]


The "display( )" function should be called at onLoad event.

Question No. 11
Consider the following code
pitch = "hard"
bowler="slow"
if ( (pitch == "hard") || (bowler == "fast") )
myStatus = "Bouncer" ;
else
myStatus = "Short Pitch" ;
Variable myStatus will contain the value:
1 Bouncer
2 Short Pitch
3 Hard
4 Slow
Question No. 12
What does the following JavaScript code
function changeBgcolor()
{

www.virtualinspire.com
www.virtualinspire.com
oldColor = window.document.bgColor;
window.document.bgColor = "pink";
window. alert("The old color was " + oldColor);
}
1 Change the Color of Window document to pink and nothing
else
2 Change the Color of Window document to pink and display the
name of old Color in a
dialogue box
3 Change the Color of Window document to Blue and displays
name of old color in a
dialogue box
4 Create a form in window document

Question No: 27 ( Marks: 1 )


What BIOS stands for? – Binary Input Output System

Question No: 28 ( Marks: 1 )


List down the Analytical Engine's components name (any
two)
Answer : Google & Netscape,

Question No: 29 ( Marks: 2 )


Why uploading a web page is important? Describe in 2 –
3 lines.
Answer : By only uploading webpage we could place our
information in order the other can reach up to ready what
we load, upload means make available our data or
information for the world web browsers

Question No: 30 ( Marks: 3 )


What is the difference between microprocessors and
microcontrollers? Give one example of both.

www.virtualinspire.com
www.virtualinspire.com
Answer : The microprocessor is electronic equipment which
can perform several function and also processing of data
and information present in a computer, while
microcontroller can only perform one function for that its
design
Example
Microprocessors _ Pentium 4
Microcontroller _ can be a switch in side the washing
machine

Question No: 31 ( Marks: 5 )


Differentiate uni-Processor OS from Multi-Processor OS.
Answer : The Multiprocessors is when more than one
processor is under operation it can be several or may
hundreds of the kind to perform one great operation or
calculation, while our PC is a kind of uni-processor

Question No: 32 ( Marks: 5 )


Why do we call JavaScript an Object-based Language?
Answer : Java Script is a language by which we are
writing our web-pages, this language is designed to work
for web pages

Question No: 33 ( Marks: 2 )


What is meant by semantic error ?

Answer:
Occur when a statement executes and has an effect not
intended by the programmer and Often times occur
only in unusual & infrequent circumstances

Question No: 34 ( Marks: 2 )


List down the names of two array methods available in
JavaScript.
www.virtualinspire.com
www.virtualinspire.com

Answer:
1. sort( ) [sorts elements in
alphabetical order]
2. reverse( ) [Reverses the
order of elements]

Question No: 35 ( Marks: 3 )


How can you define a consistent web design? Why is it
needed?

Answer:
A consistent good designed website is generated for
general public that allows users to attain what they
want as quickly as possible without spending much
effort.

A consistent good design assists the user in recovering


from errors.

Question No: 36 ( Marks: 3 )


How can we include images in a web page using HTML
and Java script?

Answer:
Image in HTML
<IMG src=URL, alt=text height=pixels width=pixels
align="bottom|middle|top">

Image in Javascript
Images in JavaScript can be manipulated in many ways
using the built-in object Image.
Additional properties to HTML are hspace, vspace &
lowsrc.
Example: It can be used by many handlers like,
onAbort, onLoad & onError

www.virtualinspire.com
www.virtualinspire.com

Question No: 37 ( Marks: 3 )


The event handler attribute consists of three parts. Write
about each of them.

Answer :
The identifier of the event handler
The equal sign
A string statement enclosed in double or single quotes.

Question No: 38 ( Marks: 5 )


What is a packet in the network environment? What kind
of information does it contain?

Answer:

 Packet is data chopped up into pieces in a network


environment.
 These packets contain information about which computer
sent the data and where the data is going.
 If a packet runs into a problem during its trip, it can
attempt to find another route. When all the packets get
where they are going, the recipient computer puts them
together again.

Question No: 39 ( Marks: 5 )


Suppose we have a big project. Draw hierarchy of the
people involved in the project?

Answer:
Please ignore small lines relating Sub Teams to
subordinates due to shortage of time. ABCD etc are
connected directly to Team Lead 1,2 & 3 accordingly.

www.virtualinspire.com
www.virtualinspire.com

Question No: 31 ( Marks: 1 )


What is heuristic?

Common sense Lesson drawn from experience


(Artificial) Intelligent Systems
SW programs or SW/HW systems designed to perform
complex tasks employing strategies that mimic
some aspect of human thought

or

 a commonsense rule (or set of rules) intended to increase the


probability of solving some problem
 of or relating to or using a general formulation that serves to
guide investigation

Question No: 32 ( Marks: 1 )


In programming, what is an object ?

Object: A named collection of properties (data, state) &


methods (instructions, behavior)

Question No: 33 ( Marks: 2 )


What is spreadsheet? List any two jobs that it can do.
A spreadsheet is a grid that organizes data into columns
and rows. Spreadsheets make it easy to display
information, and people can insert formulas to work with
the data.

Electronic replacement for ledgers


Charts
financial-forecasting

www.virtualinspire.com
www.virtualinspire.com
Question No: 34 ( Marks: 2 )
In JavaScript, what is event handling? What are the
two types of events?

Capturing events and responding to them


The system sends events to the program and the program
responds to them as they arrive
Events can include things a user does - like clicking the
mouse - or things that the system itself does -
like updating the clock.

Question No: 35 ( Marks: 3 )


Explain how many ways businesses monitor their
employees?
• Systems are available that monitor almost every key
stroke that an employee makes on a computer
• Systems are available that read and censor all incoming
and outgoing eMail
• It is quite straight forward to monitor where you surf,
and when

Question No: 36 ( Marks: 3 )


What is difference between Design and System
Architecture?
A system architecture or systems architecture is the
conceptual design that defines the structure and/or
behavior of a system.
An architecture description is a formal description of a
system, organized in a way that supports reasoning
about the structural properties of the system
Designs it as an independent, selfcontained system

Question No: 37 ( Marks: 3 )

www.virtualinspire.com
www.virtualinspire.com
What are the Sub categories of Artificial Intelligence?
Briefly explain any two.
Expert systems
Systems that, in some limited sense, can replace an expert
Robotics
Automatic machines that perform various tasks that were
previously done by humans
Example:
Pilot-less combat air planes

Decision Support Systems:


Interactive software designed to improve the decision-
making capability of their users
Utilize historical data, models to solve problems

Question No: 38 ( Marks: 5 )


How many ways are there to call a function in a
program ? Explain with example
Functions do not run automatically. When the page loads,
each function waits quietly until it is told to run
Calling a Functio n From a n Event
Handler
An event handler is a c om ma nd which
calls a function when an even t happ en s,
su ch as th e user clickin g a butt on.
The command is written in the format
onEve nt, wh ere Eve nt is th e name for a
sp ec ific a ct ion . Here are some common
examp les:

Calling a Functio n From Another


Function
function doSomething() {

www.virtualinspire.com
www.virtualinspire.com
doSomethingElse(); // This line calls the next function
}

Question No: 39 ( Marks: 5 )


Elaborate the ‘+ ’ operator and its constraints with the
help of examples
The “+” String Operator
The “+” operator can be used to concatenate two strings
title = “bhola” + “continental”
The value of the variable title becomes “bholacontinental”

Question No: 40 ( Marks: 10 )


Write a JavaScript program having two functions sum
and mean.
The web page will ask the user to enter five values to
be added.
After taking input it will calculate the sum and mean
of those values by calling sum and mean functions.

Question No: 41 ( Marks: 10 )


Define the following terms.
Object
A named collection of properties(data, state) &
methods (instructions, behavior)
Event Handler
An event handler is a c om ma nd which
calls a function when an even t happ en s,
su ch as th e user clickin g a butt on
Local Variable
Declaring variables (using the var keyword) within a
function, makes them local•They are available only
within the function and hold no meaning outside of it

www.virtualinspire.com
www.virtualinspire.com
Scope of Variable
Defining the space in which a variable is effective is
known as
defining the scope of a variable. A variable can be
either local or global in scope
Array
An indexed list of elements

Question No: 31 ( Marks: 1 )


In programming, what is a loop?
In computer science a for loop is a programming language statement
which allows code to be repeatedly executed. A for loop is classified
as an iteration statement.

Question No: 32 ( Marks: 1 )


What are the other names of function? Any one.
Routine , procedure , sub prograam

Question No: 33 ( Marks: 2 )


How JavaScript Arrays are heterogeneous ?
Arrays are heterogeneous in java script because at the same time
stimultanously they can hold elements of multiple data types

Question No: 34 ( Marks: 2 )


What is the database?
Data base is a collection of organized data in a proper way that
computer can quickly search for any desired data item , its an easy
way of allowing of manipulation of data,they are design in such a
way that access to any desired data can be identified and reached
quickly and easy , they are generally consist of collection of
interrelated files

Question No: 35 ( Marks: 3 )


Differentiate between LAN and WAN with one example of each.
Lan is a local area network where as wan is a wide area network
Lan can be used in a specific areas with limited computers where as

www.virtualinspire.com
www.virtualinspire.com
wan can be used on computers shared by large distances
For example lan can be used on pc s or an organization located in
one building but wan can be used on large scales like banks all over
or in any Large communication systems

Question No: 36 ( Marks: 3 )


What are Trojan Horses ?
Trojen horses are a kind of cyber crime , they are v harmful to
computer because they are stand alone programme and the look like
what they are not like any thing amusing or not harmless like games..

Question No: 37 ( Marks: 3 )


Elaborate Rester Graphics with examples.
A raster graphics image, digital image, or bitmap, is a data file or
structure representing a generally rectangular grid of pixels, or points
of color, on a computer monitor, paper, or other display device.

To illustrate the matter further - here's the letter "J":


J
Look closely at it... Take a magnifying glass to it if you like. You see
a "J", the computer sees something more like this, where '.' represents
a zero and 'X' represents a one:

....X
....X
....X
....X
....X
....X
....X
X...X
X...X
.XXX.

Where you see a zero, the computer instructs its video hardware to

www.virtualinspire.com
www.virtualinspire.com
paint the current background color. A one calls for the current
foreground color. Yes, it is actually a bit more complicated, but it all
basically boils down to one bit or the other making a distinction
between the colors of adjacent pixels, which together form an image.

Question No: 38 ( Marks: 5 )


What are the important properties, methods and event handlers of
image object?
The primary use of the image object is to download an image into
the cache before it is needed to display , image object can be used to
create different kinds of animations or to display one of several
images based on the desired requirement , in java script image object
can be used to display the required pre loaded image
Properties of image object is : height , width ,hspace ,vspace , src ,
name border etc
Methods :none
Event handlers:on aboart , onload, onerror etc

Question No: 39 ( Marks: 5 )


Write the JavaScript code for the Function
SumOddNumbers(maxNumber) that can add non-negative odd
numbers up to maxNumber and return their sum.

Function sum odd numbers(maxnumber){var sum=0;


For(i=0; <maxNumbers;I++)
{
{
if(i / 2 == 1 || i == 1)
sum += i;
}

return sum;

www.virtualinspire.com
www.virtualinspire.com
Question No: 40 ( Marks: 10 )
Write a note on :
· Coding guidelines
· Guidelines for developing short programs.
· Coding guidelines
· • Always use semicolons to end statements
· • Indent blocks of code (2 to 5 spaces)
· • Identifiers
· • Use the camel back scheme
· • Variables: nouns
· • Functions: verbs
· • Comment Liberally
· • Make them descriptive but concise
·
Gudelines for developing short programs.
· • Read and understand the problem
· • Do you have all the required data?
· • No: Get it
· • Else assume it. State it explicitly
· • Do the design

Question No: 41 ( Marks: 10 )


write a note on each of the following:
a. Vector or Object-Oriented Graphics:
b. Bit-Mapped or Raster Graphics:
A:In Vector or object oriented graphic everything drawn is treated as
object. objects retain their identity after they are drawon. these objects
can later be moved, stretched, duplicated, deleted,etc. they are
resolution independent and have relatively small file size. the examples
are: swf, svg, wmf, ps
brass_ibrahim: Vector graphics is the use of geometrical primitives
such as points, lines, curves, and shapes or polygon(s), which are all
based on mathematical equations, to represent images in computer
graphics.
brass_ibrahim: The term "vector graphics" is mainly used today in the
context of two-dimensional computer graphics Virtually all modern 3D

www.virtualinspire.com
www.virtualinspire.com
rendering is done using extensions of 2D vector graphics techniques
.Virtually all modern 3D rendering is done using extensions of 2D
vector graphics techniques
B:Bit-Mapped or Raster Graphics:
Treats everything that is drawn as a bit-map
If an object is drawn on top of another, it is difficult to move just one
of them while
leaving the other untouched
Changing the resolution often requires considerable touch-up work
Relatively large file size
Examples: gif, jpg, bmp
masood.tariq: Bit-Mapped or Raster Graphics:
Treats everything that is drawn as a bit-map
If an object is drawn on top of another, it is difficult to move just one
of them while
leaving the other untouched
Changing the resolution often requires considerable touch-up work
Relatively large file size
Examples: gif, jpg, bmp

28 objectives were from old papers out of 30.

What is Array?
Marks 2
what is computer prrofessional? Marks 2
define onLoad and onUnload? Marks 2
waht is time bomb?
Marks 2
what is bandwidth?

www.virtualinspire.com
www.virtualinspire.com
Marks 2
"while" loop is more preferable than "For" loop? Marks 3
sementic web and present web? Marks 3
can we replace a human doctor by Expert system? Marks 5
Difference Internt and intranet? Marks 5
ways of navigation Heuristics? Marks 5
event handling?

Define network organization and its advantages? Marks 10

Coding Guidline and guidlines for short programs? Marks 10

Dewelop a web page that displays six thumbnails


images. A main image should be changed to a large
version of thumbnail as soon as the mouse moves
over the thumbnail. Write complete html and java script? Marks 10

characteristics of Internet?
Marks 10

Profile and responsibilities of Team Leader? Marks 10

due to computer how many jobs are available and


how many jobs are eliminated?
Marks

Today was my CS101 Paper. The Subjective Quizzes are as under:

1. How many members are in operational team and what there key
resposibilities

2. What is Computer Screen?

3. What are weaknesses of the web?

www.virtualinspire.com
www.virtualinspire.com

4. Characteristics of Internet (Any Five)?

5. Breifly describe
Telnet
VoIP
Instant Messaging
FTP
IP/TCP
6. Describe the organizational structure?

7. What is image process

8. Pixel?

Today I had CS 101 Paper.There were 41 questions.30 objective and


11 descriptive.Few of the questions were:
3 attributes of event handler
Difference between Internet and Intranet
Function
Commonsense to avoid viruses and explain antivirus
TCP/IP
An attack on Yahoo servers
Spreadsheets
Codes for uploading file
Hierarchy in an organization
Team lead
COO
Developer
Businessess monitoring their employees
'+' operator
Image in Javascript

www.virtualinspire.com
www.virtualinspire.com

Question No: 31 ( Marks: 1 )


What is the function of Network Interface Card ?

Question No: 32 ( Marks: 1 )


In programming, what is a loop?
Ans:

In computer programming, a loop is a sequence of


instructions that is continually repeated until a certain
condition is reached. A loop is a fundamental programming
idea that is commonly used in writing programs.

Question No: 33 ( Marks: 2 )


What is an intelligent system?

Question No: 34 ( Marks: 2 )


Why hub is used in networks?
Ans:
Network hubs are used to connect multiple workstations for routing
through a single link to a server. In computer network systems, hubs,
switches, repeaters, and routers are used when creating a network.

Question No: 35 ( Marks: 3 )


What are Trojan Horses ?

Question No: 36 ( Marks: 3 )


Elaborate with examples Vector or Object Oriented graphics

Question No: 37 ( Marks: 3 )


How can you define a consistent web design? Why is it needed?

www.virtualinspire.com
www.virtualinspire.com
Question No: 38 ( Marks: 5 )
if s = ”All is well that ends well”
then write JavaScript code that use ‘e ’as delimiter to split the given
string and show output using java script statements.

Question No: 39 ( Marks: 5 )


What are the advantages of multimedia presentations? Write any five.
Ans:
1.Great tool for effectively communicating ideas to an audience
2.Easy to make last minute changes
3.The undo feature encourages experimentation
4.More attractive; commanded more interest
5.May include animations, sound, video
6.Easy to catalog, store, and recall
7.Great tool for making presenter-free interactive material (e.g. self-
learning tutorials)

Question No: 40 ( Marks: 10 )


Write down HTML and JavaScript code for the following
requirements:

Declare an Array with the identifier SUBJECT having length 5.


Assign following values to the array elements:
MIS, Java, Algorithms, Databases, C++
Show all values in reverse order.

x= new array(5);
x[0]=”MIS”;
x[1]=”Java”;
x[2]=”Algorithms”;
x[3]=”Databases”;
x[4]=”C++”;
x.reverse();
x.sort();

www.virtualinspire.com
www.virtualinspire.com
for ( k = 0 ; k < x.length; k = k + 1 ) { document.write( x[ k ] +
“<BR>”) ;
}

www.virtualinspire.com
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Question # 1 of 10 ( Start time: 05:10:26 PM ) (www.vuaskari.com)


The name of first commercially available PC was:
Select correct option:

UNIVAC 1
ENIAC
EDVAC
Altair 8800

Question # 2 of 10 ( Start time: 05:11:49 PM ) (www.vuaskari.com)


The first Web browser with a GUI was generally available in:
Select correct option:

1992
1993
1994
1995

Question # 3 of 10 ( Start time: 05:26:02 PM ) (www.vuaskari.com)


Which Power in voltages in DC is not NOT supported by power supply of the PC?
Select correct option:

+ 12 and – 12 V DC
-10 and + 10 V DC
-5 and + 5 V DC
None of the given choices

Question # 5 of 10 ( Start time: 05:28:53 PM ) (www.vuaskari.com)


Compared to vacuum tubes, Transistors offer:
Select correct option:

Much smaller size


Better reliability
Much lower cost
All of the given choices

Transistors replaced vacuum tubes because they too could act as switches but were
smaller, cheaper, and consumed less power.
http://www.computersciencelab.com/ComputerHistory/HistoryPt4.htm

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Question # 6 of 10 ( Start time: 05:29:48 PM ) (www.vuaskari.com)


___ is an application program that provides a way to look at and interact with all the
information on the World Wide Web.
Select correct option:

URL
Browser
HTML
HTTP

Question # 7 of 10 ( Start time: 05:30:37 PM ) (www.vuaskari.com)


World wide web is a collection of web pages which is:
Select correct option:

logically unified
physically distributed
logically combined
logically unified and physically distributed

Question # 8 of 10 ( Start time: 05:31:08 PM ) (www.vuaskari.com)


The name of first electronic computer designed to incorporate a program stored entirely
within its memory was:
Select correct option:

ENIAC
Harvard Mark 1
EDVAC
Attanasoff-Berry Computer

Question # 9 of 10 ( Start time: 05:32:32 PM ) (www.vuaskari.com)


The Analytical Engine was machine of which type?
Select correct option:

Programmable
Mechanical
Digital
All of the given choices

Question # 10 of 10 ( Start time: 05:33:02 PM ) (www.vuaskari.com)


Grace Hopper of US Navy develops the very first_______compiler
Select correct option:

Low-level Language

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

High-level language
Both high and low level language
None of the given choices
(Slide 27) Grace Hopper, US Navy, develops the very first high-level language compiler.
http://www.google.com.pk/url?sa=t&rct=j&q=grace%20hopper%20of%20us%20navy%
20develops%20the%20very%20first%20high%20level%20compiler&source=web&cd=4
&sqi=2&ved=0CC8QFjAD&url=http%3A%2F%2Fwww.altafkhan.com%2Fcs101ppt%2
Fevolution-of-
computing.ppt&ei=2WHBTqmzLcrNrQeIjK3NAQ&usg=AFQjCNFaqexvYE6dRZlfU_5
LVCZ9w5ZOzA

Question # 1 of 10 ( Start time: 05:35:21 PM ) (www.vuaskari.com)


Which one of the following register types stores SIMD instructions?
Select correct option:

General Registers
Vector Registers
Data Registers
Address Registers

Question # 2 of 10 ( Start time: 05:36:28 PM ) (www.vuaskari.com)


_ is a related collection of WWW files that includes a beginning file called a homepage.
Select correct option:

HTML
HTTP
Web Site
Web Page

Question # 3 of 10 ( Start time: 05:37:47 PM ) (www.vuaskari.com)


Magnetic tapes were replaced by:
Select correct option:

Hard Disks
Floppy Disks
Compact Disks
Punch cards

Question # 4 of 10 ( Start time: 05:39:11 PM ) (www.vuaskari.com)


By default in a web page Hyper Link for another web page is represented as:
Select correct option:

Blue only
Black and Underlined

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Blue and Bold


Blue and Underlined

Question # 5 of 10 ( Start time: 05:40:16 PM ) (www.vuaskari.com)


To move from one page to other page on the web, a hyper link is given which is:
Select correct option:

Of blue color
Underlined
Of red color
Of blue color and underlined

Question # 6 of 10 ( Start time: 05:41:22 PM ) (www.vuaskari.com)


Monitor is an example of __________devices
Select correct option:

Output
Input
Processing
None of the given choices

Question # 7 of 10 ( Start time: 05:41:52 PM ) (www.vuaskari.com)


Processor is also known as:
Select correct option:

Brain of the computer


CPU
Central Processor
All of the given choices

Question # 8 of 10 ( Start time: 05:42:12 PM ) (www.vuaskari.com)


Utility Software is a type of ________ Software
Select correct option:

System
Application
both a & b
none of the given

Utility software is a kind of system software designed to help analyze, configure,


optimize and maintain the computer
http://en.wikipedia.org/wiki/Utility_software

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Question # 9 of 10 ( Start time: 05:43:37 PM ) (www.vuaskari.com)


What was the name of first commercial supercomputer?
Select correct option:

UNIVAC 1
EDVAC
Cray 1
Altair 8800
The first "Super Computer" called the Cray-1 is released commercially
http://www.web-friend.com/help/general/pc_history.html

Question # 10 of 10 ( Start time: 05:44:28 PM ) (www.vuaskari.com)


World wide web is a collection of web pages which is:
Select correct option:

logically unified
physically distributed
logically combined
logically unified and physically distributed

Question # 1 of 10 ( Start time: 05:49:14 PM ) (www.vuaskari.com)


Smallest unit of storage is:
Select correct option:

Bit
Byte
Mega Byte
None of the given choices
http://www.teach-
ict.com/gcse_new/computer%20systems/storage_units/quiz/engarde_storage_units.swf

Question # 2 of 10 ( Start time: 05:49:37 PM ) (www.vuaskari.com)


_____ can perform at or near the currently highest operational rate for computers.
Select correct option:

Microcomputers
Supercomputers
Personal Computer
Mini Computer

Question # 3 of 10 ( Start time: 05:50:20 PM ) (www.vuaskari.com)

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

You have learnt about tags, recalling Head Tag, Which one is correct?
Select correct option:

<HEAD> </HEAD>
<HEAD> <END>
<HEAD> </END>
<HEAD> <\HEAD

Question # 4 of 10 ( Start time: 05:50:47 PM ) (www.vuaskari.com)


_____ is used for amplification, and has three terminals.
Select correct option:

Resister
Diode
Transistor
Capacitor

Question # 5 of 10 ( Start time: 05:51:39 PM ) (www.vuaskari.com)


Teraflop stands for:
Select correct option:

Thousand floating point operations per second


Thousand floating point operations per hour
Trillion floating point operations per second
Trillion floating point operations per hour

Question # 6 of 10 ( Start time: 05:52:38 PM ) (www.vuaskari.com)


Which one of the following units can be called as the brain of computer microprocessor?
Select correct option:

ALU (Arithmetic & Logic Unit)


FPU (Floating Point Unit)
Control Unit
Bus Interface Unit

Question # 7 of 10 ( Start time: 05:53:57 PM ) (www.vuaskari.com)


There is a battery on the mother board to:
Select correct option:

give power to the processor


Save information when computer is OFF
Help the boot process
Save information when computer is ON

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Question # 8 of 10 ( Start time: 05:54:46 PM ) (www.vuaskari.com)


Attanasoff-Berry Computer the first computer that used:
Select correct option:

Binary number system


Octal number system
Decimal number system
Hexadecimal number system
Although, as one can see above, the ABC was not a general-purpose computer (its
function was fixed), meaning that it did not implemented the stored program architecture
(Von Neumann architecture). It still was the first to implement 3 of the most important
ideas used in computers now-days. The first and probably most important was using
binary digits (1's and 0's) to represent all the numbers in a given data. The second was to
perform all the calculations using electronics instead of mechanical switches and wheels.
And the third was using the principle from the Von Neumann architecture where the
memory and the computations were separate
http://www.columbia.edu/~td2177/JVAtanasoff/JVAtanasoff.html

Question # 9 of 10 ( Start time: 05:55:28 PM ) (www.vuaskari.com)


Which interface on computer supports transmission of multiple bits at the same time?
Select correct option:

Serial Port
Parallel Port
PS/2 Port
Universal Serial Bus
It is also known as a printer port or Centronics port. The IEEE 1284 standard defines the
bi-directional version of the port, which allows the transmission and reception of data bits
at the same time.
http://en.wikipedia.org/wiki/Parallel_port

Question # 10 of 10 ( Start time: 05:56:24 PM ) (www.vuaskari.com)


HTTP stands for:
Select correct option:

Hyper Text Transparent Protocol


Hyper Terminal Transfer Provider
Hyper Text Transfer Procedure
Hyper Text Transfer Protocol

Question # 1 of 10 ( Start time: 06:01:41 PM ) (www.vuaskari.com)


PDA stands for:

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Select correct option:

Personal Data Assignment


Public Data Association
Personal Digital Agreement
Personal Digital Assistant

Question # 2 of 10 ( Start time: 06:02:47 PM ) (www.vuaskari.com)


The MS DOS operating system came bundled with:
Select correct option:

UNIVAC 1
Cray 1
IBM PC
Altair 8800
 1981
 February MS-DOS runs for the first time on IBM's prototype microcomputer.
http://www.softpanorama.org/History/dos_history.shtml

Question # 3 of 10 ( Start time: 06:03:51 PM ) (www.vuaskari.com)


RAM stands for:
Select correct option:

Real Alter Memory


Random Associated Memory
Random Access Memory
Real Associated Memory

Question # 4 of 10 ( Start time: 06:04:14 PM ) (www.vuaskari.com)


The name of first program-controlled machine was:
Select correct option:

ENIAC
Attanasoff-Berry Computer
Harvard Mark 1
Pentium
The Harvard-IBM MARK I, a program controlled, large scale calculating machine
completed in 1944.
http://www.fortunecity.com/marina/reach/435/people.html

Question # 5 of 10 ( Start time: 06:05:40 PM ) (www.vuaskari.com)


The difference between <P> </P> and <BR> tags is that:
Select correct option:

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

<p></p> goes to the next line.


<BR> goes to the next after next line
<P></P> goes to the next after next line
Both are the same
The difference between <br> and <p> is that 'br' breaks a line without altering the
semantic structure of the page, whereas 'p' sections the page into paragraphs.
http://en.wikipedia.org/wiki/HTML

Note: A <P> tag has the same effect as two <BR> tags.
http://www.tedmontgomery.com/tutorial/text.html

Question # 6 of 10 ( Start time: 06:06:44 PM ) (www.vuaskari.com)


Which of the following translates a high-level language (that is easy to understand for
humans) into a language that the computer can understand?
Select correct option:

Computer
Transistor
Compiler
None of the above
Each high-level language needs a compiler or an interpreter to translate instructions
written in the high-level programming language into a machine language that a computer
can understand and execute
http://aelinik.free.fr/c/ch01.htm

Question # 8 of 10 ( Start time: 06:08:29 PM ) (www.vuaskari.com)


Quantum Mechanics is the branch of _____ ; which describes the activity of subatomic
particles.
Select correct option:

Chemistry
Computer Science
Physics
None of the given choices

Question # 9 of 10 ( Start time: 06:09:20 PM ) (www.vuaskari.com)


Intel 8088 took ____ cycles to execute.
Select correct option:

80
15

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

20
50
As seen earlier, a typical instruction in a processor like an 8088 took 15 clock cycles to
execute
http://www.zenith-india.com/zen/TrainingMaterial/details/howmicroprocessorswork.htm

Question # 10 of 10 ( Start time: 06:10:45 PM ) (www.vuaskari.com)


MB stands for:
Select correct option:

Micro Bytes
Mega Bytes
Mini Bytes
Milli Bytes

Question # 1 of 10 ( Start time: 06:17:47 PM ) (www.vuaskari.com)


In this URL http://www.msn.com , what identifies the domain name?
Select correct option:

http
www
msn
com

Question # 2 of 10 ( Start time: 06:19:06 PM ) (www.vuaskari.com)


Attanasoff-Berry Computer the first computer that used:
Select correct option:

Binary number system


Octal number system
Decimal number system
Hexadecimal number system

Question # 3 of 10 ( Start time: 06:20:15 PM ) (www.vuaskari.com)


Which one of the following register types stores SIMD instructions?
Select correct option:

General Registers
Vector Registers
Data Registers
Address Registers

Question # 4 of 10 ( Start time: 06:20:51 PM ) (www.vuaskari.com)

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

The name of first electronic computer designed to incorporate a program stored entirely
within its memory was:
Select correct option:

ENIAC
Harvard Mark 1
EDVAC
Attanasoff-Berry Computer
(EDVAC)—in stark contrast to the designs of Aiken, his contemporary—was the first
electronic computer design to incorporate a program stored entirely within its memory.
http://answers.yahoo.com/question/index?qid=20091219141120AAhLoVD

Question # 5 of 10 ( Start time: 06:21:32 PM ) (www.vuaskari.com)


Web is a unique invention by humans in terms that it is:
Select correct option:

accessible to all humans


accessible to only the owners who control it
accessible to particular locations only
None of the given choices

Question # 6 of 10 ( Start time: 06:21:59 PM ) (www.vuaskari.com)


Celeron is type of :
Select correct option:

RAM
ROM
Hard Disk
Processor

Question # 7 of 10 ( Start time: 06:22:21 PM ) (www.vuaskari.com)


USB stands for:
Select correct option:

Uniform System Bill


Universal System Bus
Universal Serial Bus
Unified Sequential Bus

Question # 8 of 10 ( Start time: 06:23:04 PM ) (www.vuaskari.com)


ENIAC was able to perform:
Select correct option:

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

3,000 Operations/sec
4,000 Operations/sec
5,000 Operations/sec
6,000 Operations/sec

(Page 36) The 4004 powered one of the first portable electronic calculators. It was as
powerful as ENIAC which had 18000 tubes and occupied a large room. It cost less than
$100. Its targeted use was of calculation. It consisted of 2250 transistors and 16pins.
Speed was 108 kHz, 60,000 ops/sec.

Question # 9 of 10 ( Start time: 06:24:14 PM ) (www.vuaskari.com)


The name of programming language, specifically designed by the US Department of
Defense for developing military applications, was:
Select correct option:

Smalltalk
C
C++
Ada

Question # 10 of 10 ( Start time: 06:24:45 PM ) (www.vuaskari.com)


Joystick is an example of :
Select correct option:

Output device
Processing device
Input device
Computational device

Question # 1 of 10 ( Start time: 07:08:32 PM ) (www.vuaskari.com)


URL stands for:
Select correct option:

Uniform Reverse Location


Universal Resolution Locator
Uniform Resource Locator
Universal Re-engineering Location

Question # 2 of 10 ( Start time: 07:08:54 PM ) (www.vuaskari.com)


Celeron is type of :
Select correct option:

RAM

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

ROM
Hard Disk
Processor

Question # 3 of 10 ( Start time: 07:09:22 PM ) (www.vuaskari.com)


Which interface on computer supports transmission of multiple bits at the same time?
Select correct option:

Serial Port
Parallel Port
PS/2 Port
Universal Serial Bus

Question # 4 of 10 ( Start time: 07:09:53 PM ) (www.vuaskari.com)


Which one of these is NOT an example of storage devices?
Select correct option:

CD
Floppy
Hard Disk
RAM

Question # 5 of 10 ( Start time: 07:10:19 PM ) (www.vuaskari.com)


You have learnt about tags, recalling Head Tag, Which one is correct?
Select correct option:

<HEAD> </HEAD>
<HEAD> <END>
<HEAD> </END>
<HEAD> <\HEAD

Question # 6 of 10 ( Start time: 07:09:35 PM ) (www.vuaskari.com)


In HTML, which tag is used for the highest level Heading?
Select correct option:

<h5></h5>
<h2></h2>
<h1></h1>
<title></title>

Question # 7 of 10 ( Start time: 07:10:55 PM ) (www.vuaskari.com)


Byte is a combination of……………
Select correct option:

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

8 bits
16 bits
32 bits
4 bits

Question # 8 of 10 ( Start time: 07:11:22 PM ) (www.vuaskari.com)


The best strategy used for complex Boolean operation is called………
Select correct option:

Brute-force
Greedy Algorithm
Divide and conquer
None of above
(Page 45) 8.4 STRATEGY: Divide & Conquer

Question # 9 of 10 ( Start time: 07:12:10 PM ) (www.vuaskari.com)


System Bus helps in communicating to:
Select correct option:

Input Devices
Storage
Processor
All of the given choices

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Question # 10 of 10 ( Start time: 07:12:45 PM ) (www.vuaskari.com)


Altair 8800 was based on ___ processor
Select correct option:

Inter 4004
Intel 8080
Intel 386
Pentium
The MITS Altair 8800 was a microcomputer design from 1975 based on the Intel 8080
CPU
http://en.wikipedia.org/wiki/Altair_8800

Question # 1 of 10 ( Start time: 05:34:24 PM ) (www.vuaskari.com)


Different parts or components use ___ as a communication path
Select correct option:

RAM
Buses
ROM
Processor
An internal bus serves as the communication highway of the motherboard. It links the
different parts of the computer to the CPU and the main memory.
http://www.wisegeek.com/what-is-a-motherboard-bus.htm

Question # 2 of 10 ( Start time: 05:35:15 PM ) (www.vuaskari.com)


CD stands for:

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Select correct option:

Computer Disc
Computer Data
Compact Disc
Compact Data

Question # 3 of 10 ( Start time: 05:35:39 PM ) (www.vuaskari.com)


Processor is also known as:
Select correct option:

Brain of the computer


CPU
Central Processor
All of the given choices

Question # 4 of 10 ( Start time: 05:36:02 PM ) (www.vuaskari.com)


Altair 8800 was based on ___ processor
Select correct option:

Inter 4004
Intel 8080
Intel 386
Pentium
The MITS Altair 8800 was a microcomputer design from 1975 based on the Intel 8080
CPU
http://en.wikipedia.org/wiki/Altair_8800

Question # 5 of 10 ( Start time: 05:36:29 PM ) (www.vuaskari.com)


Intel 8088 took ____ cycles to execute.
Select correct option:

80
15
20
50

Question # 6 of 10 ( Start time: 05:37:22 PM ) (www.vuaskari.com)


Quantum Mechanics is the branch of _____ ; which describes the activity of subatomic
particles.

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Select correct option:

Chemistry
Computer Science
Physics
None of the given choices

(Slide 47) QUANTUM MECHANICS:


the branch of physics that describes the activity of subatomic particles, i.e. the particles
that make up atoms
http://www.google.com.pk/url?sa=t&rct=j&q=quantum%20mechanics%20is%20the%20
branch%20of%20physics%20%3B%20which%20describes%20the%20activity%20of%2
0subatomic%20particles.%20&source=web&cd=6&ved=0CEcQFjAF&url=http%3A%2
F%2Fwww.altafkhan.com%2Fcs101ppt%2Fevolution-of-
computing.ppt&ei=zeLBTuPIEcPm4QSSwMC8DQ&usg=AFQjCNFaqexvYE6dRZlfU_
5LVCZ9w5ZOzA

Question # 7 of 10 ( Start time: 05:37:49 PM ) (www.vuaskari.com)


Frenchman, named Joseph-Marie Jacquard, invented______________ for storing
weaving patterns for automated textile looms (“khaddian”)
Select correct option:

Floppy Disk
Punched Cards
Magnetic Tape
None of the given choices

(Slide 9) Punched Cards – 1801


• Initially, had no relationship with computers
• Invented by a Frenchman named Joseph-Marie Jacquard for storing weaving
patterns for automated textile looms (“khuddian”)
http://www.google.com.pk/url?sa=t&rct=j&q=quantum%20mechanics%20is%20the%20
branch%20of%20physics%20%3B%20which%20describes%20the%20activity%20of%2
0subatomic%20particles.%20&source=web&cd=6&ved=0CEcQFjAF&url=http%3A%2
F%2Fwww.altafkhan.com%2Fcs101ppt%2Fevolution-of-
computing.ppt&ei=zeLBTuPIEcPm4QSSwMC8DQ&usg=AFQjCNFaqexvYE6dRZlfU_
5LVCZ9w5ZOzA

Question # 8 of 10 ( Start time: 05:38:24 PM ) (www.vuaskari.com)


The name of first commercially available PC was:
Select correct option:

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

UNIVAC 1
ENIAC
EDVAC
Altair 8800

Question # 9 of 10 ( Start time: 05:38:46 PM ) (www.vuaskari.com)


Bit is originated from………………
Select correct option:

Decimal
Binary
Hexadecimal
Octal
A bit (short for binary digit) is the smallest unit of data in a computer. A bit has a single
binary value, either 0 or 1.
http://searchcio-midmarket.techtarget.com/definition/bit

Binary refers to base 2 arithmetic using the digits 0 and 1. This corresponds to the
electric current in a wire- its either On (a value of 1) or Off (a value of 0) and this is
known as a bit, derived from Binary dIgiT.
http://cplus.about.com/od/introductiontoprogramming/g/binarydefn.htm

Question # 10 of 10 ( Start time: 05:39:14 PM ) (www.vuaskari.com)


Which Power in voltages in DC is not NOT supported by power supply of the PC?
Select correct option:

+ 12 and – 12 V DC
-10 and + 10 V DC
-5 and + 5 V DC
None of the given choices
A power supply unit (PSU) supplies direct current (DC) power to the other components
in a computer. It converts general-purpose alternating current (AC) electric power from
the mains (110 V to 120 V at 60 Hz [115 V nominal] in North America, parts of South
America, Japan, and Taiwan; 220 V to 240 V at 50 Hz [230 V nominal] in most of the
rest of the world) to low-voltage (for a desktop computer: 12 V, 5 V, 5VSB, 3V3, −5 V,
and −12 V) DC power for the internal components of the computer.
http://en.wikipedia.org/wiki/Power_supply_unit_(computer)

Question # 1 of 10 ( Start time: 05:59:46 PM ) (www.vuaskari.com)


Tim Berners-Lee was the inventor of:

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

World wide web

Tim Berners-Lee inventor of the World Wide Web in 1991.


http://www.ideafinder.com/history/inventors/berners-lee.htm

Question # 2 of 10 ( Start time: 06:00:34 PM ) (www.vuaskari.com)


The name of first program-controlled machine was:

Harvard Mark 1

The Harvard-IBM MARK I, a program controlled, large scale calculating machine


completed in 1944.
http://www.fortunecity.com/marina/reach/435/people.html

Question # 3 of 10 ( Start time: 06:01:09 PM ) (www.vuaskari.com)


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

Think like human beings

The Turing test does not directly test whether the computer behaves intelligently - it tests
only whether the computer behaves like a human being.
http://en.wikipedia.org/wiki/Turing_test

Question # 4 of 10 ( Start time: 06:01:39 PM ) (www.vuaskari.com)


The grand-daddy of the today’s global Internet was:

ARPANET

On a cold war kind of day, in swinging 1969, work began on the ARPAnet, grandfather
to the Internet.
http://inventors.about.com/library/weekly/aa091598.htm

Question # 5 of 10 ( Start time: 06:02:17 PM ) (www.vuaskari.com)


___ is an application program that provides a way to look at and interact with all the
information on the World Wide Web.
Select correct option:

URL
Browser
HTML
HTTP

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Browser
A browser is an application program that provides a way to look at and interact with all
the information on the World Wide Web. Examples are Internet Explorer from Microsoft
or Safari from Mac.
http://jadelynx.com.au/component/content/article/26

Question # 6 of 10 ( Start time: 06:02:42 PM ) (www.vuaskari.com)


SCSI stands for:

SCSI stands for Small Computer System Interface

SCSI stands for Small Computer System Interface and is pronounced as "skuzzy"
http://webinstituteforteachers.org/~dmoore/IntroBasicWebDesign/scsi.htm

Question # 7 of 10 ( Start time: 06:03:26 PM ) (www.vuaskari.com)


ROWSPAN is used to extend the current cell to some

rows
columns
cells
all of them

Where information may be relevant to multiple rows in the table, the cell containing that
information can be set to span those rows using the rowspan attribute.
http://reference.sitepoint.com/html/th/rowspan

rowspan stretches a cell down two or more rows in a table.


http://doc.novsu.ac.ru/oreilly/web/webnut/ch05_04.htm

Question # 8 of 10 ( Start time: 06:04:08 PM ) (www.vuaskari.com)


TCP Stands for:

Transmission Control Protocol

Question # 9 of 10 ( Start time: 06:04:39 PM ) (www.vuaskari.com)


Punched cards were replaced by:
Select correct option:

Magnetic tape

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

The most significant technological shift, was from the Punch Card, to the use of magnetic
tape as a means of storing data. The Punch Card system anticipated the shift to the
magnetic strip as a means of storing data.
http://cultureandcommunication.org/deadmedia/index.php/Hollerith_Punch_Card#From_
Punch_Cards_to_Magnetic_Tape

Question # 10 of 10 ( Start time: 06:05:23 PM ) (www.vuaskari.com)


Trialware Softwares are used for
Select correct option:

short period
long period
life time
none of the given

Question # 1 of 10 ( Start time: 06:17:22 PM ) (www.vuaskari.com)


The Analytical Engine was machine of which type?
Select correct option:

Programmable
Mechanical
Digital
All of the given choices

Question # 2 of 10 ( Start time: 06:18:37 PM ) (www.vuaskari.com)


Which category of computers lies between Workstation and Mainframe computers?
Select correct option:

Microcomputer
Desktop
Laptop
Minicomputer
(Page 21) In size and power, minicomputers lie between workstations and mainframes.

Question # 4 of 10 ( Start time: 06:21:27 PM ) (www.vuaskari.com)


_ is a related collection of WWW files that includes a beginning file called a homepage.
Select correct option:

HTML
HTTP

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Web Site
Web Page
(Page 18) A Web site is a related collection of World Wide Web (WWW) files that
includes a beginning file called a home

Question # 5 of 10 ( Start time: 06:22:31 PM ) (www.vuaskari.com)


Super Computers are used in:
Select correct option:

Weather forecasting
Aeroplane manufacturing
Atomic Bomb experiments
All of the given choices

As supercomputers have developed in the last 30 years, so have the tasks they typically
perform. Modeling of real world complex systems such as fluid dynamics, weather
patterns, seismic activity prediction, and nuclear explosion dynamics represent the most
modern adaptations of supercomputers. Other tasks include human genome sequencing,
credit card transaction processing, and the design and testing of modern aircraft
http://www.infoweblinks.com/content/supercomputers.htm

Question # 6 of 10 ( Start time: 06:22:58 PM ) (www.vuaskari.com)


Frenchman, named Joseph-Marie Jacquard, invented______________ for storing
weaving patterns for automated textile looms (“khaddian”)
Select correct option:

Floppy Disk
Punched Cards
Magnetic Tape
None of the given choices

Question # 7 of 10 ( Start time: 06:23:21 PM ) (www.vuaskari.com)


Utility Software is a type of ________ Software
Select correct option:

System
Application
both a & b
none of the given
Utility software is a kind of system software designed to help analyze, configure,
optimize and maintain the computer
http://en.wikipedia.org/wiki/Utility_software

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Question # 8 of 10 ( Start time: 06:23:38 PM ) (www.vuaskari.com)


Processor is also known as:
Select correct option:

Brain of the computer


CPU
Central Processor
All of the given choices

Question # 9 of 10 ( Start time: 06:23:50 PM ) (www.vuaskari.com)


1 byte consists of _____ bits.
Select correct option:

10
9
8
None of the given choices
(Page 42) Byte = 8 bits

Question # 10 of 10 ( Start time: 06:24:02 PM ) (www.vuaskari.com)


ENIAC was first____ Computer
Select correct option:

Large-scale
General-purpose
Electronic
All of the given choices
http://en.wikipedia.org/wiki/ENIAC

Question # 1 of 10 ( Start time: 06:26:27 PM ) (www.vuaskari.com)


The name of the First Microprocessor was:
Select correct option:

Intel 4000
Intel 4002
Intel 4004 (page 36)
Intel 4006

Question # 2 of 10 ( Start time: 06:26:56 PM ) (www.vuaskari.com)

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

What are the conditions that must be fulfilled in order to use Web?
Select correct option:

Computer is ON
Web browser is available
PC is connected to the Internet
All of the given choices

Question # 3 of 10 ( Start time: 06:27:18 PM ) (www.vuaskari.com)


The name of person, who constructed the first Analytical Engine, was:
Select correct option:

Harvard
Mark
Charles Babbage
Ada

Question # 4 of 10 ( Start time: 06:27:31 PM ) (www.vuaskari.com)


The Analytical Engine was machine of which type?
Select correct option:

Programmable
Mechanical
Digital
All of the given choices
(Page 9) 1.2. The Analytical Engine
A programmable, mechanical, digital machine

Question # 5 of 10 ( Start time: 06:27:43 PM ) (www.vuaskari.com)


WWW stands for:
Select correct option:

World Wide Web


Wide World Web
World White Web
Wide World White

Question # 6 of 10 ( Start time: 06:27:57 PM ) (www.vuaskari.com)


Punched cards were replaced by:
Select correct option:

Floppy Disk

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Zip Drives
Magnetic storage
None of the given choices
The most significant technological shift, was from the Punch Card, to the use of magnetic
tape as a means of storing data. The Punch Card system anticipated the shift to the
magnetic strip as a means of storing data.
http://cultureandcommunication.org/deadmedia/index.php/Hollerith_Punch_Card#From_
Punch_Cards_to_Magnetic_Tape

Question # 7 of 10 ( Start time: 06:28:10 PM ) (www.vuaskari.com)


The name of first electronic computer designed to incorporate a program stored entirely
within its memory was:
Select correct option:

ENIAC
Harvard Mark 1
EDVAC
Attanasoff-Berry Computer
(EDVAC)—in stark contrast to the designs of Aiken, his contemporary—was the first
electronic computer design to incorporate a program stored entirely within its memory.
http://answers.yahoo.com/question/index?qid=20091219141120AAhLoVD

Question # 8 of 10 ( Start time: 06:28:31 PM ) (www.vuaskari.com)


A data cell of a table contain
Select correct option:

only text
images
tables
all of the given

Question # 9 of 10 ( Start time: 06:29:09 PM ) (www.vuaskari.com)


What was the name of first computer who used Magnetic Tape for storing programs?
Select correct option:

ENIAC
EDVAC
Harvard Mark 1
Attanasoff-Berry Computer
Physically, the computer comprised the following components:
 a magnetic tape reader-recorder

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

http://en.wikipedia.org/wiki/EDVAC

Question # 10 of 10 ( Start time: 06:29:41 PM ) (www.vuaskari.com)


HTTP stands for:
Select correct option:

Hyper Text Transparent Protocol


Hyper Terminal Transfer Provider
Hyper Text Transfer Procedure
Hyper Text Transfer Protocol

Question # 1 of 10 ( Start time: 06:32:26 PM ) (www.vuaskari.com)


The last famous electromechanical computer was:
Select correct option:

ENIAC
Harvard Mark 1
IBM-PC
Attanasoff-Berry Computer
(Slide 19)
http://www.google.com.pk/url?sa=t&rct=j&q=quantum%20mechanics%20is%20the%20
branch%20of%20physics%20%3B%20which%20describes%20the%20activity%20of%2
0subatomic%20particles.%20&source=web&cd=6&ved=0CEcQFjAF&url=http%3A%2
F%2Fwww.altafkhan.com%2Fcs101ppt%2Fevolution-of-
computing.ppt&ei=zeLBTuPIEcPm4QSSwMC8DQ&usg=AFQjCNFaqexvYE6dRZlfU_
5LVCZ9w5ZOzA

Question # 3 of 10 ( Start time: 06:33:27 PM ) (www.vuaskari.com)


There is a battery on the mother board to:
Select correct option:

give power to the processor


Save information when computer is OFF
Help the boot process
Save information when computer is ON

Question # 4 of 10 ( Start time: 06:34:47 PM ) (www.vuaskari.com)


SCSI stands for:
Select correct option:

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Small Computer System Interface


System Common Small Integration
Silicon Computer System Interface
None of the given choices

Question # 6 of 10 ( Start time: 06:36:53 PM ) (www.vuaskari.com)


Processor is also known as:
Select correct option:

Brain of the computer


CPU
Central Processor
All of the given choices

Question # 7 of 10 ( Start time: 06:37:23 PM ) (www.vuaskari.com)


The MS DOS operating system came bundled with:
Select correct option:

UNIVAC 1
Cray 1
IBM PC
Altair 8800

Question # 8 of 10 ( Start time: 06:38:40 PM ) (www.vuaskari.com)


_____ can perform at or near the currently highest operational rate for computers.
Select correct option:

Microcomputers
Supercomputers
Personal Computer
Mini Computer

Question # 9 of 10 ( Start time: 06:39:40 PM ) (www.vuaskari.com)


Smallest unit of storage is:
Select correct option:

Bit
Byte
Mega Byte
None of the given choices

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Question # 10 of 10 ( Start time: 06:40:05 PM ) (www.vuaskari.com)


Web is a unique invention by humans in terms that it is:
Select correct option:

accessible to all humans


accessible to only the owners who control it
accessible to particular locations only
None of the given choices

Question # 1 of 10 ( Start time: 06:42:04 PM ) (www.vuaskari.com)


Which of the following is a computer storage device that saves and retrieves the data
when required?
Select correct option:

Hard Disk
RAM
ROM
None of the given choices
(Page 25) Hard disk is a computer storage device which saves and retrieves the data
when required

Question # 2 of 10 ( Start time: 06:43:11 PM ) (www.vuaskari.com)


_ is the example of a Web browser
Select correct option:

Yahoo
Netscape Navigator
Web Application
Google
(Page 19) home page is the first Web page that is displayed after starting a
Web browser like Netscape's Navigator or Microsoft's Internet Explorer

Question # 3 of 10 ( Start time: 06:44:03 PM ) (www.vuaskari.com)


Joystick is an example of :
Select correct option:

Output device
Processing device
Input device
Computational device

Question # 4 of 10 ( Start time: 06:44:17 PM ) (www.vuaskari.com)

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

The purpose of world first computer program was to compute:


Select correct option:

Simple sequence
Multiple sequence
Bernoulli’s Sequence
Increasing sequence
(Page 9) Ada: the mother?
Wrote a program for computing the Bernoulli’s sequence on the Analytical Engine -
world’s 1st computer program

Question # 5 of 10 ( Start time: 06:44:56 PM ) (www.vuaskari.com)


Which one of the following register types stores SIMD instructions?
Select correct option:

General Registers
Vector Registers
Data Registers
Address Registers
(Page 35) Vector registers hold data for Single Instruction Multiple Data (SIMD)
instructions.

Question # 6 of 10 ( Start time: 06:45:06 PM ) (www.vuaskari.com)


The name of programming language, specifically designed by the US Department of
Defense for developing military applications, was:
Select correct option:

Smalltalk
C
C++
Ada
(Page 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

Question # 7 of 10 ( Start time: 06:45:43 PM ) (www.vuaskari.com)


Which one of the following is “built-in” computer memory containing data that normally
can only be read , not written to?
Select correct option:

RAM

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

ROM
Cache Memory
Magnetic Memory
ROM is "built-in" computer memory containing data that normally can only be read, not
written to.
http://nais.sourceforge.net/doc/NAIS-HOWTO-12.html

Question # 8 of 10 ( Start time: 06:46:39 PM ) (www.vuaskari.com)


First computer designed for commercial applications was:
Select correct option:

UNIVAC 1
ENIAC
EDVAC
Attanasoff-Berry Computer
The UNIVAC I (UNIVersal Automatic Computer I) was the first commercial computer
produced in the United States.
http://en.wikipedia.org/wiki/UNIVAC_I

Question # 9 of 10 ( Start time: 06:47:11 PM ) (www.vuaskari.com)


Which one of these is NOT an example of storage devices?
Select correct option:

CD
Floppy
Hard Disk
RAM (this is primary storage device, others are secondary storage devices)

Question # 10 of 10 ( Start time: 06:47:38 PM ) (www.vuaskari.com)


Which one is the best-known builder of supercomputers?
Select correct option:

Cray Research
Microsoft
Apple
Sun
Perhaps the best-known builder of supercomputers has been Cray Research, now a part of
Silicon Graphics.
http://whatis.techtarget.com/definition/0,,sid9_gci213071,00.html

Note: Though solved with care, not responsible for the accuracy.
Fall 2011 CS101 Quiz 1 (~ 200 MCQs)
Solved by Admin Rajpoot
www.vuaskari.com
abbas.rajpoot@gmail.com

Unsure Answers:-
Question # 5 of 10 ( Start time: 06:36:03 PM ) (www.vuaskari.com)
The weaknesses of the computer are:
Select correct option:

a- Can't perform Pattern recognition job


b- Can't give innovative ideas
Both a and b (not sure)
None of the given choices

Question # 4 of 10 ( Start time: 05:27:28 PM ) (www.vuaskari.com)


A 1.5 G. HZ Microprocessor approximately contains:
Select correct option:

30 Million Transistors
25 Million Transistors
10 Million Transistors
50 Million Transistors

November 2000 (Make)


Name of Processor: Pentium 4
Clock speed: 1.5 GHz
Number of transistors: 42 million
Reference: http://www.raptureready.com/time/rap31d.html

Note: Though solved with care, not responsible for the accuracy.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

VU Helping Hands
www.vuhelpinghands.blogspot.com

Which of the following is NOT true about modern computers?


► More powerful
► Smaller in size
► Consume less energy
► Costly
Currently the BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB
► 150 GB
JavaScript ________ support drawing of graphics
► Does
► Does not
► Always
► At times
Popular schemes used for reducing bytes for storage are:
► RGB and Color mapping
► RGB and Dithering
► RGB, Color mapping and Dithering
► Color mapping and Dithering
Which protocol is use to transfer a file over the network ?
► UDP
► FTP
► TCP
► OSI
Flow control constructs in JavaScript includes:
► If-Else
► Loops and If -Else
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Switch and If-Else


► All of the given choices
A truth table defines the _________of a logic function for all possible _________
► Input -- Outputs

► Output -- Inputs
► Process -- Inputs
► Input -- Processes

Question No: 8 ( Marks: 1 ) - Please choose one


_________ is
the best known builder for supercomputers.
► Sun
► Cray Research
► Microsoft
► Apple

Question No: 9 ( Marks: 1 ) - Please choose one


Web is a
unique invention by humans in terms that it is:
► accessible to only the owners who control it
► accessible from particular locations only
► accessible to all humans
► accessible to only the educational institutes

Question No: 10 ( Marks: 1 ) - Please choose one


______ is a
client program that uses HTTP to make requests to Web servers throughout the internet on
behalf of the user.
► Web Application
► Web Browser
► Internet Application
► HTML

www.vuhelpinghands.blogspot.com
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 11 ( Marks: 1 ) - Please choose one


When the
packets reach at destination, __________ reassembles them into original message.
► Protocol
► TCP
► IP
► NIC

Question No: 12 ( Marks: 1 ) - Please choose one


Smart editors
can automatically color different parts of statements in different colors e.g. comments in
____________ color.
► Green
► Grey
► Blue
► Red

Question No: 13 ( Marks: 1 ) - Please choose one


___________
has great PR skills.
► Architect

► Team Lead
► Project Manager
► Chief Executive Officer

Question No: 14 ( Marks: 1 ) - Please choose one


The key
responsibilities of a project manager is _____________.
► Planning and tracking of the project
► Arranging of the appropriate resources
► Client relationship management
► All of the given options

www.vuhelpinghands.blogspot.com
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 15 ( Marks: 1 ) - Please choose one


Which attribute
of the IMG tag tells us about the source of the image ____________.
► source
► path
► loc
► src

Question No: 16 ( Marks: 1 ) - Please choose one


In relational
database, data store in the form of _____________.
► Tables
► Rows
► Columns
► None of the given options

Question No: 17 ( Marks: 1 ) - Please choose one


When’+’
operator is used with string operands, it _____________ both strings.
► Adds
► Subtracts
► Concatenates
► Compares

Question No: 18 ( Marks: 1 ) - Please choose one


Which of the
following operation is take place in ALU?

► Logical Operations
► Comparative Operations
► Floating Point Operations
► All of the given options

Question No: 19 ( Marks: 1 ) - Please choose one


www.vuhelpinghands.blogspot.com
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Integrity can be
compromised by _____________.
► Private or virtual-private networks
► Encryption
► Intrusion detectors

► None of the given options

Question No: 20 ( Marks: 1 ) - Please choose one


a=
Math.ceil(12.01)

What will be the value of a ?

► 12
► 13
► 12.0
► 13.01

Question No: 21 ( Marks: 1 ) - Please choose one


__________
are those programs in which the flow of the program is determined by the user's actions
(mouse clicks, key presses) or messages from other programs.
► Event called programs
► Event processed programs
► Event driven programs
► Event declared programs

Question No: 22 ( Marks: 1 ) - Please choose one


Fuzzy logic is
based on ____________.
► Ground facts
► Experience

www.vuhelpinghands.blogspot.com
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Practice
► Approximation

Question No: 23 ( Marks: 1 ) - Please choose one


According to a
popular heuristic, success is defined by ___________.
► The user
► The builder
► Both user and builder
► None of the given options

Question No: 24 ( Marks: 1 ) - Please choose one


You can view
a 3-D image on a _____________.
► 3-D display
► 2-D display
► On both 2-D and 3-D displays
► We can not view a 3-D image

Question No: 25 ( Marks: 1 ) - Please choose one


In a good
presentation each slide should contain____________.
► Heading
► Phrases not sentences
► Sentences not phrases
► Heading, sentences not phrases

Question No: 26 ( Marks: 1 ) - Please choose one


The best
number of lines in a slide is ____________.

www.vuhelpinghands.blogspot.com
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► 9
► 11
► 13
► 5

Question No: 27 ( Marks: 1 ) - Please choose one


A variable can
be _________ in scope.
► Local
► Global
► Either local or global
► None of the given options

Question No: 28 ( Marks: 1 ) - Please choose one


Java script
interact with user through______________

► Special control
► Internet explorer
► Event handlers
► Java script does not interact with user

Question No: 29 ( Marks: 1 ) - Please choose one

CONCATENATE operator is used to____________ elements.

► Subtract
► Multiply
► Join is the right answer.
► Add

Question No: 30 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

FTP stands for


__________.
► File transmission protocol
► File transmission path
► File transfer protocol
► Fine transfer path

Question No: 1 ( Marks: 1 ) - Please choose one


Which of the
following hardware component of a computer can also be called as engine?
► Bus
► Storage
► Memory
► Processor

Question No: 2 ( Marks: 1 ) - Please choose one


TCP stands for
___________.
► Total communication protocol
► Transmission control protocol
► Transfer control protocol
► Transfer collection protocol

Question No: 3 ( Marks: 1 ) - Please choose one


__________
breaks down the message to be sent over the internet into packets.

► FTP
► HTTP
► TCP
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► IP

Question No: 4 ( Marks: 1 ) - Please choose one


A variable can
be _________ in scope.
► Local
► Global
► Either local or global
► None of the given options

Question No: 5 ( Marks: 1 ) - Please choose one


A protocol
used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP

Question No: 6 ( Marks: 1 ) - Please choose one


A function is
also called __________.
► Sub-program
► Procedure
► Sub-routine
► All of the given option

Question No: 7 ( Marks: 1 ) - Please choose one


Capturing
events and responding to them is called __________.
► Function Handling
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Event Handling
► Event Procedure
► All of the given option

Question No: 8 ( Marks: 1 ) - Please choose one


Which one of
the following is NOT a primary color?
► Red
► Green
► Yellow
► Blue

Question No: 9 ( Marks: 1 ) - Please choose one


__________
are those programs in which the flow of the program is determined by the user's actions
(mouse clicks, key presses) or messages from other programs.
► Event called programs
► Event processed programs
► Event driven programs
► Event declared programs

Question No: 10 ( Marks: 1 ) - Please choose one


a=
Math.ceil(12.01)

What will be the value of a ?

► 12
► 13
► 12.0
► 13.01
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 11 ( Marks: 1 ) - Please choose one


Event handlers
are placed in the ___________ portion of a Web page as attributes in HTML tags.
► HEAD
► BODY
► SCRIPT
► TITLE

Question No: 12 ( Marks: 1 ) - Please choose one


_________ can
be used for entering, editing, or viewing data, one record at a time.
► Queries
► Forms
► Reports
► None of the given options

Question No: 13 ( Marks: 1 ) - Please choose one


random()
function returns a randomly-selected, floating-point number between ____________.
► 0 and 1
► 0 and 10
► 0 and -10
► 0 and -1

Question No: 14 ( Marks: 1 ) - Please choose one


The
organizations are learning that business can be done in a more effective manner if emphasis
is placed upon ___________.
► Cooperation
► Shared responsibility
► Networking
► All of the given options

Question No: 15 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

In relational
database, data store in the form of _____________.
► Tables
► Rows
► Columns
► None of the given options

Question No: 16 ( Marks: 1 ) - Please choose one


Spies of one
business monitoring the network traffic of their competitors’ ___________.
► Industrial Intelligence
► Industrial Espionage
► Industrial Spying
► Industrial Surveillance

Question No: 17 ( Marks: 1 ) - Please choose one


_____________
waits for some time and then launch a function.
► Timeout( )
► setTimeout( )
► setTime( )
► setTimeIn( )

Question No: 18 ( Marks: 1 ) - Please choose one

_______________ based communication allows business entities to coordinate the activities


of their globally spread units with greater accuracy.
► Intranet
► Internet
► Home
► LAN

Question No: 19 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

The key
responsibilities of a project manager is _____________.
► Planning and tracking of the project
► Arranging of the appropriate resources
► Client relationship management
► All of the given options

Question No: 20 ( Marks: 1 ) - Please choose one


_____________
team consists on the sharpest technical minds in the company.
► Architecture
► Business Development
► Configuration Management
► Developer

Question No: 21 ( Marks: 1 ) - Please choose one


Smart editors
can automatically color different parts of statements in different colors e.g. comments in
____________ color.
► Green
► Grey
► Blue
► Red

Question No: 22 ( Marks: 1 ) - Please choose one


A collection of
data organized in such a way that the computer can quickly search for a desired data item
is known as :
► Retrieving
► Database
► Information
► DBMS

Question No: 23 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Deep Blue was


the name of
► computer
► human
► city
► game

Question No: 24 ( Marks: 1 ) - Please choose one


Information
available on the web is
► mostly free of cost
► costly
► very cheap
► of no use

Question No: 25 ( Marks: 1 ) - Please choose one


Which one is
correct?

► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>

Question No: 26 ( Marks: 1 ) - Please choose one


_________ is
the best known builder for supercomputers.
► Sun
► Cray Research
► Microsoft
► Apple

Question No: 27 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Which one is
the example of spreadsheet software ?
► MS Word
► MS PowerPoint
► MS Excel
► MS Access

Question No: 28 ( Marks: 1 ) - Please choose one


Currently the
BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB
► 150 GB

Question No: 29 ( Marks: 1 ) - Please choose one


Blue Pacific is
a name of ______ computer.
► Mini
► Desktop
► Micro
► Super

Question No: 30 ( Marks: 1 ) - Please choose one

_________________ are powerful pieces of hardware, but not much useful on their own.
► Microcontrollers
► Microprocessors
► Integrated circuits
► Ports
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 1 ( Marks: 1 ) - Please choose one


---------- was known as “mill” in Analytical engine.
► Memory
► Processor
► Monitor
► Mouse
Ref: An arithmetical unit (the "mill") would be able to perform all four
arithmetic operations, plus comparisons and optionally square roots. Initially
it was conceived as a difference engine curved back upon itself, in a
generally circular layout,[2] with the long store exiting off to one side.

Question No: 2 ( Marks: 1 ) - Please choose one


First electronic computer was
► ABC
► UNVAC 1
► Harvard Mark 1
► IBM PC

Question No: 3 ( Marks: 1 ) - Please choose one


What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity

Question No: 4 ( Marks: 1 ) - Please choose one


What happens if I start a new list without closing the original one?

► An error will be generated


► A nested list will be created
► Previous list will end and a new will start.
► Nothing will happen
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 5 ( Marks: 1 ) - Please choose one


The most upper right pixel of the screen is of ___________ color.
► Any
► Red
► Green
► Blue

Question No: 6 ( Marks: 1 ) - Please choose one


A single pixel can acquire approximately ___________ color schemes.
► 1 million
► 2 million
► 10 million
► 16 million

Question No: 7 ( Marks: 1 ) - Please choose one


The idea of Neural Networks field is based upon ______________.
► Human nature
► Human brain
► Human culture
► Human actions

Question No: 8 ( Marks: 1 ) - Please choose one


Which one of the following is an application for artificial intelligence?
► Robotic
► Web Agent
► Decision Support System
► All of the given options

Question No: 9 ( Marks: 1 ) - Please choose one


Register is a kind of ______memory

► Fast
► Super fast
► Slow
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Very slow

Question No: 10 ( Marks: 1 ) - Please choose one


Which of the following is a true statement?
► Flat-file storage is better than tabular storage.
► Tabular storage is better than flat-file storage.
► Flat-file storage is better than relational storage.
► None of the given options

Question No: 11 ( Marks: 1 ) - Please choose one


substring(n, m) returns a string containing characters copied from position n
to___________.
► m – 2
► m – 1
► m + 1
► m

Question No: 12 ( Marks: 1 ) - Please choose one


The __________ is the old profession which is being eliminated because of
computing.
► Typist
► Bank manager
► Operational manager
► All of the given options

Question No: 13 ( Marks: 1 ) - Please choose one


The system that manages relational database, is called ______________.
► None of the given options
► Database Management System
► Data Management System
► Relational Database Management System

Question No: 14 ( Marks: 1 ) - Please choose one


When web server is busy it gives the following message to the user :
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Time out
► Waiting
► Server busy
► None of the given options

Question No: 15 ( Marks: 1 ) - Please choose one


The group of technologies concerned with the capturing, processing and
transmission of information in the digital electronic form is called
_____________.
► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

Question No: 16 ( Marks: 1 ) - Please choose one


_____________ team consists on the sharpest technical minds in the
company.

► Architecture
► Business Development
► Configuration Management
► Developer

Question No: 17 ( Marks: 1 ) - Please choose one


TCP stands for ________.

► Transfer Center protocol


► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

Question No: 18 ( Marks: 1 ) - Please choose one


A collection of data organized in such a way that the computer can quickly
search for a desired data item is known as :
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Retrieving
► Database
► Information
► DBMS

Question No: 19 ( Marks: 1 ) - Please choose one


Microsoft Word is a type of:
► System Software
► Freeware Software
► Shrink-Wrapped Software
► Custom-built Software

Question No: 20 ( Marks: 1 ) - Please choose one


Users __________, how things work.
► Analyze in detail
► Muddle through
► Figure out
► Read in detail

Question No: 21 ( Marks: 1 ) - Please choose one


Popular schemes used for reducing bytes for storage are:
► RGB and Color mapping
► RGB and Dithering
► RGB, Color mapping and Dithering
► Color mapping and Dithering

Question No: 22 ( Marks: 1 ) - Please choose one


Hardware malfunctions is related to
► Data updates
► Data integrity
► Data security
► Data accessibility

Question No: 23 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

If incorrectly we enter the negative age it is check by


► Limit Integrity
► Type Integrity
► Referential Integrity
► Physical Integrity

Question No: 24 ( Marks: 1 ) - Please choose one


Which is the user-friendly way of presenting data ?
► Query
► Form
► Report
► All of the given options

Question No: 25 ( Marks: 1 ) - Please choose one


Currently the BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB
► 150 GB

Question No: 26 ( Marks: 1 ) - Please choose one


In JavaScript, a || b is interpreted as

► a is true or b is false
► a is true and b is true
► a is false and b is true
► a is true or b is true or both are true

Question No: 27 ( Marks: 1 ) - Please choose one


Speakers fall into the hardware category.
► True
► False

Question No: 28 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

onBlur event is occurred for a form element when it ____________

► Gets focus
► Losts focus
► Some thing is typed in
► onBlur is not an event

Question No: 29 ( Marks: 1 ) - Please choose one


You can view a 3-D image on a _____________.
► 3-D display
► 2-D display
► On both 2-D and 3-D displays
► We can not view a 3-D image

Question No: 30 ( Marks: 1 ) - Please choose one


Module level design and unit testing is the responsibility of _____________.
► Team Lead
► Developer
► Project Manager
► Quality Assurance Expert

Question No: 1 ( Marks: 1 ) - Please choose one


Which function returns a randomly selected floating point number between 0
and 1 ?
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► floor(x)
► ceil(x)
► random()(Correct)
► round(x)

Question No: 2 ( Marks: 1 ) - Please choose one


Functions are also called:
► Heuristics
► Variables
► Arrays
► Subprograms

Question No: 3 ( Marks: 1 ) - Please choose one


In JavaScript, each element of array can store data of type
► A Number
► An Array
► A String variable
► All of the given choices

Question No: 4 ( Marks: 1 ) - Please choose one


The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas (Correct)
► Speed & Storage

Question No: 5 ( Marks: 1 ) - Please choose one


Processed data is called ________.

► Information (Correct)
► Data
► Entity
► Attribute
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 6 ( Marks: 1 ) - Please choose one


Many developers write the _________ first and then incrementally convert
each line into _________.
► Real code & Pseudo code
► Pseudo code & Real code
► Real code & Artificial code
► None of the given options (Correct)

Question No: 7 ( Marks: 1 ) - Please choose one


When we buy a software package, we do not really buy it, we just by a
license that allows us to use it, the ___________stays with the maker.

► Agreement
► Ownership (Correct)
► Membership
► Software

Question No: 8 ( Marks: 1 ) - Please choose one


Name, Border, Source are the ____________ of the image object.
► Event Handler
► Properties
► Methods
► None of the given options

Question No: 9 ( Marks: 1 ) - Please choose one


Using smart editors they can automatically color different parts of statements
in different colors e.g. HTML tags in ____________ color.

► Green
► Grey
► Blue (Correct)
► None of the given options

Question No: 10 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

____________ is in Executive team.


► Project Manager (Correct)
► CEO
► Team Lead
► Developer

Question No: 11 ( Marks: 1 ) - Please choose one


Module level design and unit testing the responsibility of _____________.
► Team Lead
► Developer (Correct)
► Project Manager
► Quality Assurance Expert

Question No: 12 ( Marks: 1 ) - Please choose one


_____________ team is responsible for a project after the specification’s
stage till the very end.
► Executive
► Architect
► Development (Correct)
► HR

Question No: 13 ( Marks: 1 ) - Please choose one


_____________ waits for some time and then launch a function.
► Timeout( )
► setTimeout( ) (Correct)
► setTime( )
► setTimeIn( )

Question No: 14 ( Marks: 1 ) - Please choose one


Which of the following is NOT an event handler for image object?
► onAbort
► onError
► onLoad
► onUser (Correct)
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 15 ( Marks: 1 ) - Please choose one


______________ is a field that uniquely identifies each record stored in a
table.
► Composite Key
► Primary key (Correct)
► Foreign key
► None of the given options

Question No: 16 ( Marks: 1 ) - Please choose one


Distance learning has got a boost due to the ___________.
► Easy communication
► Online interactive contents
► Flexibility
► All of the given options (Correct)

Question No: 17 ( Marks: 1 ) - Please choose one


By default in a web page Hyper Link for another web page is represented
as ________________

► Blue only
► Black and Underlined
► Blue and Bold
► Blue and Underlined (Correct)

Question No: 18 ( Marks: 1 ) - Please choose one


To store rounded number of 8.6 in a variable called "r_number", we write
_____________.
► r_number=Maths.round(8.6)
► r_numbers=Maths.rounds(8.6)
► r_number=Math.rounds(8.6)
► r_number=Math.round(8.6) (Correct)
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 19 ( Marks: 1 ) - Please choose one


Which one is the best option for designing a Medical Expert System?
► Rule Based System
► Genetic Algorithm
► Fuzzy Logic
► Neural Network

Question No: 20 ( Marks: 1 ) - Please choose one


Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference (Correct)
► Length
► Name

Question No: 21 ( Marks: 1 ) - Please choose one


Which is correct?

► onUnload (Correct)

► onUnLoad

► onUNLOAD

► All of the above

Question No: 22 ( Marks: 1 ) - Please choose one


Capturing events and responding to them is called __________.
► Function Handling
► Event Handling (Correct)
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Event Procedure
► All of the given option

Question No: 23 ( Marks: 1 ) - Please choose one


___________ color should be used in background for a good presentation.
► Light
► Dark (Correct)
► Red
► None of the given options

Question No: 24 ( Marks: 1 ) - Please choose one


Which of the following symbol is used for multiple line comments in
JavaScript?

► /
► //
► /* (Correct)
► //*

Question No: 25 ( Marks: 1 ) - Please choose one


In JavaScript, what will be the result of the follwoing operation
79%3
► 0
► 1 (Correct)
► 2
► 3

Question No: 26 ( Marks: 1 ) - Please choose one


A new cell using HTML is added in table row by
► <TC>…</TC>
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► <TR>…</TR> (Correct)

► <TD>…</TD>
► <NC>…</NC>

Question No: 27 ( Marks: 1 ) - Please choose one


TCP stands for ___________.
► Total communication protocol
► Transmission control protocol (Correct)
► Transfer control protocol
► Transfer collection protocol

Question No: 28 ( Marks: 1 ) - Please choose one


What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity (Correct)

Question No: 29 ( Marks: 1 ) - Please choose one

It represents the ________________ flow chart element.

► Process
► Input or Output
► Decision
► Connector

Question No: 30 ( Marks: 1 ) - Please choose one


Vacuum tubes were replaced by ___
► Punch cards
► Transistors (Correct)
► Micro Processors
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Resistors

Question No: 31 ( Marks: 1 )


When does recursion occur?

Question No: 32 ( Marks: 1 )


What are the types of computer network according to the distance between
nodes ?

Answer:
There are two types of networks.
1. LAN (Local Area Network)
2. WAN (Wide Area Network)

The transistor is a solid state semiconductor device used for amplification and switching,
and has __three________ terminals.
► one
► two
► three
► four

Question No: 2 ( Marks: 1 ) - Please choose one


Blue Pacific is a name of ____Super__ computer.
► Mini
► Desktop
► Micro
► Super

Question No: 3 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Monte Carlo algorithm is an example of Randomized algorithm

► Randomized algorithm

► Greedy algorithm

► both greedy and randomized

► Heuristics

Question No: 4 ( Marks: 1 ) - Please choose one


A set of stand alone productivity applications designed to work together known as __
Productivity software suites .

► Productivity software suites

► Compiled software

► Secure software

► Intelligent software

Question No: 5 ( Marks: 1 ) - Please choose one


The most used form tag is the <input> tag. - False

► True
► False

Question No: 6 ( Marks: 1 ) - Please choose one


What is the key feature of computer which is against human nature.?
Can’t get bored.
► Can’t get bored.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Pattern recognition
► Repetition

► None

Question No: 7 ( Marks: 1 ) - Please choose one


___ Word Processor Software __ was designed as a replacement for typewriter
► Spreadsheet Software
► Word Processor Software
► Presentation Software
► Database Software

Question No: 8 ( Marks: 1 ) - Please choose one


Forms can be submitted by using ______2____ different methods
►2
►3
►4
►5

Question No: 9 ( Marks: 1 ) - Please choose one


To display a checkbox on the web page, we use __INPUT_ tag
► CHECKBOX
► CHECK
► INPUT
► INPUTBOX

Question No: 10 ( Marks: 1 ) - Please choose one


_Name __ attribute of FORM tag is used to mention a URL when the form is being
submitted
► name
► action
► method
► submit
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 11 ( Marks: 1 ) - Please choose one


You can __Read Only______ from/to a website containing interactive forms.
► Only read
► Only write
► Read and write
► Not read and write

Question No: 12 ( Marks: 1 ) - Please choose one


Using COLSPAN, number of rows of the current cell should extend itself None of the
given choices

► Upward
► Downward
► Both Upward and Downward
► None of the given choices

Question No: 13 ( Marks: 1 ) - Please choose one


ASCII WHITE is the fastest Super computer which can perform _1.3 trillion__ calculations
in one second.
► 1.3 billion
► 1.3 trillion
► 1.3 miillion
► 1.3 thousand

Question No: 14 ( Marks: 1 ) - Please choose one


_HTML___ is a related collection of WWW files that includes a beginning file called a
homepage
► HTML
► Website
► HTTP
► Web page

Question No: 15 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

If a computer could pass the Turing test then it would be able to: think like human beings

► think like human beings


► do the things faster
► win a million dollar prize
► store more information

Question No: 16 ( Marks: 1 ) - Please choose one


The key strengths of computers are - Speed
► Speed
► Storage
► Do not get bored
► All of the given choices

Question No: 17 ( Marks: 1 ) - Please choose one


Compared to vacuum tubes, Transistors offer: All of the given choices
► Much smaller size
► Better reliability
► Much lower cost
► All of the given choices

Question No: 18 ( Marks: 1 ) - Please choose one


Which of the following is NOT a component of IC? Resistors
► Transistors
► Diodes
► Resistors
► Vacuum tubes

Question No: 19 ( Marks: 1 ) - Please choose one


When we use <INPUT type=“password”>, what will happen? - Text will be in ****
format

► Text will not be visible


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Text will be in normal format

► Text will be in **** format

► Text will be in #### format

Question No: 20 ( Marks: 1 ) - Please choose one


Spread sheet is a type of _ Mathematical software ________.
► Productivity software
► Engineering software
► Mathematical software
► Business software

Question No: 21 ( Marks: 1 ) - Please choose one


Word Processor is a ____ Application Software__
► System Software
► Application Software
► Device
► Utility

Question No: 22 ( Marks: 1 ) - Please choose one


_ Utility Program refers to the firmware code which is run by an IBM compatible PC
when first powered on.
► DOS
► BIOS
► Utility Program
► None of these

Question No: 23 ( Marks: 1 ) - Please choose one


A computer program that facilitates the communication between the computer and a
peripheral device is called____ Language Translator _______

► Operating system
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Utilities
► Language Translator
► Device Drives

Question No: 24 ( Marks: 1 ) - Please choose one


In JavaScript, what will be the result of the following operation 79%3
►0
►1
►2
►3

Question No: 25 ( Marks: 1 ) - Please choose one


Which of the following number system is used by microprocessor? Binary

► Binary
► Decimal
► Octal
► Hexadecimal

Question No: 26 ( Marks: 1 ) - Please choose one


Web site is collection of related ___ Information___
► Web pages
► Information
► Search Engines
► None of the given choices

Question No: 1 ( Marks: 1 - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

In Spreadsheets, you can create a relationship between two cells by using


Numbers
Text
Formulas
None of given option
Question No: 2 ( Marks: 1 - Please choose one
An algorithm that always takes the best immediate or local solution while finding an
answer is called
Deterministic Algorithm
Non deterministic Algorithm
Greedy Algorithm
Randomized Algorithm
Question No: 3 ( Marks: 1 ) - Please choose one
Which of the following command allows you to recover form mistakes in MS Word?
Clear
Edit
Undo
Break
Question No: 4 ( Marks: 1 ) - Please choose one
An operating system allows many users to take advantage of the computer's resources,
simultaneously
Single user
Multi- user
Single tasking
Multi tasking
Question No: 5 ( Marks: 1 - Please choose one
Network Interface Card is an ___________________device.
Input
Output
Input/Output
Storage
Question No: 6 ( Marks: 1 - Please choose one
The decimal equivalent of binary 1000 is
7
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

8
9
10
Question No: 7 ( Marks: 1 ) - Please choose one
Which of the following is NOT RDBMS software?
My Sql
MS Excel
Oracle
SQL Server
Question No: 8 ( Marks: 1 - Please choose one
A computer virus is a
Software that saves the computer from being damaged.
Application software that helps to make different type of viruses and worms
Program that spreads itself and destroys other program
Program that corrects the problems in your computer
Question No: 9 ( Marks: 1 - Please choose one
What will be the result of a?
a = Math.abs(-23)
23
-23
23.0
2.3
Question No: 10 ( Marks: 1 - Please choose one
A Special program required to view swf (Shockwave Flash) files in web Browser is called
TFlash
Vflash
plug-in
None of the given options
Question No: 11 ( Marks: 8 )
Match the relevant options from the given two columns and write the correct options in
Column 3.
Column 1 Column 2 Column 3
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

1. Mainframe A. Network Traffic


Enterprise Servers
Computers controller
Web Browser
2. Mosaic B. Laptop
Windows XP
3. Operating System C. Micro Processor
Network Traffic
4. Router D. Software Piracy
controller
5. Spread Sheet E. Windows XP
VisiCalc
6. Mobile Computer F. Enterprise Servers
Laptop
7. Intel 4004 G. VisiCalc
Micro Processor
8. Cyber Crime H. Web Browser
Software Piracy
Question No: 12 ( Marks: 12
Question No: 1 ( Marks: 2 ) - Please choose one
Which statement is wrong for naming an identifier?

Identifiers are names used by JavaScript to refer to variables, objects, properties,


methods, and functions.
An identifier must begin with an alphabetical character (a-z or A-Z), underscore
“_” character or $ character.
Subsequent characters can be an alphabetical (a-z or A-B) or numeric character
(0-9) or an underscore
Question No: 2 ( Marks: 2 ) - Please choose one
Which of the following words can’t be used for naming an identifier in JavaScript?
struct
plugin
parent
package
Question No: 3 ( Marks: 2 ) - Please choose one
Data Management comes up with different issues except one:
Data entry
Data updates
Data integrity
Data security
Data presentation
Question No: 4 ( Marks: 2 ) - Please choose one
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Choose correct statement.


The value of a variable can not be changed during execution of the script.
In JavaScript a variable’s type is defined before usage.
The untyped feature makes JavaScript simpler to program in when developing short
programs.
The untyped feature makes JavaScript simpler to program in when developing big
programs.

Question No: 1 ( Marks: 1 ) - Please choose one


FTP stands for
File transmission protocol
File transmission path
File transfer protocol
Fine Transfer path
Question No: 3 ( Marks: 1 ) - Please choose one
A function is also called
program
Procedure
Sub-routine
All of the these
Question No: 4 ( Marks: 1 ) - Please choose one
Command that allows you to remove mistakes
Copy
Delete
Cut
Undo
Question No: 4 ( Marks: 1 ) - Please choose one
URL is a/an __________________.
Device
Component
Address
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 1 ( Marks: 1 ) - Please choose one


What computer hardware is essential for connecting two computers in Local Area Network?
Modem
Ethernet card
VGA
Internet Connection
Question No: 2 ( Marks: 1 ) - Please choose one
The instruction written in high-level language are converted into low-level language by the
____________
Operating System
Compiler
Parser
Router
Question No: 3 ( Marks: 1 ) - Please choose one
Which software can provide results of mathematical calculations very easily?
Spreadsheets
Image processor
Word processor
None of these
Question No: 4 ( Marks: 1 ) - Please choose one

Which of the following is the extension of graphics files?


.doc
.mdb
.gif
.tmp
Question No: 5 ( Marks: 1 ) - Please choose one
A hardware device that stores data and programs, executes program instructions, and
performs arithmetic/logic operations is known as the ____.
CPU
Integrated Circuit
Main Storage
Memory
Question No: 6 ( Marks: 1 ) - Please choose one
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

The input device that reads printed characters, symbols, or graphical images into the
computer is the:
Sensors
Speech recognition
Mouse.
Scanner
Question No: 7 ( Marks: 1 ) - Please choose one
The component of the central processing unit that holds instructions, stores data and keeps
results during the processing is called the:
Arithmetic/Logic unit.
Control unit.
Main memory.
Micro processing chip.
Question No: 8 ( Marks: 1 ) - Please choose one
The software that is used to write/send/receive an e-mail is called
Web browser
Mail Binder
E-mail Handler
E-mail Client
Question No: 9 ( Marks: 1 ) - Please choose one
A computer virus is a ____________
Software that saves the computer from being damaged.
Application software that helps to make different type of viruses and worms
Program that spreads itself and destroys other program
Program that corrects the problems in your computer
Question No: 10 ( Marks: 1 ) - Please choose one
What does internet service provider mean?
A software that helps you to connect to internet
A company that helps you to connect to internet
A software that allows you to send/receive e-mails
A telephone network which helps you to connect to internet
Paper 5555
Which of the following cannot come between the <Body></Body> tag
A. <P>
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

B. <A HERF></A>
C. <Title></Title>
D. <BR></BR>
Question No: 8
Modem is used:
A. Only to enter data into computer
B. For calculating huge numbers
C. For communication of data between internet and your computer
D. To write information on the world wide web
Question No: 9
Search engines:
A. Scan the entire web for the desired information
B. Search the news groups for the required information
C. Make the list of images that are available on the net
D. Are built to facilitate the scientists
Question No: 10
ARPANET i
A. World’s first network
B. Network protocol
C. Latest Internet site
D. Internet game
Question No: 11
A group of binary digits that a computer manipulate as a unit is called
A. Byte
B. Word
C. Bit
D. Hertz

PAPER 6666

Total Marks: 50
Questions: 14

Question No. 1
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Micro controller

1 Are faster then microprocessor


2 Is another name for microprocessor?
3 Are complete computer on a chip
4 Cost thousands of dollar per piece
Question No. 2
Two major types of software are
1 Application Software , System Software
2 Application Software , Database Software
3 System Software , Database Software
4 Database Software , Embedded Software
Question No. 3
Marks : 5
How Operating System software does manage a device when a particular application is
executed? Explain with at least one example?
Question No. 4
Word representing the protocol in URL http://www.microsoft.com is
1 www
2 Microsoft
3 microsoft.com
4 http
Question No. 5
What do you know about WWW and what are the basic elements of web design?
Question No. 6
What do you know about Neural Networks and give any two examples.
Question No. 7

Define and explain Greedy Algorithm briefly. You are also required to give key advantage
and
an example of Greedy Algorithm.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No. 8 Marks : 6


Determine the correct reserved words of JavaScript from the following list and explain them
briefly.
1 document
2 read
3 alert
4 delete
5 function
6 comment
paper 7777

Question No: 1 ( Marks: 1 ) - Please choose one


Which function returns a randomly selected floating point number between 0 and 1 ?
► floor(x)
► ceil(x)
► random()(Correct)
► round(x)

Question No: 2 ( Marks: 1 ) - Please choose one


Functions are also called:
► Heuristics
► Variables
► Arrays
► Subprograms

Question No: 3 ( Marks: 1 ) - Please choose one


In JavaScript, each element of array can store data of type
► A Number
► An Array
► A String variable
► All of the given choices

Question No: 4 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

The weaknesses of the computer are:


► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage

Question No: 5 ( Marks: 1 ) - Please choose one


Processed data is called ________.

► Information
► Data
► Entity
► Attribute

Question No: 6 ( Marks: 1 ) - Please choose one


Many developers write the _________ first and then incrementally convert each line into
_________.
► Real code & Pseudo code
► Pseudo code & Real code
► Real code & Artificial code
► None of the given options

Question No: 7 ( Marks: 1 ) - Please choose one


When we buy a software package, we do not really buy it, we just by a license that allows
us to use it, the ___________stays with the maker.

► Agreement
► Ownership
► Membership
► Software

Question No: 8 ( Marks: 1 ) - Please choose one


Name, Border, Source are the ____________ of the image object.
► Event Handler
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Properties
► Methods
► None of the given options

Question No: 9 ( Marks: 1 ) - Please choose one


Using smart editors they can automatically color different parts of statements in different
colors e.g. HTML tags in ____________ color.

► Green
► Grey
► Blue
► None of the given options

Question No: 10 ( Marks: 1 ) - Please choose one


____________ is in Executive team.
► Project Manager
► CEO
► Team Lead
► Developer

Question No: 11 ( Marks: 1 ) - Please choose one


Module level design and unit testing the responsibility of _____________.
► Team Lead
► Developer
► Project Manager
► Quality Assurance Expert

Question No: 12 ( Marks: 1 ) - Please choose one


_____________ team is responsible for a project after the specification’s stage till the very
end.
► Executive
► Architect
► Development (Correct)
► HR
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 13 ( Marks: 1 ) - Please choose one


_____________ waits for some time and then launch a function.
► Timeout( )
► setTimeout( ) (Correct)
► setTime( )
► setTimeIn( )

Question No: 14 ( Marks: 1 ) - Please choose one


Which of the following is NOT an event handler for image object?
► onAbort
► onError
► onLoad
► onUser (Correct)

Question No: 15 ( Marks: 1 ) - Please choose one


______________ is a field that uniquely identifies each record stored in a table.
► Composite Key
► Primary key (Correct)
► Foreign key
► None of the given options

Question No: 16 ( Marks: 1 ) - Please choose one


Distance learning has got a boost due to the ___________.
► Easy communication
► Online interactive contents
► Flexibility
► All of the given options (Correct)

Question No: 17 ( Marks: 1 ) - Please choose one


By default in a web page Hyper Link for another web page is represented as
________________

► Blue only
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Black and Underlined


► Blue and Bold
► Blue and Underlined (Correct)

Question No: 18 ( Marks: 1 ) - Please choose one


To store rounded number of 8.6 in a variable called "r_number", we write _____________.
► r_number=Maths.round(8.6)
► r_numbers=Maths.rounds(8.6)
► r_number=Math.rounds(8.6)
► r_number=Math.round(8.6) (Correct)

Question No: 19 ( Marks: 1 ) - Please choose one


Which one is the best option for designing a Medical Expert System?
► Rule Based System
► Genetic Algorithm
► Fuzzy Logic
► Neural Network

Question No: 20 ( Marks: 1 ) - Please choose one


Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference (Correct)
► Length
► Name

Question No: 21 ( Marks: 1 ) - Please choose one


Which is correct?

► onUnload (Correct)

► onUnLoad

► onUNLOAD
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► All of the above

Question No: 22 ( Marks: 1 ) - Please choose one


Capturing events and responding to them is called __________.
► Function Handling
► Event Handling (Correct)
► Event Procedure
► All of the given option

Question No: 23 ( Marks: 1 ) - Please choose one


___________ color should be used in background for a good presentation.
► Light
► Dark (Correct)
► Red
► None of the given options

Question No: 24 ( Marks: 1 ) - Please choose one


Which of the following symbol is used for multiple line comments in JavaScript?

► /
► //
► /* (Correct)
► //*

Question No: 25 ( Marks: 1 ) - Please choose one


In JavaScript, what will be the result of the follwoing operation
79%3
►0
► 1 (Correct)
►2
►3

Question No: 26 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

A new cell using HTML is added in table row by


► <TC>…</TC>
► <TR>…</TR> (Correct)

► <TD>…</TD>
► <NC>…</NC>

Question No: 27 ( Marks: 1 ) - Please choose one


TCP stands for ___________.
► Total communication protocol
► Transmission control protocol (Correct)
► Transfer control protocol
► Transfer collection protocol

Question No: 28 ( Marks: 1 ) - Please choose one


What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity (Correct)

Question No: 29 ( Marks: 1 ) - Please choose one

It represents the ________________ flow chart element.

► Process
► Input or Output
► Decision
► Connector

Question No: 30 ( Marks: 1 ) - Please choose one


Vacuum tubes were replaced by ___
► Punch cards
► Transistors (Correct)
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Micro Processors
► Resistors

Question No: 31 ( Marks: 1 )


When does recursion occur?

Question No: 32 ( Marks: 1 )


What are the types of computer network according to the distance between nodes ?

Answer:
There are two types of networks.
1. LAN (Local Area Network)
2. WAN (Wide Area Network)

Question No: 33 ( Marks: 2 )


What is meant by semantic error ?

Answer:
Occur when a statement executes and has an effect not intended by the programmer and
Often times occur only in unusual & infrequent circumstances

Question No: 34 ( Marks: 2 )


List down the names of two array methods available in JavaScript.

Answer:
1. sort( ) [sorts elements in alphabetical order]
2. reverse( ) [Reverses the order of elements]

Question No: 35 ( Marks: 3 )


How can you define a consistent web design? Why is it needed?

Answer:
A consistent good designed website is generated for general public that allows users to
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

attain what they want as quickly as possible without spending much effort.

A consistent good design assists the user in recovering from errors.

Question No: 36 ( Marks: 3 )


How can we include images in a web page using HTML and Java script?

Answer:
Image in HTML
<IMG src=URL, alt=text height=pixels width=pixels align="bottom|middle|top">

Image in Javascript
Images in JavaScript can be manipulated in many ways using the built-in object Image.
Additional properties to HTML are hspace, vspace & lowsrc.
Example: It can be used by many handlers like, onAbort, onLoad & onError

Question No: 37 ( Marks: 3 )


The event handler attribute consists of three parts. Write about each of them.

Answer :
The identifier of the event handler
The equal sign
A string statement enclosed in double or single quotes.

PAPER 8888

Question No: 38 ( Marks: 5 )


What is a packet in the network environment? What kind of information does it contain?

Answer:
• Packet is data chopped up into pieces in a network environment.
• These packets contain information about which computer sent the data and where the
data is going.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

• If a packet runs into a problem during its trip, it can attempt to find another route.
When all the packets get where they are going, the recipient computer puts them together
again.
Question No: 40 ( Marks: 10 )
Write down
HTML and JavaScript code for the following requirements:
Declare an Array with the identifier SUBJECT having length 5. Assign following values to
the array elements:
MIS, Java, Algorithms, Databases, C++
Show all values in reverse order.

Question No: 41 ( Marks: 10 )


How instant
messaging works? Write the steps involved in this process.

Answer:
The Instant Messaging services available allow us to maintain a list of people
(contacts) that we interact with regularly. We can send instant messages to any of the
contacts in our list as long as that contact is online.

Following steps are involved in IM working.

1. User commences the IM client.


2. IM client finds the IM server & logs in.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 39 ( Marks: 5 )


Suppose we have a
big project. Draw hierarchy of the people involved in the project?

Answer:
Please ignore small lines relating Sub Teams to subordinates due to shortage of time.
ABCD etc are connected directly to Team Lead 1,2 & 3 accordingly.

Executive Team Clients Project


Project Architect
Manager

Project Manager

Sub Team Lead1

A B C D E F
Sub Team Lead 2

A B C D
Sub Team Lead 3

A B C
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 1 ( Marks: 2 ) - Please choose one


s
Which statement is wrong for naming an identifier?
Identifiers are names used by JavaScript to refer to variables, objects, properties,
methods, and functions.
An identifier must begin with an alphabetical character (a-z or A-Z), underscore
“_” character or $ character.
Subsequent characters can be an alphabetical (a-z or A-B) or numeric character
(0-9) or an underscore
Question No: 2 ( Marks: 2 ) - Please choose one
Which of the following words can’t be used for naming an identifier in JavaScript?
struct
plugin
parent
package
s
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No. 1
Micro controller
1 Are faster then microprocessor
2 Is another name for microprocessor?
3 Are complete computer on a chip
4 Cost thousands of dollar per piece
Question No. 2
Two major types of software are

1 Application Software , System Software


2 Application Software , Database Software
3 System Software , Database Software
4 Database Software , Embedded Software
Question No. 3
How Operating System software does manage a device when a
particular application is
executed? Explain with at least one example?
Question No. 4
Word representing the protocol in URL http://www.microsoft.com is
1 www
2 Microsoft
3 microsoft.com
4 http
Question No. 5
What do you know about WWW and what are the basic elements of
web design?
Question No. 6
What do you know about Neural Networks and give any two
examples.
Question No. 7
Define and explain Greedy Algorithm briefly. You are also required to
give key advantage and
an example of Greedy Algorithm.
Question No. 8
Determine the correct reserved words of JavaScript from the following
list and explain them
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

briefly.

1 document
2 read
3 alert
4 delete
5 function
6 comment
Question No. 9
Discuss any three issues/characteristics of Data Management.
Question No. 10
Write function using JavaScript. The name of function will be
"display( )". The "display( )"
function will display the following string as shown below:
X3 + Y2

[Hint: Use string methods sub( ) and sup( )]


The "display( )" function should be called at onLoad event.

Question No. 11
Consider the following code
pitch = "hard"
bowler="slow"
if ( (pitch == "hard") || (bowler == "fast") )
myStatus = "Bouncer" ;
else
myStatus = "Short Pitch" ;
Variable myStatus will contain the value:
1 Bouncer
2 Short Pitch
3 Hard
4 Slow
Question No. 12
What does the following JavaScript code
function changeBgcolor()
{
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

oldColor = window.document.bgColor;
window.document.bgColor = "pink";
window. alert("The old color was " + oldColor);
}

1 Change the Color of Window document to pink and nothing


else

2 Change the Color of Window document to pink and display the


name of old Color in a
dialogue box
3 Change the Color of Window document to Blue and displays
name of old color in a
dialogue box
4 Create a form in window document
Question No. 13
Examine and explain the logic of following pseudo code:
Let the decimal number be an integer x, x > 0
Let the binary equivalent be an empty string y
Repeat while x > 0
{
Determine the quotient & remainder of x ÷ 2
y = CONCATENATE( remainder, y )
x = quotient
}
Print y
Stop

Question No: 7
Which of the following cannot come between the <Body></Body>
tag

A. <P>
B. <A HERF></A>
C. <Title></Title>
D. <BR></BR>
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 8
Modem is used:
A. Only to enter data into computer
B. For calculating huge numbers
C. For communication of data between internet and your computer
D. To write information on the world wide web
Question No: 9
Search engines:
A. Scan the entire web for the desired information
B. Search the news groups for the required information
C. Make the list of images that are available on the net
D. Are built to facilitate the scientists
Question No: 10
ARPANET is a:
A. World’s first network
B. Network protocol
C. Latest Internet site
D. Internet game
Question No: 11
A group of binary digits that a computer manipulate as a unit is
called
A. Byte
B. Word
C. Bit
D. Hertz
PAPER 000000000
Question No: 1 ( Marks: 1 ) - Please choose one
What computer hardware is essential for connecting two computers in
Local Area Network?
Modem
Ethernet card
VGA
Internet Connection
Question No: 2 ( Marks: 1 ) - Please choose one
The instruction written in high-level language are converted into low-
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

level language by the ____________


Operating System
Compiler
Parser
Router
Question No: 3 ( Marks: 1 ) - Please choose one
Which software can provide results of mathematical calculations very
easily?
Spreadsheets
Image processor
Word processor
None of these
Question No: 4 ( Marks: 1 ) - Please choose one

Which of the following is the extension of graphics files?


.doc
.mdb
.gif
.tmp
Question No: 5 ( Marks: 1 ) - Please choose one
A hardware device that stores data and programs, executes program
instructions, and performs arithmetic/logic operations is known as the
____.
CPU
Integrated Circuit
Main Storage
Memory
Question No: 6 ( Marks: 1 ) - Please choose one

The input device that reads printed characters, symbols, or graphical


images into the computer is the:
Sensors
Speech recognition
Mouse.
Scanner
Question No: 7 ( Marks: 1 ) - Please choose one
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

The component of the central processing unit that holds instructions,


stores data and keeps results during the processing is called the:
Arithmetic/Logic unit.
Control unit.
Main memory.
Micro processing chip.
Question No: 8 ( Marks: 1 ) - Please choose one

The software that is used to write/send/receive an e-mail is called


Web browser
Mail Binder
E-mail Handler
E-mail Client
Question No: 9 ( Marks: 1 ) - Please choose one
A computer virus is a ____________
Software that saves the computer from being damaged.
Application software that helps to make different type of viruses and
worms
Program that spreads itself and destroys other program
Program that corrects the problems in your computer
Question No: 10 ( Marks: 1 ) - Please choose one
What does internet service provider mean?
A software that helps you to connect to internet
A company that helps you to connect to internet
A software that allows you to send/receive e-mails
A telephone network which helps you to connect to internet
Question No: 1 ( Marks: 2 ) - Please choose one
Which statement is wrong for naming an identifier?
Identifiers are names used by JavaScript to refer to variables, objects,
properties,
methods, and functions.

An identifier must begin with an alphabetical character (a-z or A-Z),


underscore
“_” character or $ character.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Subsequent characters can be an alphabetical (a-z or A-B) or numeric


character
(0-9) or an underscore

Question No: 2 ( Marks: 2 ) - Please choose one


Which of the following words can’t be used for naming an identifier
in JavaScript?
struct
plugin
parent
package

Question No: 3 ( Marks: 2 ) - Please choose one


Data Management comes up with different issues except one:
Data entry
Data updates
Data integrity
Data security
Data presentation

Question No: 4 ( Marks: 2 ) - Please choose one

Choose correct statement.


The value of a variable can not be changed during execution of the
script.
In JavaScript a variable’s type is defined before usage.
The untyped feature makes JavaScript simpler to program in when
developing short
programs.

The untyped feature makes JavaScript simpler to program in when


developing big
programs.

Question No: 1 ( Marks: 1 ) - Please choose one


Using Java Script you can write a character at random location on
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

screen
► By applying randomCh() method
► With the help of String object
► With the help of random character property
► There is no built in approach in Java Script

Question No: 2 ( Marks: 1 ) - Please choose one


If incorrectly we enter the negative age it is check by
► Limit Integrity
► Type Integrity
► Referential Integrity
► Physical Integrity

Question No: 3 ( Marks: 1 ) - Please choose one


The Encryption of data is related to
► Data updates
► Data security
► Data integrity
► Data accessibility

Question No: 4 ( Marks: 1 ) - Please choose one


Which protocol is use to transfer a file over the network ?
► UDP
► FTP
► TCP
► OSI

Question No: 5 ( Marks: 1 ) - Please choose one


One can send an email message to a remote computer using _______
protocol
► HTTP
► SMTP
► FTP
► TELNET

Question No: 6 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

In a System having many parts to be designed, one should always do


the _____ first
► Hard part
► Simple part
► Development part
► Quality part

Question No: 7 ( Marks: 1 ) - Please choose one


Flow control constructs in JavaScript includes:
► If-Else
► Loops and If -Else
► Switch and If-Else
► All of the given choices

Question No: 8 ( Marks: 1 ) - Please choose one


___ provides a simple, consistent way for applications to interact with
the HW without having to know all the details of the HW
► Explorer.exe
► System Files
► Operating System
► Application Software

Question No: 9 ( Marks: 1 ) - Please choose one


Machine language is also called
► Assembly Language
► Binary Language
► High Level Language
► HTML Language

Question No: 10 ( Marks: 1 ) - Please choose one


_________ is the best known builder for supercomputers.
► Sun
► Cray Research
► Microsoft
► Apple
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 11 ( Marks: 1 ) - Please choose one


The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage

Question No: 12 ( Marks: 1 ) - Please choose one


Communication protocol is a __________that governs the flow of
information over a network
► Set of methods
► Set of protocols
► Set of rules
► Device

Question No: 13 ( Marks: 1 ) - Please choose one


_____________ team is responsible for the maintenance, expansion ,
improvement of the infrastructure consisting of workstations,
networking equipment, software and network security.
► Support
► Configuration Management
► Quality Assurance
► Developer

Question No: 14 ( Marks: 1 ) - Please choose one


_____________ team consists on the sharpest technical minds in the
company.
► Architecture
► Business Development
► Configuration Management
► Developer

Question No: 15 ( Marks: 1 ) - Please choose one


_______________ is responsible for day to day operations.
► CEO
► COO
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► CMSO
► Developer

Question No: 16 ( Marks: 1 ) - Please choose one


One of the key responsibilities of the ___________ is client
relationship management.
► Project Manager
► Team Lead
► Developer
► Quality Assurance Engineer

Question No: 17 ( Marks: 1 ) - Please choose one


What is the major problem with flash based website?
► Its two heavy
► Cannot be indexed
► Less attractive
► Inaccessible

Question No: 18 ( Marks: 1 ) - Please choose one


Which of the following is NOT an event handler for image object?
► onAbort
► onError
► onLoad
► onUser

Question No: 19 ( Marks: 1 ) - Please choose one


The organizations are learning that business can be done in a more
effective manner if emphasis is placed upon ___________.
► Cooperation
► Shared responsibility
► Networking
► All of the given options

Question No: 20 ( Marks: 1 ) - Please choose one


country=”Hello Pakistan”;
document.write(country.charAt(6));
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

The out put of the above statement is _____________.


►o
►P
►a
►k

Question No: 21 ( Marks: 1 ) - Please choose one


a = Math.abs(-23)

What will be the value of a ?


► 23
► -23
► 23.0
► 2.3

Question No: 22 ( Marks: 1 ) - Please choose one


ERP is a type of __________________ .

► Entertainment software
► Productivity software
► Business software
► Scientific software

Question No: 23 ( Marks: 1 ) - Please choose one


In Genetic Algorithm the most important thing you should know, is
the ___________.
► Procedure
► Recognition of a good solution
► Different techniques
► None of the given options

Question No: 24 ( Marks: 1 ) - Please choose one


According to a popular heuristic, success is defined by ___________.
► The user
► The builder
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Both user and builder


► None of the given options

Question No: 25 ( Marks: 1 ) - Please choose one


Rule of thumb learned through trial and error is called ___________.
► Design
► Heuristic
► Plan
► Aim

Question No: 26 ( Marks: 1 ) - Please choose one


JavaScript Variables are ____________.
► Dynamically Typed
► Statically Typed
► Strong Typed
► None of the given options

Question No: 27 ( Marks: 1 ) - Please choose one


Which of the following application is collections of cells?

► Word
► Excel
► PowerPoint
► Outlook Express

Question No: 28 ( Marks: 1 ) - Please choose one


The browser breaks down the URL into ________ parts.
►2
►3
►4
►5

Question No: 29 ( Marks: 1 ) - Please choose one


A named collection of properties (data, state) and methods (instruction,
behavior) is called ____________.
► Array
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Function
► Variable
► Object

Question No: 30 ( Marks: 1 ) - Please choose one


First computer network was ___________.
► NSFNET
► FIRSTNET
► ARPANET
► ORPHANET

Question No: 31 ( Marks: 1 )


What kind of information can be stored in a database?

Question No: 32 ( Marks: 1 )


What does NIC stand for?

Question No: 33 ( Marks: 2 )


What is Information Technology?

Question No: 34 ( Marks: 2 )


What is meant by universal access of internet services ?

Question No: 35 ( Marks: 3 )


Write JavaScript code to convert the number 236.2363611111556 into
currency format and JavaScript statement to show output.

Question No: 36 ( Marks: 3 )


Briefly mention any three problems in old modes of presentation
development

Question No: 37 ( Marks: 3 )


What is the difference between Internet and Intranet ?
Intra net is the communication of computer with in office or one
building and internet across the boundaries
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 38 ( Marks: 5 )


Suppose we have a big project. Draw hierarchy of the people
involved in the project?
Project director
Assistanst director
Research and planning director
Monitoring and evalution officer
Procurement office
Accounts officer
Executive officer

Question No: 39 ( Marks: 5 )


Show output of the following code:

for (i=0; i<=10; i++)


{
document.write("The number is " + i);
document.write("<br />");
}

Question No: 40 ( Marks: 10 )


Write a note on the following (4+6)

a. Two popular review methods


b. Two types of errors

Question No: 41 ( Marks: 10 )


Define the following terms:

A) Heuristic
B) System
C) System architecture
D) Analysis of Algorithm
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 1 ( Marks: 1 ) - Please choose one


---------- was known as “mill” in Analytical engine.
► Memory
► Processor
► Monitor
► Mouse
Ref: An arithmetical unit (the "mill") would be able to perform all
four arithmetic operations, plus comparisons and optionally square
roots. Initially it was conceived as a difference engine curved back
upon itself, in a generally circular layout,[2] with the long store exiting
off to one side.

Question No: 2 ( Marks: 1 ) - Please choose one


First electronic computer was
► ABC
► UNVAC 1
► Harvard Mark 1
► IBM PC

Question No: 3 ( Marks: 1 ) - Please choose one


What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity

Question No: 4 ( Marks: 1 ) - Please choose one


What happens if I start a new list without closing the original one?

► An error will be generated


► A nested list will be created
► Previous list will end and a new will start.
► Nothing will happen

Question No: 5 ( Marks: 1 ) - Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

The most upper right pixel of the screen is of ___________ color.


► Any
► Red
► Green
► Blue

Question No: 6 ( Marks: 1 ) - Please choose one


A single pixel can acquire approximately ___________ color schemes.
► 1 million
► 2 million
► 10 million
► 16 million

Question No: 7 ( Marks: 1 ) - Please choose one


The idea of Neural Networks field is based upon ______________.
► Human nature
► Human brain
► Human culture
► Human actions

Question No: 8 ( Marks: 1 ) - Please choose one


Which one of the following is an application for artificial intelligence?
► Robotic
► Web Agent
► Decision Support System
► All of the given options
Question No: 9 ( Marks: 1 ) - Please choose one
Register is a kind of ______memory

► Fast
► Super fast
► Slow
► Very slow

Question No: 10 ( Marks: 1 ) - Please choose one


Which of the following is a true statement?
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Flat-file storage is better than tabular storage.


► Tabular storage is better than flat-file storage.
► Flat-file storage is better than relational storage.
► None of the given options

Question No: 11 ( Marks: 1 ) - Please choose one


substring(n, m) returns a string containing characters copied from
position n to___________.
►m–2
►m–1
►m+1
►m

Question No: 12 ( Marks: 1 ) - Please choose one


The __________ is the old profession which is being eliminated
because of computing.
► Typist
► Bank manager
► Operational manager
ss

Question No: 13 ( Marks: 1 ) - Please choose one


The system that manages relational database, is called
______________.
► None of the given options
► Database Management System
► Data Management System
► Relational Database Management System

Question No: 14 ( Marks: 1 ) - Please choose one


When web server is busy it gives the following message to the user :
► Time out
► Waiting
► Server busy
► None of the given options
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 15 ( Marks: 1 ) - Please choose one


The group of technologies concerned with the capturing, processing
and transmission of information in the digital electronic form is called
_____________.
► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology

Question No: 16 ( Marks: 1 ) - Please choose one


_____________ team consists on the sharpest technical minds in the
company.

► Architecture
► Business Development
► Configuration Management
► Developer

Question No: 17 ( Marks: 1 ) - Please choose one


TCP stands for ________.

► Transfer Center protocol


► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol

Question No: 18 ( Marks: 1 ) - Please choose one


A collection of data organized in such a way that the computer can
quickly search for a desired data item is known as :
► Retrieving
► Database
► Information
► DBMS

Question No: 19 ( Marks: 1 ) - Please choose one


Microsoft Word is a type of:
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► System Software
► Freeware Software
► Shrink-Wrapped Software
► Custom-built Software

Question No: 20 ( Marks: 1 ) - Please choose one


Users __________, how things work.
► Analyze in detail
► Muddle through
► Figure out
► Read in detail

Question No: 21 ( Marks: 1 ) - Please choose one


Popular schemes used for reducing bytes for storage are:
► RGB and Color mapping
► RGB and Dithering
► RGB, Color mapping and Dithering
► Color mapping and Dithering

Question No: 22 ( Marks: 1 ) - Please choose one


Hardware malfunctions is related to
► Data updates
► Data integrity
► Data security
► Data accessibility

Question No: 23 ( Marks: 1 ) - Please choose one


If incorrectly we enter the negative age it is check by
► Limit Integrity
► Type Integrity
► Referential Integrity
► Physical Integrity

Question No: 24 ( Marks: 1 ) - Please choose one


Which is the user-friendly way of presenting data ?
► Query
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Form
► Report
► All of the given options

Question No: 25 ( Marks: 1 ) - Please choose one


Currently the BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB
► 150 GB

Question No: 26 ( Marks: 1 ) - Please choose one


In JavaScript, a || b is interpreted as

►a is true or b is false
►a is true and b is true
►a is false and b is true
►a is true or b is true or both are true

Question No: 27 ( Marks: 1 ) - Please choose one


Speakers fall into the hardware category.
► True
► False

Question No: 28 ( Marks: 1 ) - Please choose one


onBlur event is occurred for a form element when it ____________

► Gets focus
► Losts focus
► Some thing is typed in
► onBlur is not an event

Question No: 29 ( Marks: 1 ) - Please choose one


You can view a 3-D image on a _____________.
► 3-D display
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► 2-D display
► On both 2-D and 3-D displays
► We can not view a 3-D image

Question No: 30 ( Marks: 1 ) - Please choose one


Module level design and unit testing is the responsibility of
_____________.
► Team Lead
► Developer
► Project Manager
► Quality Assurance Expert

Question No: 31 ( Marks: 1 )


What is heuristic?

Common sense Lesson drawn from experience


(Artificial) Intelligent Systems
SW programs or SW/HW systems designed to perform complex tasks
employing strategies that mimic
some aspect of human thought

or

• a commonsense rule (or set of rules) intended to increase the


probability of solving some problem
• of or relating to or using a general formulation that serves to
guide investigation

Question No: 32 ( Marks: 1 )


In programming, what is an object ?
Object: A named collection of properties (data, state) & methods
(instructions, behavior)
Question No: 33 ( Marks: 2 )
What is spreadsheet? List any two jobs that it can do.
A spreadsheet is a grid that organizes data into columns and rows.
Spreadsheets make it easy to display
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

information, and people can insert formulas to work with the data.
Electronic replacement for ledgers
Charts
financial-forecasting
Question No: 34 ( Marks: 2 )
In JavaScript, what is event handling? What are the two types of
events?
Capturing events and responding to them
The system sends events to the program and the program responds to
them as they arrive
Events can include things a user does - like clicking the mouse - or
things that the system itself does -
like updating the clock.
Question No: 35 ( Marks: 3 )
Explain how many ways businesses monitor their employees?
• Systems are available that monitor almost every key stroke that an
employee makes on a computer
• Systems are available that read and censor all incoming and
outgoing eMail
• It is quite straight forward to monitor where you surf, and when
Question No: 36 ( Marks: 3 )
What is difference between Design and System Architecture?
A system architecture or systems architecture is the conceptual design
that defines the structure and/or behavior of a system.
An architecture description is a formal description of a system,
organized in a way that supports reasoning about the structural
properties of the system
Designs it as an independent, selfcontained system
Question No: 37 ( Marks: 3 )
What are the Sub categories of Artificial Intelligence? Briefly explain
any two.
Expert systems
Systems that, in some limited sense, can replace an expert
Robotics
Automatic machines that perform various tasks that were previously
done by humans
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Example:
Pilot-less combat air planes
Decision Support Systems:
Interactive software designed to improve the decision-making capability
of their users
Utilize historical data, models to solve problems
Question No: 1 ( Marks: 1 ) - Please
choose one

In Spreadsheets, you can create a relationship


between two cells by using _________.
► Numbers

► Text

► Formulas

► None of given option

Question No: 2 ( Marks: 1 ) - Please


choose one

An algorithm that always takes the best immediate


or local solution while finding an answer is
called____.

► Deterministic Algorithm
► Non deterministic Algorithm

► Greedy Algorithm

► Randomized Algorithm

Question No: 3 ( Marks: 1 ) - Please


choose one
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Which of the following command allows you to


recover form mistakes in MS Word?

► Clear
► Edit

► Undo
► Break

Question No: 4 ( Marks: 1 ) - Please


choose one

A ____________ operating system


allows many users to take
advantage of the computer's
resources, simultaneously

► Single user

► Multi- user

► Single tasking

► Multi tasking

Question No: 5 ( Marks: 1 ) - Please


choose one

Network Interface Card is an __________ device


► Input
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Output

► Input/Output

► Storage

Question No: 6 ( Marks: 1 ) - Please


choose one

The decimal equivalent of binary 1000 is


► 7

► 8

► 9
► 10

Question No: 7 ( Marks: 1 ) - Please


choose one

Which of the following is NOT RDBMS software?

► My Sql

► MS Excel

► Oracle
► SQL Server

Question No: 8 ( Marks: 1 ) - Please


choose one

A computer virus is a

► Software that saves the computer from


being damaged.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

► Application software that helps to make


different type of viruses and worms

► Program that spreads itself and destroys


other program

► Program that corrects the problems in


your computer

Question No: 9 ( Marks: 1 )

What will be the result of a?


a = Math.abs(-23)

► 23

► -23

► 23.0

► 2.3

Question No: 10 ( Marks: 1 )

- Please choose one


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

- Please choose one

A Special program required to view swf


(Shockwave Flash) files in web Browser is called

► TFlash

► Vflash

► plug-in

► None of the given options

Question No: 11 ( Marks: 8 )

Match the relevant options from the


given two columns and write the
correct options inColumn 3.
Column 1
Column 2
Column 3

1.F Mainframe
A. Network Traffic
Computers
controller
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

2.H Mosaic
B. Laptop
3.E Operating System
C. Micro Processor
4A Router
D. Software Piracy
5. G Spread Sheet
E. Windows XP
6.B Mobile Computer
F. Enterprise Servers
7.C Intel 4004
G. VisiCalc
8.D Cyber Crime
H. Web Browser

Question No: 12 ( Marks: 12 )

(a) What is the difference between Wisdom and


Heuristic?

(b) Differentiate between Cyber crime and Cyber


warfare.

(c) What is a Relational Database? Give the


names of any three RDBMS softwares?

Question No: 13 ( Marks: 8 )

What do you know about the following ? Describe


briefly.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

a) Enterprise Resource Planning (ERP)


Software

b) Spread Sheet
c) Network Topology

d) SMTP

Question No: 14 ( Marks: 10 )

(a) What is the difference between


High level and Low level
programming languages?
(Marks:
4)

(b)What
are the
following
abbreviatio
ns stands
for

(Marks: 3)
1- VoIP
voice over
IP
2- DNS
Domain
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Name
System
3- DOS
disk
operating
system

(c) Name three


operations that you
can perform on a
database

(Marks: 3)

Question No: 15 ( Marks: 12 )

a) Develop a Web page that prompts


the user to enter a name and then print
that name five times by using loop. A
sample is shown in the figures below.
(
M
a
r
k
s
:

6
)
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

b) Write down the JavaScript


function that is equivalent to the
following HTML code?

(Marks: 3)

HTML code
JavaScript function
<FONT size=18>
fontsize(18)

</FONT>

<FONT
color=”blue”>
fontcolor(blue)

</FONT>
<PRE> … </PRE> fixed()

Question No: 2
Marks:9
Describe the following terms?
• FTP.
• Telnet Protocol.
• IP Address.
Question No: 3
Marks:6
What are local variables? Compare them with global variables?
Question No: 4
Marks:10
Examine the logic of following pseudo code:
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

initialize x to 10
initialize y to 0
initialize sum to 0
Repeat while (y <= 6)
{
Add x and y and put results into sum
decrement x by 2
increment y by 3
}
print sum
Stop
What will be the value of the variables “sum, x and y”, each time
after the loop is executed?
Question No: 5
Marks: 10
Write down a JavaScript function with the name “BinConvert( )” that
takes a decimal number and converts it into its equivalent binary
number and displays the result in browser. Call that function in the
body of the web page.
Question No: 6
Marks: 5
What is database? Describe Data Integrity?
Question No: 7
Marks: 2
Web server:
A. Is a software to deliver e-mail
B. Is a computer that store and deliver web pages
C. Does not allow electronic chatting
D. Does not have a Domain name
Question No: 8
Marks: 2
Ports are:
A. Input devices
B. Output devices
C. Used to allow I/O devices to communicate with the CPU
D. Able to process incoming data
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 9
Marks: 2
A Hyperlink is a:
A. Connection between two computers
B. Connection between two countries on the net
C. Gateway to the next web page
D. Gateway between five continents
Question No: 10
Marks: 2
Vacuum Tubes are:
A. Smaller then transistors
B. Made up of two or more electrodes in a glass metal tube
C. Used in IBM PC
D. Invented by Tim Berners lee
Question No: 11
Marks: 2
Memory inside a microprocessor is called
A. RAM
B. ROM
C. Cache
D. Pre-fetch buffer

Question No. 1
Micro controller
1 Are faster then microprocessor
2 Is another name for microprocessor?
Total
Marks : 2
3 Are complete computer on a chip
4 Cost thousands of dollar per piece
Question No. 2
Two major types of software are
1 Application Software , System Software
2 Application Software , Database Software
3 System Software , Database Software
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

4 Database Software , Embedded Software


Question No. 3
Marks : 2
Marks : 5
How Operating System software does manage a device when a
particular application is
executed? Explain with at least one example?
Question No. 4
Word representing the protocol in URL http://www.microsoft.com is
1 www
2 Microsoft
3 microsoft.com
4 http
Question No. 5
What do you know about WWW and what are the basic elements of
web design?
Question No. 6
What do you know about Neural Networks and give any two
examples.
Question No. 7
Define and explain Greedy Algorithm briefly. You are also required to
give key advantage and
an example of Greedy Algorithm.
Question No. 8 Marks : 6
Determine the correct reserved words of JavaScript from the following
list and explain them
briefly.
1 document
2 read
3 alert
4 delete
5 function
Question No. 1
Micro controller
1 Are faster then microprocessor
2 Is another name for microprocessor?
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

3 Are complete computer on a chip


4 Cost thousands of dollar per piece

Question No. 2

Two major types of software are

1 Application Software , System Software


2 Application Software , Database Software
3 System Software , Database Software
4 Database Software , Embedded Software
Question No. 3
How Operating System software does manage a device when a
particular application is
executed? Explain with at least one example?

Question No. 4
Word representing the protocol in URL http://www.microsoft.com is
1 www
2 Microsoft
3 microsoft.com
4 http
Question No. 5
What do you know about WWW and what are the basic elements of
web design?
Question No. 6
What do you know about Neural Networks and give any two
examples.
Question No. 7

Define and explain Greedy Algorithm briefly. You are also required to
give key advantage and
an example of Greedy Algorithm.
Question No. 8
Determine the correct reserved words of JavaScript from the following
list and explain them
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

briefly.
1 document
2 read
3 alert
4 delete
5 function
6 comment

Question No. 9
Discuss any three issues/characteristics of Data Management.
Question No. 10
Write function using JavaScript. The name of function will be
"display( )". The "display( )"
function will display the following string as shown below:
X3 + Y2

[Hint: Use string methods sub( ) and sup( )]


The "display( )" function should be called at onLoad event.

Question No. 11
Consider the following code
pitch = "hard"
bowler="slow"
if ( (pitch == "hard") || (bowler == "fast") )
myStatus = "Bouncer" ;
else
myStatus = "Short Pitch" ;
Variable myStatus will contain the value:
1 Bouncer
2 Short Pitch
3 Hard
4 Slow
Question No. 12
What does the following JavaScript code
function changeBgcolor()
{
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

oldColor = window.document.bgColor;
window.document.bgColor = "pink";
window. alert("The old color was " + oldColor);
}
1 Change the Color of Window document to pink and nothing
else
2 Change the Color of Window document to pink and display the
name of old Color in a
dialogue box
3 Change the Color of Window document to Blue and displays
name of old color in a
dialogue box
4 Create a form in window document

Question No: 27 ( Marks: 1 )


What BIOS stands for? – Binary Input Output System

Question No: 28 ( Marks: 1 )


List down the Analytical Engine's components name (any
two)
Answer : Google & Netscape,

Question No: 29 ( Marks: 2 )


Why uploading a web page is important? Describe in 2 –
3 lines.
Answer : By only uploading webpage we could place our
information in order the other can reach up to ready what
we load, upload means make available our data or
information for the world web browsers

Question No: 30 ( Marks: 3 )


What is the difference between microprocessors and
microcontrollers? Give one example of both.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Answer : The microprocessor is electronic equipment which


can perform several function and also processing of data
and information present in a computer, while
microcontroller can only perform one function for that its
design
Example
Microprocessors _ Pentium 4
Microcontroller _ can be a switch in side the washing
machine

Question No: 31 ( Marks: 5 )


Differentiate uni-Processor OS from Multi-Processor OS.
Answer : The Multiprocessors is when more than one
processor is under operation it can be several or may
hundreds of the kind to perform one great operation or
calculation, while our PC is a kind of uni-processor

Question No: 32 ( Marks: 5 )


Why do we call JavaScript an Object-based Language?
Answer : Java Script is a language by which we are
writing our web-pages, this language is designed to work
for web pages

Question No: 33 ( Marks: 2 )


What is meant by semantic error ?

Answer:
Occur when a statement executes and has an effect not
intended by the programmer and Often times occur
only in unusual & infrequent circumstances

Question No: 34 ( Marks: 2 )


List down the names of two array methods available in
JavaScript.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Answer:
1. sort( ) [sorts elements in
alphabetical order]
2. reverse( ) [Reverses the
order of elements]

Question No: 35 ( Marks: 3 )


How can you define a consistent web design? Why is it
needed?

Answer:
A consistent good designed website is generated for
general public that allows users to attain what they
want as quickly as possible without spending much
effort.

A consistent good design assists the user in recovering


from errors.

Question No: 36 ( Marks: 3 )


How can we include images in a web page using HTML
and Java script?

Answer:
Image in HTML
<IMG src=URL, alt=text height=pixels width=pixels
align="bottom|middle|top">

Image in Javascript
Images in JavaScript can be manipulated in many ways
using the built-in object Image.
Additional properties to HTML are hspace, vspace &
lowsrc.
Example: It can be used by many handlers like,
onAbort, onLoad & onError
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 37 ( Marks: 3 )


The event handler attribute consists of three parts. Write
about each of them.

Answer :
The identifier of the event handler
The equal sign
A string statement enclosed in double or single quotes.

Question No: 38 ( Marks: 5 )


What is a packet in the network environment? What kind
of information does it contain?

Answer:

 Packet is data chopped up into pieces in a network


environment.
 These packets contain information about which computer
sent the data and where the data is going.
 If a packet runs into a problem during its trip, it can
attempt to find another route. When all the packets get
where they are going, the recipient computer puts them
together again.

Question No: 39 ( Marks: 5 )


Suppose we have a big project. Draw hierarchy of the
people involved in the project?

Answer:
Please ignore small lines relating Sub Teams to
subordinates due to shortage of time. ABCD etc are
connected directly to Team Lead 1,2 & 3 accordingly.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 31 ( Marks: 1 )


What is heuristic?

Common sense Lesson drawn from experience


(Artificial) Intelligent Systems
SW programs or SW/HW systems designed to perform
complex tasks employing strategies that mimic
some aspect of human thought

or

 a commonsense rule (or set of rules) intended to increase the


probability of solving some problem
 of or relating to or using a general formulation that serves to
guide investigation

Question No: 32 ( Marks: 1 )


In programming, what is an object ?

Object: A named collection of properties (data, state) &


methods (instructions, behavior)

Question No: 33 ( Marks: 2 )


What is spreadsheet? List any two jobs that it can do.
A spreadsheet is a grid that organizes data into columns
and rows. Spreadsheets make it easy to display
information, and people can insert formulas to work with
the data.

Electronic replacement for ledgers


Charts
financial-forecasting
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 34 ( Marks: 2 )


In JavaScript, what is event handling? What are the
two types of events?

Capturing events and responding to them


The system sends events to the program and the program
responds to them as they arrive
Events can include things a user does - like clicking the
mouse - or things that the system itself does -
like updating the clock.

Question No: 35 ( Marks: 3 )


Explain how many ways businesses monitor their
employees?
• Systems are available that monitor almost every key
stroke that an employee makes on a computer
• Systems are available that read and censor all incoming
and outgoing eMail
• It is quite straight forward to monitor where you surf,
and when

Question No: 36 ( Marks: 3 )


What is difference between Design and System
Architecture?
A system architecture or systems architecture is the
conceptual design that defines the structure and/or
behavior of a system.
An architecture description is a formal description of a
system, organized in a way that supports reasoning
about the structural properties of the system
Designs it as an independent, selfcontained system

Question No: 37 ( Marks: 3 )


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

What are the Sub categories of Artificial Intelligence?


Briefly explain any two.
Expert systems
Systems that, in some limited sense, can replace an expert
Robotics
Automatic machines that perform various tasks that were
previously done by humans
Example:
Pilot-less combat air planes

Decision Support Systems:


Interactive software designed to improve the decision-
making capability of their users
Utilize historical data, models to solve problems

Question No: 38 ( Marks: 5 )


How many ways are there to call a function in a
program ? Explain with example
Functions do not run automatically. When the page loads,
each function waits quietly until it is told to run
Calling a Functio n From a n Event
Handler
An event handler is a c om ma nd which
calls a function when an even t happ en s,
su ch as th e user clickin g a butt on.
The command is written in the format
onEve nt, wh ere Eve nt is th e name for a
sp ec ific a ct ion . Here are some common
examp les:

Calling a Functio n From Another


Function
function doSomething() {
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

doSomethingElse(); // This line calls the next function


}

Question No: 39 ( Marks: 5 )


Elaborate the ‘+ ’ operator and its constraints with the
help of examples
The “+” String Operator
The “+” operator can be used to concatenate two strings
title = “bhola” + “continental”
The value of the variable title becomes “bholacontinental”

Question No: 40 ( Marks: 10 )


Write a JavaScript program having two functions sum
and mean.
The web page will ask the user to enter five values to
be added.
After taking input it will calculate the sum and mean
of those values by calling sum and mean functions.

Question No: 41 ( Marks: 10 )


Define the following terms.
Object
A named collection of properties(data, state) &
methods (instructions, behavior)
Event Handler
An event handler is a c om ma nd which
calls a function when an even t happ en s,
su ch as th e user clickin g a butt on
Local Variable
Declaring variables (using the var keyword) within a
function, makes them local•They are available only
within the function and hold no meaning outside of it
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Scope of Variable
Defining the space in which a variable is effective is
known as
defining the scope of a variable. A variable can be
either local or global in scope
Array
An indexed list of elements

Question No: 31 ( Marks: 1 )


In programming, what is a loop?
In computer science a for loop is a programming language statement
which allows code to be repeatedly executed. A for loop is classified
as an iteration statement.

Question No: 32 ( Marks: 1 )


What are the other names of function? Any one.
Routine , procedure , sub prograam

Question No: 33 ( Marks: 2 )


How JavaScript Arrays are heterogeneous ?
Arrays are heterogeneous in java script because at the same time
stimultanously they can hold elements of multiple data types

Question No: 34 ( Marks: 2 )


What is the database?
Data base is a collection of organized data in a proper way that
computer can quickly search for any desired data item , its an easy
way of allowing of manipulation of data,they are design in such a
way that access to any desired data can be identified and reached
quickly and easy , they are generally consist of collection of
interrelated files

Question No: 35 ( Marks: 3 )


Differentiate between LAN and WAN with one example of each.
Lan is a local area network where as wan is a wide area network
Lan can be used in a specific areas with limited computers where as
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

wan can be used on computers shared by large distances


For example lan can be used on pc s or an organization located in
one building but wan can be used on large scales like banks all over
or in any Large communication systems

Question No: 36 ( Marks: 3 )


What are Trojan Horses ?
Trojen horses are a kind of cyber crime , they are v harmful to
computer because they are stand alone programme and the look like
what they are not like any thing amusing or not harmless like games..

Question No: 37 ( Marks: 3 )


Elaborate Rester Graphics with examples.
A raster graphics image, digital image, or bitmap, is a data file or
structure representing a generally rectangular grid of pixels, or points
of color, on a computer monitor, paper, or other display device.

To illustrate the matter further - here's the letter "J":


J
Look closely at it... Take a magnifying glass to it if you like. You see
a "J", the computer sees something more like this, where '.' represents
a zero and 'X' represents a one:

...X
...X
...X
...X
...X
...X
...X
X...X
X...X
.XXX.

Where you see a zero, the computer instructs its video hardware to
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

paint the current background color. A one calls for the current
foreground color. Yes, it is actually a bit more complicated, but it all
basically boils down to one bit or the other making a distinction
between the colors of adjacent pixels, which together form an image.

Question No: 38 ( Marks: 5 )


What are the important properties, methods and event handlers of
image object?
The primary use of the image object is to download an image into
the cache before it is needed to display , image object can be used to
create different kinds of animations or to display one of several
images based on the desired requirement , in java script image object
can be used to display the required pre loaded image
Properties of image object is : height , width ,hspace ,vspace , src ,
name border etc
Methods :none
Event handlers:on aboart , onload, onerror etc

Question No: 39 ( Marks: 5 )


Write the JavaScript code for the Function
SumOddNumbers(maxNumber) that can add non-negative odd
numbers up to maxNumber and return their sum.

Function sum odd numbers(maxnumber){var sum=0;


For(i=0; <maxNumbers;I++)
{
{
if(i / 2 == 1 || i == 1)
sum += i;
}

return sum;

}
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 40 ( Marks: 10 )


Write a note on :
· Coding guidelines
· Guidelines for developing short programs.
· Coding guidelines
· • Always use semicolons to end statements
· • Indent blocks of code (2 to 5 spaces)
· • Identifiers
· • Use the camel back scheme
· • Variables: nouns
· • Functions: verbs
· • Comment Liberally
· • Make them descriptive but concise
·
Gudelines for developing short programs.
· • Read and understand the problem
· • Do you have all the required data?
· • No: Get it
· • Else assume it. State it explicitly
· • Do the design

Question No: 41 ( Marks: 10 )


write a note on each of the following:
a. Vector or Object-Oriented Graphics:
b. Bit-Mapped or Raster Graphics:
A:In Vector or object oriented graphic everything drawn is treated as
object. objects retain their identity after they are drawon. these objects
can later be moved, stretched, duplicated, deleted,etc. they are
resolution independent and have relatively small file size. the examples
are: swf, svg, wmf, ps
brass_ibrahim: Vector graphics is the use of geometrical primitives
such as points, lines, curves, and shapes or polygon(s), which are all
based on mathematical equations, to represent images in computer
graphics.
brass_ibrahim: The term "vector graphics" is mainly used today in the
context of two-dimensional computer graphics Virtually all modern 3D
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

rendering is done using extensions of 2D vector graphics techniques


.Virtually all modern 3D rendering is done using extensions of 2D
vector graphics techniques
B:Bit-Mapped or Raster Graphics:
Treats everything that is drawn as a bit-map
If an object is drawn on top of another, it is difficult to move just one
of them while
leaving the other untouched
Changing the resolution often requires considerable touch-up work
Relatively large file size
Examples: gif, jpg, bmp
masood.tariq: Bit-Mapped or Raster Graphics:
Treats everything that is drawn as a bit-map
If an object is drawn on top of another, it is difficult to move just one
of them while
leaving the other untouched
Changing the resolution often requires considerable touch-up work
Relatively large file size
Examples: gif, jpg, bmp

28 objectives were from old papers out of 30.

What is Array?
Marks 2
what is computer prrofessional? Marks 2
define onLoad and onUnload? Marks 2
waht is time bomb?
Marks 2
what is bandwidth?
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Marks 2
"while" loop is more preferable than "For" loop? Marks 3
sementic web and present web? Marks 3
can we replace a human doctor by Expert system? Marks 5
Difference Internt and intranet? Marks 5
ways of navigation Heuristics? Marks 5
event handling?

Define network organization and its advantages? Marks 10

Coding Guidline and guidlines for short programs? Marks 10

Dewelop a web page that displays six thumbnails


images. A main image should be changed to a large
version of thumbnail as soon as the mouse moves
over the thumbnail. Write complete html and java script? Marks 10

characteristics of Internet?
Marks 10

Profile and responsibilities of Team Leader? Marks 10

due to computer how many jobs are available and


how many jobs are eliminated?
Marks

Today was my CS101 Paper. The Subjective Quizzes are as under:

1. How many members are in operational team and what there key
resposibilities

2. What is Computer Screen?

3. What are weaknesses of the web?


Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

4. Characteristics of Internet (Any Five)?

5. Breifly describe
Telnet
VoIP
Instant Messaging
FTP
IP/TCP
6. Describe the organizational structure?

7. What is image process

8. Pixel?

Today I had CS 101 Paper.There were 41 questions.30 objective and


11 descriptive.Few of the questions were:
3 attributes of event handler
Difference between Internet and Intranet
Function
Commonsense to avoid viruses and explain antivirus
TCP/IP
An attack on Yahoo servers
Spreadsheets
Codes for uploading file
Hierarchy in an organization
Team lead
COO
Developer
Businessess monitoring their employees
'+' operator
Image in Javascript
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 31 ( Marks: 1 )


What is the function of Network Interface Card ?

Question No: 32 ( Marks: 1 )


In programming, what is a loop?
Ans:

In computer programming, a loop is a sequence of


instructions that is continually repeated until a certain
condition is reached. A loop is a fundamental programming
idea that is commonly used in writing programs.

Question No: 33 ( Marks: 2 )


What is an intelligent system?

Question No: 34 ( Marks: 2 )


Why hub is used in networks?
Ans:
Network hubs are used to connect multiple workstations for routing
through a single link to a server. In computer network systems, hubs,
switches, repeaters, and routers are used when creating a network.

Question No: 35 ( Marks: 3 )


What are Trojan Horses ?

Question No: 36 ( Marks: 3 )


Elaborate with examples Vector or Object Oriented graphics

Question No: 37 ( Marks: 3 )


How can you define a consistent web design? Why is it needed?
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

Question No: 38 ( Marks: 5 )


if s = ”All is well that ends well”
then write JavaScript code that use ‘e ’as delimiter to split the given
string and show output using java script statements.

Question No: 39 ( Marks: 5 )


What are the advantages of multimedia presentations? Write any five.
Ans:
1.Great tool for effectively communicating ideas to an audience
2.Easy to make last minute changes
3.The undo feature encourages experimentation
4.More attractive; commanded more interest
5.May include animations, sound, video
6.Easy to catalog, store, and recall
7.Great tool for making presenter-free interactive material (e.g. self-
learning tutorials)

Question No: 40 ( Marks: 10 )


Write down HTML and JavaScript code for the following
requirements:

Declare an Array with the identifier SUBJECT having length 5.


Assign following values to the array elements:
MIS, Java, Algorithms, Databases, C++
Show all values in reverse order.

x= new array(5);
x[0]=”MIS”;
x[1]=”Java”;
x[2]=”Algorithms”;
x[3]=”Databases”;
x[4]=”C++”;
x.reverse();
x.sort();
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
www.foxitsoftware.com/shopping

for ( k = 0 ; k < x.length; k = k + 1 ) { document.write( x[ k ] +


“<BR>”) ;
}

For Assignment Solution, Mid Term / Final Term Past Papers


Short Notes, Solved Quiz Visit :

www.vuhelpinghands.blogspot.com
CS101 Solved Subjective Questions from Old papers
By

Question No: 31 (Marks: 1)


What is heuristic?
Heuristic is a procedure that usually, but not always, works or that gives nearly the right
answer.
Question No: 32 (Marks: 1)
In programming, what is an object?
Object is a named collection of properties (data, state) & methods (instructions, behavior).
Question No: 33 (Marks: 2)
What is spreadsheet? List any two jobs that it can do.
A spreadsheet is a grid that organizes data into columns and rows. Spreadsheets make it
easy to display information, and people can insert formulas to work with the data.
Electronic replacement for ledgers
Charts
Financial-forecasting.
1
Question No: 34 (Marks: 2)
In JavaScript, what is event handling? What are the two types of events?
In JavaScript capturing events and responding to them is event handling. The system sends
events to the program and the program responds to them as they arrive.
1. Events can include things a user does - like clicking the mouse.
2. Events that the system itself does - like updating the clock.
Question No: 35 ( Marks: 3 )
Explain how many ways businesses monitor their employees?
• Systems are available that monitor almost every key stroke that an employee makes on a
computer.
• Systems are available that read and censor all incoming and outgoing eMail.
• It is quite straight forward to monitor where you surf the web.
Question No: 36 ( Marks: 3 )
What is difference between Design and System Architecture?
System architecture is the conceptual design that defines the structure and/or behavior of a
system. Whereas designs it as an independent, self-contained system.

2
Question No: 37 ( Marks: 3 )
What are the Sub categories of Artificial Intelligence? Briefly explain any two.
1. Expert systems:
Expert system is that system which is in some limited sense, can replace an expert.
2. Robotics:
Robotics is an automatic machine that performs various tasks that were previously done by
humans.
Question No: 38 ( Marks: 5 )
How many ways are there to call a function in a program? Explain with example.
Two Ways of Calling Functions:
Functions do not run automatically. When the page loads, each function waits quietly until it
is told to run.
1. A function calls appearing as a complete statement:
function popUp( message ) {
window.alert( message ) ;
}
popUp( “Warning!” ) ;
3
2. A function calls appearing as part of a statement. Definitions of such functions
include a ‘return’ statement:
function add( a, b ) {
c=a+b;
return c ;
}
sum = add( 2, 4 ) ;
document.write( sum ) ;
Question No: 39 ( Marks: 5 )
Elaborate the ‘+ ’ operator and its constraints with the help of examples.
The + Operator Used on Strings. The + operator can also be used to add string variables or
text values together. To add two or more string variables together, use the + operator.
Example:
txt1="What a very";
txt2="nice day";
txt3=txt1+txt2;
Now txt3 will be having this value "What a very nice day".
txt3=txt1+txt2; this statement due to + sign.
4
Question No: 40 ( Marks: 10 )
Write a JavaScript program having two functions sum and mean.
The web page will ask the user to enter five values to be added.
After taking input it will calculate the sum and mean of those values by calling sum
and mean functions.
Question No: 41 ( Marks: 10 )
Define the following terms.
Object
Object is a named collection of properties (data, state) & methods (instructions, behavior).
Event Handler
An event handler is a command which calls a function when an event happens, such as the
user clicking a button.
Local Variable
Declaring variables (using the var keyword) within a function makes them local. They are
available only within the function and hold no meaning outside of it.
Scope of Variable
Defining the space in which a variable is effective is known as defining the scope of a
variable. A variable can be either local or global in scope.
Array
Array is an indexed list of elements.5
Question No: 27 ( Marks: 1 ) What BIOS stands for?
BIOS stand for Basic input/output system.

Question No: 28 ( Marks: 1 ) List down the Analytical Engine's components name
(any two) Input
Memory
Processor
Output. Question No: 29 ( Marks: 2 ) Why uploading a web page is important?
Describe in 2 – 3 lines.
By only uploading webpage we could place our information so that other can reach up to
what we have loaded. Upload means make available our data or information for the world
web browsers. Question No: 30 ( Marks: 3 ) What is the difference between
microprocessors and microcontrollers? Give one example of both. The
microprocessor is electronic equipment which can perform several functions and also
processing of data and information present in a computer, while microcontroller can only
perform one function for that its design. Example: Microprocessor: Pentium 4 & Personal
Computer. Microcontroller: Electrical device, washing machines, microwave ovens,
telephones etc.

Question No: 31 ( Marks: 5 ) Differentiate uni-Processor OS from Multi-Processor OS.

Uni-processor OS’es is designed to schedule tasks on a single uP only whereas Multi-


processor OS’es can control computers having multiple uPs, at times 1000’s of them.

6
Question No: 32 (Marks: 5) Why do we call JavaScript an Object-based Language?

JavaScript shares many similarities with object-oriented languages, and therefore is called
an object-based language.
Question No: 31 (Marks: 1)
When does recursion occur?
Question No: 32 (Marks: 1)
What are the types of computer network according to the distance between nodes?
There are two types of networks.
1. LAN (Local Area Network)
2. WAN (Wide Area Network)
Question No: 33 (Marks: 2)
What is meant by semantic error?
Occur when a statement executes and has an effect not intended by the programmer and
Often times occur only in unusual & infrequent circumstances.
Question No: 34 (Marks: 2)
List down the names of two array methods available in JavaScript.
1. sort( ) [sorts elements in alphabetical order].
2. reverse( ) [Reverses the order of elements].
7
Question No: 35 ( Marks: 3 )
How can you define a consistent web design? Why is it needed?
A consistent good designed website is generated for general public that allows users to
attain what they want as quickly as possible without spending much effort. A consistent
good design is needed to assists the user in recovering from errors.
Question No: 36 ( Marks: 3 )
How can we include images in a web page using HTML and Java script?
Image in HTML
<IMG src=URL, alt=text height=pixels width=pixels align="bottom|middle|top">
Image in Javascript
Images in JavaScript can be manipulated in many ways using the built-in object Image.
Additional properties to HTML are hspace, vspace & lowsrc.
Example: It can be used by many handlers like, onAbort, onLoad & onError
Question No: 37 ( Marks: 3 )
The event handler attribute consists of three parts. Write about each of them.
1. The identifier of the event handler.
2. The equal sign.
3. A string consisting of JavaScript statements enclosed in double or single quotes.
8
Question No: 38 (Marks: 5 )
What is a packet in the network environment? What kind of information does it
contain?
A packet is the smallest unit of data transmitted over a computer network. It’s a message to
be transferred over the network is broken up into small packets by the sending computer.
Each packet contains the following info:
–Sender's address
–Destination address
–Data
–Error-recovery info.
9
Question No: 39 ( Marks: 5 )
Suppose we
have a big
project. Draw
hierarchy of
the people
involved in the
project?
Executive Team
CEO, COO,
CMSO
CS101 Solved Subjective Questions from Old papers
By
http://vustudents.ning.com

Question No: 31 (Marks: 1)

What is heuristic?

Heuristic is a procedure that usually, but not always, works or that gives nearly
the right answer.

Question No: 32 (Marks: 1)

In programming, what is an object?

Object is a named collection of properties (data, state) & methods (instructions,


behavior).

Question No: 33 (Marks: 2)

What is spreadsheet? List any two jobs that it can do.

A spreadsheet is a grid that organizes data into columns and rows. Spreadsheets
make it easy to display information, and people can insert formulas to work with
the data.

Electronic replacement for ledgers

Charts

Financial-forecasting.

http://vustudents.ning.com 1
Question No: 34 (Marks: 2)

In JavaScript, what is event handling? What are the two types of events?

In JavaScript capturing events and responding to them is event handling. The


system sends events to the program and the program responds to them as they
arrive.

1. Events can include things a user does - like clicking the mouse.

2. Events that the system itself does - like updating the clock.

Question No: 35 ( Marks: 3 )

Explain how many ways businesses monitor their employees?

• Systems are available that monitor almost every key stroke that an employee
makes on a computer.

• Systems are available that read and censor all incoming and outgoing eMail.

• It is quite straight forward to monitor where you surf the web.

Question No: 36 ( Marks: 3 )

What is difference between Design and System Architecture?


System architecture is the conceptual design that defines
the structure and/or behavior of a system. Whereas designs it as an
independent, self-contained system.

http://vustudents.ning.com

http://vustudents.ning.com 2
Question No: 37 ( Marks: 3 )

What are the Sub categories of Artificial Intelligence? Briefly explain any
two.

1. Expert systems:

Expert system is that system which is in some limited sense, can replace an
expert.

2. Robotics:

Robotics is an automatic machine that performs various tasks that were


previously done by humans.

Question No: 38 ( Marks: 5 )

How many ways are there to call a function in a program? Explain with
example.

Two Ways of Calling Functions:

Functions do not run automatically. When the page loads, each function waits
quietly until it is told to run.

1. A function calls appearing as a complete statement:

function popUp( message ) {

window.alert( message ) ;

popUp( “Warning!” ) ;

http://vustudents.ning.com 3
2. A function calls appearing as part of a statement. Definitions of such
functions include a ‘return’ statement:

function add( a, b ) {

c=a+b;

return c ;

sum = add( 2, 4 ) ;

document.write( sum ) ;

Question No: 39 ( Marks: 5 )

Elaborate the ‘+ ’ operator and its constraints with the help of examples.

The + Operator Used on Strings. The + operator can also be used to add string
variables or text values together. To add two or more string variables together,
use the + operator.

Example:

txt1="What a very";

txt2="nice day";

txt3=txt1+txt2;

Now txt3 will be having this value "What a very nice day".

txt3=txt1+txt2; this statement due to + sign.

http://vustudents.ning.com 4
Question No: 40 ( Marks: 10 )

Write a JavaScript program having two functions sum and mean.

The web page will ask the user to enter five values to be added.

After taking input it will calculate the sum and mean of those values by
calling sum and mean functions.

Question No: 41 ( Marks: 10 )

Define the following terms.

Object

Object is a named collection of properties (data, state) & methods (instructions,


behavior).

Event Handler

An event handler is a command which calls a function when an event happens,


such as the user clicking a button.

Local Variable

Declaring variables (using the var keyword) within a function makes them local.
They are available only within the function and hold no meaning outside of it.

Scope of Variable

Defining the space in which a variable is effective is known as defining the scope
of a variable. A variable can be either local or global in scope.

Array

Array is an indexed list of elements.

http://vustudents.ning.com 5
Question No: 27 ( Marks: 1 )
What BIOS stands for?

BIOS stand for Basic input/output system.

http://vustudents.ning.com
Question No: 28 ( Marks: 1 )
List down the Analytical Engine's components name (any two)
Input

Memory

Processor

Output.

Question No: 29 ( Marks: 2 )


Why uploading a web page is important? Describe in 2 – 3 lines.

By only uploading webpage we could place our information so that other can
reach up to what we have loaded. Upload means make available our data or
information for the world web browsers.

Question No: 30 ( Marks: 3 )


What is the difference between microprocessors and microcontrollers?
Give one example of both.
The microprocessor is electronic equipment which can perform several functions
and also processing of data and information present in a computer, while
microcontroller can only perform one function for that its design.
Example:
Microprocessor: Pentium 4 & Personal Computer.
Microcontroller: Electrical device, washing machines, microwave ovens,
telephones etc.

Question No: 31 ( Marks: 5 )


Differentiate uni-Processor OS from Multi-Processor OS.

Uni-processor OS’es is designed to schedule tasks on a single uP only whereas


Multi-processor OS’es can control computers having multiple uPs, at times
1000’s of them.

http://vustudents.ning.com 6
Question No: 32 (Marks: 5)
Why do we call JavaScript an Object-based Language?

JavaScript shares many similarities with object-oriented languages, and therefore


is called an object-based language.

Question No: 31 (Marks: 1)

When does recursion occur?

Question No: 32 (Marks: 1)

What are the types of computer network according to the distance


between nodes?

There are two types of networks.

1. LAN (Local Area Network)

2. WAN (Wide Area Network)

Question No: 33 (Marks: 2)

What is meant by semantic error?

Occur when a statement executes and has an effect not intended by the
programmer and Often times occur only in unusual & infrequent circumstances.

Question No: 34 (Marks: 2)

List down the names of two array methods available in JavaScript.

1. sort( ) [sorts elements in alphabetical order].

2. reverse( ) [Reverses the order of elements].

http://vustudents.ning.com 7
Question No: 35 ( Marks: 3 )

How can you define a consistent web design? Why is it needed?

A consistent good designed website is generated for general public that allows
users to attain what they want as quickly as possible without spending much
effort. A consistent good design is needed to assists the user in recovering from
errors.

Question No: 36 ( Marks: 3 )

How can we include images in a web page using HTML and Java script?

Image in HTML

<IMG src=URL, alt=text height=pixels width=pixels align="bottom|middle|top">

Image in Javascript

Images in JavaScript can be manipulated in many ways using the built-in object
Image.

Additional properties to HTML are hspace, vspace & lowsrc.

Example: It can be used by many handlers like, onAbort, onLoad & onError

Question No: 37 ( Marks: 3 )

The event handler attribute consists of three parts. Write about each of
them.

1. The identifier of the event handler.

2. The equal sign.

3. A string consisting of JavaScript statements enclosed in double or single


quotes.

http://vustudents.ning.com 8
Question No: 38 (Marks: 5 )

What is a packet in the network environment? What kind of information


does it contain?

A packet is the smallest unit of data transmitted over a computer network. It’s a
message to be transferred over the network is broken up into small packets by
the sending computer.

Each packet contains the following info:

–Sender's address

–Destination address

–Data

–Error-recovery info.

http://vustudents.ning.com 9
Question No: 39 ( Marks: 5 )

Suppose we have a big project. Draw hierarchy of the people involved in


the project?
Executive Team

CEO, COO,

CMSO

http://vustudents.ning.com

Architecture
Business Technology
Team
Development Team Transfer

Team

Configuration Process
Quality Support
Management Team
Team Assurance Team
Team

http://vustudents.ning.com 10
Quality

Development Development
Development Development
Team C Team D
Team A Team B

Question No: 40 ( Marks: 10 )

Write down HTML and JavaScript code for the following requirements:

Declare an Array with the identifier SUBJECT having length 5. Assign following
values to the array elements:

MIS, Java, Algorithms, Databases, C++

Show all values in reverse order.

Question No: 41 ( Marks: 10 )

How instant messaging works? Write the steps involved in this process.

The Instant Messaging services available allow us to maintain a list of people


(contacts) that we interact with regularly. We can send instant messages to any
of the contacts in our list as long as that contact is online.

Following steps are involved in IM working:

1. User commences the IM client.

2. IM client finds the IM server & logs in.

3. It launches communication info (IP address, etc) to the IM server.

4. IM server finds user’s contacts & sends him/her the communication info.

5. IM server also notifies the contacts that the user is online; sends his/her
communication info to them.

http://vustudents.ning.com 11
6. The user’s & the contact’s IM clients are ready to communicate directly
(P2P).

7. As new contact has come online, IM server informs them about the user
being online & vice versa.

8. Multiple, real-time chat are possible.

9. When the user logs-off, his/her IM client informs the IM server.

10. IM server wipes away the temporary file and informs the user’s contact’s
about his/her ‘offline’ status.

Question No: 5 ( Marks: 10 )

What kind of operations takes place inside Microprocessors Building


Blocks? Enlist them with brief description.

Bus Interface Unit: The bus interface unit is the part of the processor that
interfaces with the rest of the PC. Its name comes from the fact that it deals with
moving information over the processor data bus.

Instruction Decoder: The instruction decoder of a processor is a combinatorial


circuit sometimes in the form of a read-only memory, sometimes in the form of an
ordinary combinatorial circuit.

Arithmetic & Logic Unit (ALU): An arithmetic and logical unit (ALU) also known
as “Integer Unit” is one of the core components of all central processing units. It
is capable of calculating the results of a wide variety of common computations.

Floating-Point Unit (FPU): A floating point unit (FPU) is a part of a CPU


specially designed to carry out operations on floating point numbers.

Registers: A register is a device for storing data. It is a small amount of very


fast computer memory used to speed the execution of computer programs by
providing quick access to commonly used values.

http://vustudents.ning.com 12
Control Unit: A control unit is the part of a CPU or other device that directs its
operation. The outputs of the unit control the activity of the rest of the device.

Instruction Set: This is the set of machine instructions that a microprocessor


recognizes and can execute. It is the only language microprocessor knows.

Question No: 7 ( Marks: 8 )

a) Differentiate between SMTP and POP3 server. (3 marks)

SMTP (Simple Mail Transfer Protocol) is a protocol used to send and receive
eMail messages over a TCP/IP network. Whereas POP3 (Post Office Protocol) is
a protocol used for receiving eMail messages. A POP3 server maintains text files
(one file per user accounts) containing all messages received by a user. eMail
client interacts with the POP3 server for discovering and downloading new eMail
messages.

http://vustudents.ning.com

b) How can you justify that a DBMS is better to use than Flat-file database?
(5 marks)

A DBMS takes care of the storage, retrieval, and management of large data sets
on a Database. It provides SW tools needed to organize & manipulate that data
in a flexible manner.

Whereas in Flat-file database the text file format makes it hard to search for
specific information or to create reports that include only certain fields from each
record.

http://vustudents.ning.com 13
Question No: 8 ( Marks: 8 )

What will be the output of this programme? Write comments where you
find “//” symbol in the following code.

<html>

<head>

<script language="JavaScript">

function doSomething() { // 1

setTimeout('doSomething()',10000); // 2

</script>

</head>

<body onLoad="doSomething()"> // 3

document.write(“Virtual University of Pakistan”);

</body>

</html>

// 3 document.write(“Virtual University of Pakistan”);

Question No: 9 ( Marks: 8 )

a) How Trojan Horses and Worms affect a computer system? What


guidelines should be adopted to troubleshoot with malicious software? (6
marks)

Trojan horses are stand-alone programs. The look like what they are not and
appear to be something interesting and harmless (e.g. a game) there execution

http://vustudents.ning.com 14
results in destruction. Worms only make copies of themselves on the infected
computer.

Following guidelines should be adopted to troubleshoot with malicious software:

• Download SW from trusted sites only.

• Do not open attachments of unsolicited eMails.

• Use floppy disks and CDROMs that have been used in trusted computers only.

• When transferring files from your computer to another, use the write-protection
notches.

• Stay away from pirated SW.

• Regularly back your data up.

• Install Antivirus SW; keep it and its virus definitions updated.

b) Which part of a virus consists of malicious computer instructions? (2


marks)

Payload is the part of virus that generally consists of malicious computer


instructions.

Question No: 31 ( Marks: 1 )

What is the function of Network Interface Card?

NIC is an I/O device that plugs into the computer and it enables it to
communicate over a network.

Question No: 32 (Marks: 1)

http://vustudents.ning.com 15
In programming, what is a loop?

A loop is a programming language statement which allows code to be repeatedly


executed.

Question No: 33 (Marks: 2)

What is an intelligent system?

Intelligent system is a SW programs or SW/HW systems designed to perform


complex tasks employing strategies that mimic some aspect of human thought.

Question No: 34 (Marks: 2 )

Why hub is used in networks?

Hub is networking equipment and a device which connects several computers to


form a network. In a network the NIC translates the message into electrical
pulses suitable for the computer network in use & transmits it to the hub through
the cable. The hub receives them and forwards them to all computers connected
to it.

Question No: 35 ( Marks: 3 )

What are Trojan Horses?

Trojan Horses are unlike viruses, they are stand-alone programs. The look like
what they are not. They appear to be something interesting and harmless (e.g. a
game) but when their execution result in destruction.

Question No: 36 (Marks: 3)

Elaborate with examples Vector or Object oriented graphics.

http://vustudents.ning.com 16
Vector or Object-Oriented Graphics treats everything that is drawn as an object.
Objects retain their identity after they are drawn. These objects can later be
easily moved, stretched, duplicated, deleted, etc

They are resolution independent and relatively small file size.

Examples: swf, svg, wmf, ps.

Question No: 37 (Marks: 3)

How can you define a consistent web design? Why is it needed?

A consistent web design should be the one that achieves the result that it was
designed for, that result can only be achieved by giving the user what he wants,
as quickly as possible, without her/him expending much effort. One definition of
usability: Let the user have what he wants, quickly, without much effort “Quickly”
is important!

Question No: 39 (Marks: 5)

What are the advantages of multimedia presentations? Write any five.

Following are the advantages of multimedia presentations:

· Great tool for effectively communicating ideas to an audience

· All electronic

· Easy to make last minute changes

· The undo feature encourages experimentation

· More attractive; commanded more interest

· May include animations, sound, video

· Easy to catalog, store, and recall

http://vustudents.ning.com 17
· Great tool for making presenter-free interactive material (e.g. self-learning
tutorials)

Question No: 41 (Marks: 10)

How virtual communities are formed? How these are different from other
communities? Give examples.

Virtual Communities are interest-based communities. Members with common


interest share ideas, ask questions, post answers and make announcements
through mailing-lists, news groups or message boards. This is how they are
formed. These communities are definitely very different from traditional ones.
There are generally no bars on membership based on gender, race or religion.
However, they may lack the respect for the individual and civility that are the
norm within conventional, geography-based communities.

http://vustudents.ning.com

http://vustudents.ning.com 18

You might also like