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
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?
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?
MIDTERM EXAMINATION
Spring 2009
CS101- Introduction to Computing
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
Fall 2009
CS101- Introduction to Computing (Session - 3)
Ref No: 1013107 Time: 60 min
Marks: 43
Student Info
StudentID: MC090401087
Center: OPKST
ExamDate: 12/3/2009 12:00:00 AM
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
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
0 comments: