Вы находитесь на странице: 1из 113

PAPER 1

FINALTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing

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

Analytical Engine is ------------------

► An electrical machine

► A digital machine

► An analog machine

► A special purpose machine

The first general-purpose digital computer (1833)


PAGE 9
LEC 1 A PROGRAMMABLE MECHANICAL DIGITAL MACHINE

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

Website design should NOT be __________.

► Unified

► Complex

► Consistent
► Predictable
(Web Design for Usability)
Designs should be consistent & predictable (unified)
PAGE 185

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

TCP stands for ___________.

► Total communication protocol

► Transmission control protocol

► Transfer control protocol

► Transfer collection protocol

TCP/IP Transmission Control Protocol/Internet Protocol


PAGE 196

Question No: 4 ( 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

Programming Language
A vocabulary and set of grammatical rules for instructing a computer to perform
specific tasks
PAGE 129

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

A _________ is a meaningful, easy-to-remember ‘label’ for an IP address.


► TCP address

► Domain name

► Network name

► VoIP

Domain Names
IP addresses are fine for computers, but difficult to recognize and remember for humans
A domain name is a meaningful, easy-to-remember label for an IP address
PAEGE 210

Question No: 6 ( 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

EXCEL

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

According to the heuristic, the number of defects remaining in a system after a given
level of tests is proportional to ___________.

► The number found on very first day.

► The number found during the development.

► The number found during the test.

► None of the given options.

The number of defects remaining in a system after


a given level of tests is proportional to the number found during the test
PAGE 169
Question No: 8 ( 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: 9 ( Marks: 1 ) - Please choose one

Command that allows you to recover form mistakes is called __________.

► Clear

► Edit

► Undo

► Break

The Undo command undoes anything you do in Word, such as formatting


text, moving blocks, typing and deleting text, formatting
Undo command that allows you to recover quickly from simple mistakes
like deleting or moving the wrong file

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

The document.write( ) method expects ______string_____ as its argument.

► Integer

► Float
► String

► Boolean

The document.write( ) method expects a string (or several strings,


separated by commas) as its argument
www.altafkhan.com/cs101ppt/javascript-images-animation.ppt

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

We use ___________ to stop Break-Ins.

► Scanners

► Intrusion detectors

► Utilities

► None of the given options

Break-Ins
• Hackers are always trying to break-in into Internet-connected computers to steal
info or plant malicious programs
Defense: Intrusion detectors
Page 276

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

The developer report to ___________ in a development team.

► Team Lead

► Project Manager

► CEO

► IT Manager

Question No: 13 ( 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

Project Manager
• Responsibilities:
Planning and tracking of the project
Arranging of the appropriate resources
lient relationship management
page 296

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

The key responsibilities of the architect of the project is______________.

► Technology selection

► High-level design

► Makes certain that the implementation remains true to the design

► All of the given options

Architect
• Responsibilities:
Technology selection
High-level design
Makes certain that the implementation remains true to the design
Page 296-297

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

The important attribute of image tag is ________________.

► src

► image
► None of the given options

► alt

<IMG src=URL

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

onAbort , onError are the _______________ of the image object.

► Event Handler

► Properties

► Methods

► None of the given options

Event handlers: onAbort, onError, onLoad, etc.


Page 308

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

Now a days, users communicate with the computer using a consistent __________
provided by the Operating System.

► Command-line interface

► Application Interface

► User Interface

► Protocol

User Interface
Users communicate with the computer using a consistent user interface provided by the
OS
Page 66

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

One can browse documents residing on a remote computer using ________ protocol.
► HTTP

► SMTP

► FTP

► TELNET

I can browse documents residing on a remote computer using the HTTP protocol
Page 185

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

Which of the following device can be used to control network traffic?

► Cable

► Connector

► Hub

► Repeater

Hub
–The network traffic controller
Page 186

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

User can remotely log on to a computer and can have a control over it like a local user
using

► TelNet Protocol

► TelNet Protocol and connected to the user through TCP/IP network

► TelNet protocol and FTP

► TCP/IP and FTP

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

Page 211

PAPER 2
FINALTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing (Session – 2)

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


The interface that a website provides to the user for accessing various parts of
the website is known as ___________.

► Navigation
► Arrangement
► Layout
► Home

Website Navigation:
The interface/controls that a Website provides to the user for accessing various parts of
the Website
It probably is the most important aspect of the design of a Website
Page 171

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


JavaScript is an example of _____________ language.

► Object-based
► Object-oriented
► Machine
► Assembly
JavaScript is Object-Based
treats as an object – e.g. a windowor a button
page 120

Question No: 3 ( 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

SW Design Methodology ?
The set of (often flexible) rules and guidelines a team of developers followto construct
reasonably complex SW systems
page 131

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

29.6 Scope of Variable


A variable can be either local or global in scope. Page 204
Question No: 5 ( Marks: 1 ) - Please choose one
__________ function returns the largest integer that is less than or equal to x.
► round(x)
► floor
► ceil
► abs(x)

Returns integer
nearest to x
page 249

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


Trinoo is a __________ software.
► DoS
► Scanning
► Utility
► None of the given options
2. Arming the Drones
After several drones have been conquered, the DoS SW is loaded on to them
• Examples: Tribal Flood Network, Trinoo, TFN2K
Page 275
Question No: 7 ( Marks: 1 ) - Please choose one
A stream of large sized emails are sent to an email address for overloading the
destination account, is called ___________.
► DoS Attack
► Break-Ins
► Mail Bombing
► All of the given options
Mail Bombing
•Similar in some ways to a DoS attack
•A stream of large-sized eMails are sent to an address, overloading the destination
Account
Page 276
Question No: 8 ( Marks: 1 ) - Please choose one
Name, Border , Source are the ____________ properties of the image object.
► Event Handler
► Properties
► Methods
► None of the given options

Image
•Properties: name, border, complete, height, width, hspace, vspace, lowsrc, src
•Methods: None
•Event handlers: onAbort, onError, onLoad, etc.
Page 286

Question No: 9 ( 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

Firewire
FireWire is simply a really fast port that lets you connect computer peripherals and
consumer electronics to your computer without the need to restart.
Page 24

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


______ is also known as System Architecture
► High level system design
► Low level system design
► Every system design
► Software Requirement

Heuristics for System Architecting


heuristics in architectural (or high-level) design 166
Question No: 11 ( Marks: 1 ) - Please choose one
One can send an email message to a remote computer using _______ protocol
► HTTP
► SMTP
► FTP
► TELNET

Examples of Computer Network Usage


• I can send an eMail message to a remote computer using the SMTP protocol
• I can browse documents residing on a remote computer using the HTTP protocol
•I can download or upload files to a remote computer using the FTP protocol
•I can run a program on a remote computer using the TELNET protocol
Page 185

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


Which event handler executes the specified JavaScript code when a
window/form element loses focus ?
► onBlur
► onLoad
► onUnload
► onFocus

onFocus & onBlur:


onFocus executes the specified JavaScript code when a windowreceives focus or when a
form element receives input focus

onBlur executes the specified JavaScript code when a window loses focus or a
form
element loses focus

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


Using RGB scheme the image having 1024X1024 pixels can be stored in
► 3 MB
► 2.25MB
► 2.96 MB
► 3.25 MB
Image size (in pixels) Image size on disk
256x256 192KB
512x512 257KB
1024x1024 2.25MB

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


Hardware malfunctions is related to
► Data updates
► Data integrity
► Data security
► Data accessibility
Data Integrity
•Integrity refers to maintaining the correctness and consistency of the data
– Correctness: Free from errors
– Consistency: No conflict among related data items
•Integrity can be compromised in many ways:
– Typing errors
– Transmission errors
– Hardware malfunctions
– Program bugs
– Viruses
– Fire, flood, etc.
– PAGE 259
Question No: 15 ( Marks: 1 ) - Please choose one
_____________ loop is a flow control statement that allows code to be executed
repeatedly based on a given Boolean condition.
► For
► Do-While
► If-else
► While
The while loop is a control flow statement, which allows code to be executed
repeatedly based on the given boolean condition

http://www.roseindia.net/jsp/simple-jsp-example/while-loop-in-jsp.shtml

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


for(var i=1; i<=2;i=i+1)
{
document.write( "Sorted Words:" + "<BR>" )
}

Which of the following shall be the output of above code:


► Sorted Words: Sorted Words:

► Sorted Words:

Sorted Words:

► Sorted Words: “<BR>”


Sorted Words: “<BR>”

► Sorted Words: <BR>


Sorted Words: <BR>

http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_abs
Question No: 17 ( Marks: 1 ) - Please choose one
A good algorithm should have the following properties.
► Consistency
► Unambiguousness
► Efficiency
► All of the given options

A good algorithm has the following properties: It is Simple. ... To be precise,


an algorithm should have no ambiguity in the steps
Algorithm
Precise sequence of a limited number of unambiguous, executable steps that terminates
in the form of a solution

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


____________ are names assigned to values.
► Variables

► Literals

► Operators

► None of the options described


Variables are names assigned to values
Page 143

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


The method property is used to specify the method used to send data,
which can be ------------ and -----------.

► Method & Action

► Size & Maxlength


► Get & Post
► Send & Submit
Forms can be submitted through two
alternate methods – GET & POST
page 71

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


NaN is produced when a string is used in non mathematical context
► True
► False
When a string is used in a mathematical context, if appropriate, JavaScript first converts
it into a number. Otherwise, a “NaN” is the result
Question No: 21 ( Marks: 1 ) - Please choose one
The Right most portion or the third portion of the URL contains______ .
► Protocol Identifier
► Server Name
► Directory Name
► None of the given
The 3rd part: Directories and subdirectories
Question No: 22 ( Marks: 1 ) - Please choose one
Which Internet Service is comparatively Slow but Inexpensive and Fast.
► E-mail
► Instant Messaging
► Web
► None of the given

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


Images in _________ can be manipulated in many ways using the built-in object
Image.
► HTML
► XML
► DHTML
► None of the given
41.1 Images in JavaScript
•Images in JavaScript can be manipulated in many ways using the built-in object
Image
PAGE 286
Question No: 24 ( Marks: 1 ) - Please choose one
LCD stands for _______ .
► Liquid color display
► Liquid crystal display
► Liquid computer display
► None of the given
display technology
http://acronyms.thefreedictionary.com/LCDhttp://acronyms.thefreedictionar
y.com/LCD
Question No: 25 ( Marks: 1 ) - Please choose one
Semantic Errors are those errors that when run _________ .
► The compiler will not complain
► Hard to detect during normal testing
► The compiler will not complain and Hard to detect during normal testing
► None of the given
Semantic Errors
•Occur when a statement executes and has an effect not intended by the
programmer
•Hard to detect during normal testing
•Often times occur only in unusual & infrequent circumstances
•The ‘+’ operator often results in unintended consequences. Remedy: Convert,
before use
PAGE 312
Question No: 26 ( Marks: 1 ) - Please choose one
The group of technologies with capturing, processing and transmission of
information in digital electronic is called ____________
► Computer management
► Computer organization
► Internet management
► Information Technology

The information technology department of a large company would be


responsible for storing information, protecting information, processing
the information, transmitting the information as necessary, and later
retrieving information as necessary

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

In a good presentation each slide should contain____________.

► Heading

► Phrases not sentences

► Sentences not phrases

► Heading, sentences not phrases

Each slide should have a clear heading

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


Which one of the following is not an event handler's attribute?

► Function

► Identifier

► Equal sign

► String consisting of JavaScript statements

LECTURE 32 SLIDE

The event handler attribute consists of 3 parts:

1. The identifier of the event handler

2. The equal sign

3. A string consisting of JavaScript statements enclosed in


double or single quotes

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

According to the heuristic, the number of defects remaining in a system after a given
level of tests is proportional to ___________.

► The number found on very first day.

► The number found during the development.

► The number found during the test.

► None of the given options.

16 The number of defects remaining in a system after


a given level of tests is proportional to the number found during the test
PAGE 169

Question No: 4 ( 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: 5 ( Marks: 1 ) - Please choose one

A combination of word processing and graphic design is

► Corel Draw

► Desktop Publishing

► Paint

► WordPad

14.3 Desktop Publishing (DTP)


A combination of word processing and graphic design. Used to develop elegant
Documents
Page 88

Question No: 6 ( 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

•Increase the clock frequency


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

Security can also be improved through _____________.

► Encryption

► Typing errors

► Transmission errors

► Hardware malfunctions

Security can also be improved through:


Encryption
Private or virtual-private networks
Firewalls
Intrusion detectors
Virus detectors
Page 253

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

______________ is a field that uniquely identifies each record stored in a table.

► Composite Key

► Primary key

► Foreign key

► None of the given options

Primary Key is a field that uniquely identifies each record stored in a table
Page 263
Question No: 9 ( Marks: 1 ) - Please choose one

There are _________ types of errors.

►2

►3

►4

►5
Types of Errors
•Syntax errors
•Semantic errors
•Run-time errors
Page 312

Question No: 10 ( 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

Firewire
FireWire is simply a really fast port that lets you connect computer peripherals and
consumer electronics to your computer without the need to restart.
Page 24

Question No: 11 ( 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
The Role of An OS
•Manages the HW and SW resources of the computer system, often invisibly. These
include the processor, memory, disk drives, etc.
•Provides a simple, consistent way for applications to interact with the HW without
having to knowall the details of the HW

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

One can browse documents residing on a remote computer using ________ protocol.

► HTTP

► SMTP

► FTP

► TELNET
Examples of Computer Network Usage
•I can send an eMail message to a remote computer using the SMTP protocol
•I can browse documents residing on a remote computer using the HTTP protocol
•I can download or upload files to a remote computer using the FTP protocol
•I can run a program on a remote computer using the TELNET protocol

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

Which event handler executes the specified JavaScript code when a window/form
element loses focus ?

► onBlur

► onLoad

► onUnload

► onFocus

onBlur executes the specified JavaScript code when a windowloses focus or a form
element loses focus
page 230

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

Which event handler executes the specified JavaScript code when a window/form
element receives focus ?

► onBlur

► onLoad

► onUnload

► onFocus

onFocus executes the specified JavaScript code when a windowreceives focus or when a
form element receives input focus
page 230

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

_____________ loop is a flow control statement that allows code to be executed


repeatedly based on a given Boolean condition.

► For

► Do-While

► If-else

► While

The while loop is a control flow statement, which allows code to be


executed repeatedly based on the given boolean condition

Question No: 16 ( 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: 17 ( Marks: 1 ) - Please choose one

for(var i=1; i<=2;i=i+1)


{
document.write( "Sorted Words:" + "<BR>" )
}

Which of the following shall be the output of above code:

► Sorted Words: Sorted Words:

► Sorted Words:
Sorted Words:

► Sorted Words: “<BR>”


Sorted Words: “<BR>”

► Sorted Words: <BR>


Sorted Words: <BR>

http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_abs

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

Data integrity, in Database management system is necessary because it:

► Refers to provide insecurity to the data

► Refers to provide security to the data


► Refers to maintaining the correctness of data

► Refers to maintaining the consistency of the data

Data Integrity:
Integrity refers to maintaining the correctness and consistency of the data
Correctness: Free from errors
Consistency: No conflict among related data items
Integrity can be compromised in many ways:
Typing errors
Transmission errors
Hardware malfunctions
Program bugs
Viruses
Fire, flood, etc PAGE 253
Question No: 19 ( Marks: 1 ) - Please choose one

Which of the following formula is used in spreadsheet for addition?

► C6+E6

► =C6+E6

► 6+6=12

► 6+E6

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

Which of the following keyword is used to jump out of switch statement as soon as
the match is found?

► Default

► Else

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

How many types the string methods have?

►1

►2

►3

Two Types of String Methods


1.HTML Shortcuts
2.All Others
Pager 268

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

Which Internet Service is comparatively Slow but Inexpensive and Fast.

► E-mail

► Instant Messaging

► Web

► None of the given

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

Semantic web is ________ .

► The extension of web

► Designed for both human beings and computers

► The extension of web and Designed for both human beings and computers
► None of the given

Semantic Web is not a replacement but an extension of the present Web


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

Coding is the responsibility of ________________

► Software designer

► Software developer

► Project manager

► None of given
Developer
• Responsibilities:
– Module-level design
– Coding
– Unit-testing
Page 298

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

Run time error occurs when ___________ .

► The complier compiles the programs

► The compiler ends the execution of the program

► The compiler start running the program

► The compiler finds a semantic error

Run-Time Errors
•Occur when the program is running and tries to do something that is against the
rules
Example: Accessing a non-existent variable, property, method, object, etc (e.g. a method
name is misspelled)
•Sources of these can be determined by a careful reading of the code, but
unfortunately, not always!

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


Heuristics are ________ .

► Intelligent systems

► Always ends with the solution of the problem

► Both of the given

► None of the given


Rule of thumb learned through trial & error
Heuristic
A procedure that usually, but not always, works or that gives nearly the right answer.
page 102

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

If(studentMarks>70);
(
document.write( "Grade A");
}

Which of following is correct format of above code:

► If(studentMarks>70);
(
document.write( "Grade A");
};

► If(studentMarks<>70)
(
document.write( "Grade A");
}

► If(studentMarks>70)
{
document.write( "Grade A");
}

► None of above options

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


Which of the following language is object based but not object oriented language.

► javascript

► visual basic

► C++

►C

Object Based
Everything that JavaScript manipulates, it treats as an object

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

asin(x) stands for __________

► Asynchronous sine

► Alpha Sine

► Automated Sine

► ArcSine
asin( x ), acos( x ), atan( x ):
Standard inverse-trigonometric functions
Returns the arcsine, arccosine or arctangent of ‘r’
in radians
EXAMPLE
document.write( Math.asin( 1 ) )

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

The output of POW (3, 2) is______________.

►6

►4
►9

► 12

Math.pow( 3 , 2 ); // returns 9 (3 * 3)

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

The Right most portion or the third portion of the URL contains______ .

► Protocol Identifier

► Server Name

► Directory Name

► None of the given

Directories and subdirectories


The third part of the URL takes you directly to the directory and
subdirectory where the page you want lives

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

Which Image format is known as Lossless original format.

► JPEG

► GIF

► Bitmap

► Vector
Some image file formats, like PNG or GIF, use only lossless compression

PAPER 4

FINALTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing (Session - 2)
Question No: 1 ( Marks: 1 ) - Please choose one
What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity

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


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


Internet Networking Protocols
Communications on the Internet is controlled by a set of two protocols: TCP and IP
Page 196

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


A variable can be _________ in scope.
► Local
► Global
► Either local or global
► None of the given options

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


A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP

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


Aliasing problem can be managed by ____________the size of pixels.
► Reducing
► Increasing
► Gaining
► Modifying

Question No: 6 (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: 7 ( Marks: 1 ) - Please choose one


Which of the following data types are recognized by JavaScript?
► Strings
► Numbers
► Undefined
► All of the given options
JavaScript Data Types
JavaScript recognizes & distinguishes among the following types of values:
Numbers
Booleans
Strings
Undefined
Variables
Page 158

Question No: 8 ( 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: 9 ( Marks: 1 ) - Please choose one


In the old days, databases did NOT support ____________.
► Number
► Boolean
► Video
► Text
In the old days, databases were limited to numbers, Booleans, and text
Page 255

Question No: 10 ( 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
The organizations are learning that business can be done in a more effective
manner if emphasis is placed upon cooperation, shared responsibility and networking:
page 281

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


Module level design is the responsibility of the ___________.
► Architect
► Team Lead
► Developer
► CEO

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


_____________ errors are caused by the code that somehow violates the rule of the
language.
► Syntax
► Semantic
► Run time
► Load time
Syntax Errors
•They are caused by the code that somehowviolates the rules of the language
Page 312
Question No: 13 ( Marks: 1 ) - Please choose one
The world first computer program was written to compute:
► Simple sequence
► Multiple sequence
► Bernoulli’s sequence
► Increasing sequence
Wrote a program for computing the Bernoulli’s sequence on the Analytical Engine -
world’s 1st computer program
page 9
Question No: 14 ( Marks: 1 ) - Please choose one
Microsoft Word is a type of:
► System Software
► Freeware Software
► Shrink-Wrapped Software
► Custom-built Software
Shrink-Wrapped SW
SW built in such a way that it is useful for many different users in many different ways.
Example: MS Word
Page 62

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


We need _____________ for memory management in computer
► Software
► Hardware
► Operating System
► Application Software
11.2 Core Tasks of an OS
Processor management
Memory management
Device management
Storage management
Page 65
Question No: 16 ( Marks: 1 ) - Please choose one
_____________ is generally measured in terms of the number of steps required to
execute an algorithm.

► Space
► Time
► Memory and time
► Bandwidth

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


PowerBuilder falls in the category of ______________.
►Assembly Languages
►4-th Generation Languages
►Machine Languages
►High-Level Languages

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


___________ means to break down into simpler components and analyze.
►Recursion
►Parsing
►Scope
►N avigation
Parsing splits a sequence of characters or values into smaller parts. It can be
used for recognizing characters or values that occur in a specific order

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


for(var i=1; i<=2;i=i+1)
{
document.write( "Sorted Words:" + "<BR>" )
}

Which of the following shall be the output of above code:


►Sorted Words: Sorted Words:

►Sorted Words:
Sorted Words:

 ► Sorted Words: “<BR>”


Sorted Words: “<BR>”
►Sorted Words: <BR>
Sorted Words: <BR> (correct)

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


Assembly languages allow a programmer to use _________ for numbers.
► Object

► Entity

► Name

► Interpreter
Assembly languages are similar to machine languages, but are easier to program in as
they allowa programmer to substitute names for numbers
page 130

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


__________ means you have only one container to store more than one value in
JavaScript.
► Variable
► Matrix
► Array
► String
Variables are containers that hold values (Example: Hotel guest name, Guest room no).
Generally, the value of a variable varies during code execution (that is why the term
“variable page 143
Question No: 22 ( Marks: 1 ) - Please choose one
Coding is the responsibility of ________________
► Software designer
► Software developer
► Project manager
► None of given
Developer
• Responsibilities:
– Module-level design
– Coding
– Unit-testing
Page 298

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


CEO stands for____________________
► Central Executive officer
► Chief External officer
► Chief executive officer
► None of given

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


Decision Support Systems will become a bigger part of the professional life of
the________ .
► Doctors
► Mangers
► Marketers
► All of above
Decision support systems will become a bigger part of the professional life of doctors,
managers, marketers, etc
page 244

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


The output of fuzzy Logic System is computed by using ______Technique.
► MAX-MAX
► MAX-MIN
► MIN-MAX
► None of the given
The output of a fuzzy system is computed by using:
The MIN-MAX technique for combining fuzzy rules
Page 242

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


In the statement Math.PI, Math is _________ and PI is ___________.
► Variable, Constant
► Object , Method
► Object , Function
► Object , Property

PAPER 5

FINALTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing (Session - 3)

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


Analytical Engine is ------------------
► An electrical machine
► A digital machine
► An analog machine
► A special purpose machine

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


__________% of the users have left websites in frustration due to poor navigation.
► 40

► 62
► 83
► 91
83% of users have left sites in frustration due to poor navigation,
www.altafkhan.com/cs101ppt/web-design-for-usability.ppt
Question No: 3 ( Marks: 1 ) - Please choose one
__________ breaks down the message to be sent over the internet into packets.

► FTP
► HTTP
► TCP
► IP
TCP breaks down the message to be sent over the Internet into packets
IP routes these packets through the Internet to get them to their destination
Page 196
Question No: 4 ( Marks: 1 ) - Please choose one
The first spread sheet was called as_____________.

► Excel

► PowerPoint

► Word

► VisiCalc

A spreadsheet - VisiCalc - was the first popular application on PC’s.


Page 151
Question No: 5 ( Marks: 1 ) - Please choose one
Which is correct?

► onUnload

► onUnLoad

► onUNLOAD
► All of the above

onBlur
onReset
onSubmit
onLoad
onUnload
page 230
Question No: 6 ( Marks: 1 ) - Please choose one
Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference
► Length
► Name
Variables
Variables give us the ability to manipulate data through reference instead of actual value.
Variables are names assigned to values.
Page 143
Question No: 7 ( Marks: 1 ) - Please choose one
We use ___________ to stop Break-Ins.
► Scanners
► Intrusion detectors
► Utilities
► None of the given options
Break-Ins
•Hackers are always trying to break-in into Internet-connected computers to steal
info or plant malicious programs
•Defense: Intrusion detectors
Page 276
Question No: 8 ( Marks: 1 ) - Please choose one
Which attribute of the IMG tag tells us about the source of the image ____________.
► source
► path
► loc
► src

Scr =source

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


The developer report to ___________ in a development team.
► Team Lead
► Project Manager
► CEO
► IT Manager

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


The key responsibilities of the architect of the project is______________.
► Technology selection
► High-level design
► Makes certain that the implementation remains true to the design
► All of the given options
Architect
• Responsibilities
Technology selection
High-level design
Makes certain that the implementation remains true to the design
Page 296-297
Question No: 11 ( 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
44.6 Helpful Editors
Automatically color different parts of statements in different colors, e.g. comments
in Gray, strings in Green, HTML tags in Blue
page 315
Question No: 12 ( Marks: 1 ) - Please choose one
_______ 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
11.4 Kernel
The heart of the OS
Responsible for all the essential operations like basic house keeping, task scheduling, etc.
Also contains low-level HW interfaces

Page 67

Question No: 13 ( 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
Page 102
16.8 Randomized Algorithm (1) These algorithms are often simpler and more efficient
than deterministic algorithms for the same problem
Question No: 14 ( Marks: 1 ) - Please choose one
Compound Statement after decision constructs in JavaScript is enclosed with
►( )
►[ ]
► { };
►{ }
These curly braces group the multiple statements into a single compound
statement
page 159 dig
Question No: 15 ( Marks: 1 ) - Please choose one
The key property of the ‘Array’ object in JavaScript is
► Value
► Length
► Name
► All of the given choices
The key property of the ‘Array’ object is ‘length’, i.e the number of elements in an
Array
Page 178
Question No: 16 ( Marks: 1 ) - Please choose one
Which protocol is used to send email ?
► FTP
► SMTP
► TELNET
► All of the given choices
can send an eMail message to a remote computer using the SMTP protocol -185

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


Following is highest level of heading tag in list given below.
► H3
► H4
► H5
► H2

<h1>Heading 1</h1> Heading 1


<h2>Heading 2</h2> Heading 2
<h3>Heading 3</h3> Heading 3
<h4>Heading 4</h4> Heading 4
<h5>Heading 5</h5> Heading 5
Question No: 18 ( Marks: 1 ) - Please choose one
Blue Pacific is a name of ______ computer.
► Mini
► Desktop
► Micro
► Super
At the high end of supercomputing are computers like IBM's "Blue Pacific," announced
on October 29, 1998.
Page 21
Question No: 19 ( Marks: 1 ) - Please choose one
__________ correctness is easier to check as compared with __________

► Syntactic, Semantic

► Semantically, Syntactically

► Systematically, Semantically

► None of the given options


Warnings page 104
2. Syntactic correctness
is easier to check as
compared with semantic

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


__________ refers maintaining the correctness and consistency of data
► Security
► Integrity
► Reliability
► None of the given
Data Integrity:
Integrity refers to maintaining the correctness and consistency of the data
Page 253
Question No: 21 ( Marks: 1 ) - Please choose one
Which of the following keyword is used to jump out of switch statement as soon as the
match is found?

► Default
► Else
► Jump
► Break

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


How much parameters does POW () function have?
►2
►1
►3
Pow() is the other key function in this group of three, and takes two parameters -
a base and a power to raise it by

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


How many types the string methods have?
►1
►2
►3
string methods
1.HTML Shortcuts
2.All Others
Page 268
Question No: 24 ( Marks: 1 ) - Please choose one
The output of document.write( "2" + Math.PI ) ; is__________.

► 23.141592653589793
► 3.146
► 2.3141592653589793
► None of them
Page 272
23.141592653589793
Question No: 25 ( Marks: 1 ) - Please choose one
POP, IMAP and SMTP are related to one of the following service/services?

► Electronic Mail
► Instant Messaging
► Both a and b
► None of above
Tools & Services Available on the Internet
Electronic mail (POP, IMAP, SMTP)
Page 196
Question No: 26 ( Marks: 1 ) - Please choose one
_______ is designed for 2D-Animation .
► Flash Animation
► HTML image class
► Web Browser
► HTML 2D class
41.2 Flash Animation
•Designed for 2-D animations
Page 293
PAPER 6
FINALTERM EXAMINATION
Spring 2010

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

In excel the intersection of a row and a column is called:

► data

► a field.

► a cell.

► an equation.

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

The cell labeled F5 refers to

► row F column 5

► column F row 5
► functions available in cells

► Function key F4

excel

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

Which of the following describes how to select all the cells in a single column ?

► Right click on column and select Pick From List

► Use the Data - Text to Columns menu item

► Left click on the gray column title button

► Pressing CTRL + A on the keyboard

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

What is the format of a spreadsheet?

► Round

► Rows and Columns


► Square

► Wide

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

Which one is a relative address?

► $C$4

► 256

► C4

► None of these

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

What do you use to create a chart?

► Chart Wizard

► Pie Wizard

► Excel Wizard

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

On an Excel sheet the active cell is indicated by ____.

► a dark wide border

► a dotted border

► a blinking border

► All of these

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

News Groups are...

► provided only by large international news services

► are online discussions about various topics

► are only available from 9am to 5pm EST

► All of these
News groups, message boards, forums
Instant messaging
–Multimedia delivery
Page 198

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

A(n) ____ line has transfer rates of 128 Kbps to 8.45 Mbps.

► DSL

► ISDN

► ATM

► Fractional T1

DSL (digital subscriber line): transmit data at fast speed on existing telephone
wiring, 128kbps to 8.45mbps ...
www.cs.uofs.edu/~bi/2003f-html/cil102/ch9-network.doc

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

____ refers to the amount of data, instructions, and information that can travel over a
communications channel.

► Latency

► Transfer rate

► Bandwidth

► Broadband

http://www.slideshare.net/Izaham/chapter09-presentation-640076 slide 40
Question No: 11 ( Marks: 1 ) - Please choose one

The process of converting readable data into unreadable characters to prevent


unauthorized use is called ____

► normalization

► decryption

► validation

► encryption

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

To safeguard personal information, ____

► write your telephone number on credit receipts

► use shopping club and buyer cards

► do not reply to spam for any reason

► complete all requested information on registration forms


Privacy concern is a desire to keep personal information out of the
hands of others. Online privacy is becoming an increasingly important
policy ... Do not reply to spammers, for any reason

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

Storage is also referred as

► Data

► Instructions
► Files

► Memory
Computer data storage, often called storage or memory, refers to computer
components and recording media that retain digital data. Data storage is one of
the core functions and fundamental components of computers.

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

To enter capital characters use

► Num lock

► Pause lock

► Caps lock

► Scroll lock

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

Windows is software developed by

► Sun

► Java

► Html

► Microsoft

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

Desktop Icon is a link to

► Hardware
► Software -------

► Storage

► None of these

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

What is the keyboard shortcut (button or buttons to be pressed) for creating a Chart from
the selected cells ?

► F3

► F4

► F5

► F6

CORRECT OPTION IS F11


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

In Word which of the following shortcut key combination, changes the font.

► Ctrl + Shift + F

► Ctrl + Shift + I

► Ctrl + F
► Ctrl + I

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

In Word which of the following shortcut key combination, Save.

► Shift + F12

► Ctrl + Shift + F12

► Alt + Shift + T

► Alt + Shift + S

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

Which will select all the cells in a document ?

► Clicking three times with the right mouse button in the spreadsheet

► Using the Edit - Select All menu item

► Pressing CTRL + A on the keyboard

► None of these

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


___________ will insert a new worksheet.

► ALT+SHIFT+F1

► ALT+SHIFT+F2

► ALT+SHIFT+F3

► None of these.

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

Which will not select all the cells in a document ?

► Clicking three times with the right mouse button in the spreadsheet

► Using the Edit - Select All menu item

► Pressing CTRL + A on the keyboard

► None of these

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

Spreadsheet can be used as :


► Accounting

► Data base

► Ledger

► All of above

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

A ____ is a device that converts analog signals to digital signals, and vice versa.

► Tablet PC

► modem

► microwave station

► notebook computer
4.16 Modem
Modem is output as well as input device at the same time. It receives the data (analog
signal) coming through telephone line, converts them to digital signals and sends them to
page 25

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

_______Displays the Help task pane.

► F2
► F3

► F1

► None of these

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

The act of defecting or destroying computer equipment is known as ____

► hardware vandalism

► software piracy

► hardware theft

► information theft
Hardware theft is the act of stealing computer equipment.

The act of defacing or destroying computer equipment is known as hardware


vandalism.

http://www.wong-sir.com/cit/social_impacts/hardware_theft.htm

PAPER 7
FINALTERM EXAMINATION
Spring 2009 Final
CS101- Introduction to Computing (Session - 2)

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

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

page 102

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

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


The most used form tag is the <input> tag.

► 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.


► Pattern recognition
► Repetition
► None

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


_____ 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 _________ different methods
►2
►3
►4
►5
Methods are GET and POST

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


To display a checkbox on the web page, we use ___ tag
► CHECKBOX
► CHECK
► INPUT
► INPUTBOX

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


_____ attribute of FORM tag is used to mention a URL when the form is being
submitted
► name
► action
► method
► submit

Question No: 11 ( 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
Interactive Forms (3)
Are GUI-based
May contain:
Text fields
Check boxes
Buttons
Scrollable lists
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

COLSPAN
No. of rows the current cell should extend itself downward

Question No: 13 ( 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: 14 ( 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
A Web site is a related collection of World Wide Web (WWW) files that includes a
beginning file called a home page.
Page 18
Question No: 15 ( 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: 16 ( Marks: 1 ) - Please choose one
The key strengths of computers are -
► 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:
► Much smaller size
► Better reliability
► Much lower cost
► All of the given choices

page 14
Compared to vacuum tubes, it offered:
smaller size
better reliability
lower power consumption
lower cost
Question No: 18 ( Marks: 1 ) - Please choose one
Which of the following is NOT a component of IC?
► Transistors
► Diodes
►resistors

► Vacuum tubes
Component of IC

TRANSISTORS, DIDOES, RESISTORS,CAPACITORS, WIRES

IN IC MATERIAL USED

SILICON- SEMICONDOUCTOR

COPPER-CONDUCTOR

during lecture

Question No: 19 ( 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: 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 ______
► System Software
► Application Software
► Device
► Utility

Application Software

Application software are programs that interact directly with the user They generally do
not talk directly to the hardware .The user runs the program on the computer and keeps
on interacting with the computer while the program runs

Example: Word processor

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


_________refers to the firmware code which is run by an IBM compatible PC
when first powered on.
► DOS
► BIOS
►utility program

► None of these

BIOS refers to the firmware code run by a personal computer when first powered
on.

Question No: 23 ( 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
A device driver essentially converts the more general input/output instructions of the
operating system to messages that the device type can understand.’

Page 61

Computer device drivers facilitate this by enabling communication between


software on your computer and your hardware devices. ... A device driver is
required for interacting with all kinds of peripheral device

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

PAPER 8
FINALTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing (Session - 1)

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


A Modem is a kind of ___
► Input device
► Output device
► Storage device
► Input and Output device

Modem
I/O device used for connecting two computers over telephone lines
Page 187
Question No: 2 ( Marks: 1 ) - Please choose one
A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP
POP3: Post Office Protocol
A protocol used for receiving eMail messages
Page 213
Question No: 3 ( Marks: 1 ) - Please choose one
A function is also called __________.

► Sub-program

► Procedure

► Sub-routine

► All of the given option

also called procedure, function, routine, method, or subprogram


Question No: 4 ( Marks: 1 ) - Please choose one
Aliasing problem can be managed by ____________the size of pixels.
► Reducing
► Increasing
► Gaining
► Modifying
33.6 Aliasing:
The computer screen consists of square-ish pixels arranged in a fixed grid
At times, when a diagonal line is drawn on this grid, it looks more like a staircase, instead
of a straight line
This effect – called aliasing – can be managed by reducing the size of pixels
Page 236

Question No: 5 ( 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

Question No: 6 ( 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
random( )
Returns a randomly-selected, floating-point number between 0 and 1
Page 250

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


What is the 2nd step of DoS attack?
► Race
► Arm
► Search
► Attack
Three Phases of the DoS
1.Search
2.Arm
3.Attack
Page 279

Question No: 8 ( 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
Image Preloading
•This technique can be used to create smooth animations or to display one of several
images based on the requirement
Page 286

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


___________ has great PR skills.
► Architect
► Team Lead
► Project Manager
► Chief Executive Officer
Project Manager
• Responsibilities:
– Planning and tracking of the project
– Arranging of the appropriate resources
– lient relationship management
page 296
Question No: 10 ( Marks: 1 ) - Please choose one
____________ is in Executive team.
► Project Manager
► CEO
► Team Lead
► Developer
Page 297
Question No: 11 ( Marks: 1 ) - Please choose one
Which one of these translates the program once at a time ?
► Interpreter
► Compiler
► Operating system
► Translator
Compiler translates the program written in a HLL in one go.
Interpreter translates the HLL program one statement at time. It reads a single
statement, translates it into machine language and passes that machine language code to
the uP and then translates the next statement, and so on …
page 61

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


Users __________, how things work.
►Analyze in detail
►Muddle through
►Figure out
►Read in detail

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


The key property of the ‘Array’ object in JavaScript is
►Value
►Length
►Name
►All of the given choices
Page 178
Question No: 14 ( Marks: 1 ) - Please choose one
In JavaScript, first element of an array has the index:
►1
► -1
►2
► None of the given choices
The index number of items starts at 0
ar variable_name = array_name[0];
- array_name is the name of the Array.
- The 0 in brackets is the index number for the first element of the array, the
second has an index number of 1, the third has an index number of 2, and so on
Question No: 15 ( Marks: 1 ) - Please choose one
In JavaScript, second element of an array has the index:
►2
►0
►1
►3
Question No: 16 ( 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

Data Mining
•The process of analyzing large databases to identify patterns
Page 263
Question No: 17 ( Marks: 1 ) - Please choose one
For connector the following symbol is used:
► Square

► Rectangle

► Diamond

► Circle
Page 99

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


A program that translates instructions for a computer from higher level language to
machine language is called

► Compiler
► Open office
► Assembler
► Microsoft office
Compiler translates high-level instructions directly into machine language
page 130
Question No: 19 ( Marks: 1 ) - Please choose one

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

► Linker

► Kernel
► Loader

► Device manager

Lec 11

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


HotWeather = (Temperature == 40);

In the above statement, the variable HotWeather is of type _______ .

► Number
► String
► Boolean
► None of the above
Numbers, e.g., 23, 4.3, -230, 4.4e-24
Booleans, e.g., true, false
Strings, e.g., “hello”, “What’s the time?”

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


NaN is produced when a string is used in non mathematical context

► True
► False
When a string is used in a mathematical context, if appropriate, JavaScript first converts
it into a number. Otherwise, a “NaN” is the result

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


The Right most portion or the third portion of the URL contains______ .
► Protocol Identifier
► Server Name
► Directory Name
► None of the given

DIRECTORY AND SUBDIRECTORIES

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


Which Internet Service is comparatively Slow but Inexpensive and Fast.
► E-mail
► Instant Messaging
► Web
► None of the given

INEXPENSIVE AND QUITE QUICK BUT NOT INSTANT PAGE 211

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


_______ is designed for 2D-Animation .
► Flash Animation
► HTML image class
► Web Browser
► HTML 2D class

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


Commenting the code can __________ .
► Make the code readable
► Make the code faster
► Both of the given --------------------
► None of the given

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


In the statement Math.PI, Math is _________ and PI is ___________.
► Variable, Constant
► Object , Method
► Object , Function
► Object , Property
PAPER 9
FINALTERM EXAMINATION
CS101- Introduction to Computing
Question No: 1 ( Marks: 1 ) - Please choose one
_____ was designed as a replacement for typewriter.

Spreadsheet Software.

Presentation Software.
Database Software.

Word Processor Software.

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

Web site is collection of related ___ ___

Web pages

Information

Search Engines

None of the given choices

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

Module level design and unit testing is the responsibility of _____________.


Team Lead

Project Manager

Quality Assurance Expert

Developers

Developer
• Responsibilities:
– Module-level design
– Coding
Unit-testing

Page 298

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


74HC163 has two enable input pins which are _______ and _________
ENP, ENT

ENI, ENC

ENP, ENC

ENT, ENI
Question No: 5 ( Marks: 1 ) - Please choose one
_____________ waits for some time and then launch a function.
Timeout( )

setTimeout( )

setTime( )

setTimeIn( )

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


________ is the way that internet domain names are located and translated into IP
addresses.
FTP

VoIP

DNS

TCP

The domain name system (DNS) is the way that Internet domain names are

located and translated into IP (Internet Protocol) addresses

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


JavaScript is an example of _____________ language.

Object-based

Object-oriented

Machine

Assembly

Question No: 8 ( 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
Support team
Responsible for the maintenance, expansion, improvement of the infrastructure
consisting of:
– Workstations, servers, printers
page 300

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

Automatically color different parts of statements in different colors, e.g. comments


in Gray, strings in Green, HTML tags in Blue
page 315

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


The tasks performed to determine the existence of defects is called _______
Debugging

Testing

Repairing

Coding

Testing & Debugging


•Testing: The tasks performed to determine the existence of defects
•Debugging: The tasks performed to detect the exact location of defects
•Defects are also called bugs or errors

Page 316

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


Access to the internet became easy after the invention of
WWW & Web Browsers

Mainframes

Binary system

Signals

Question No: 12 ( 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

Provides a simple, consistent way for applications to interact with the HW without
having to knowall the details of the HW

page 318

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


a = Math.abs(-23)

What will be the value of a ?

23

-23

23.0

2.3

http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_abs
Question No: 14 ( 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

Genetic Algorithm

The ranking and formation of newsolutions is continued until a good enough solution is
found

page 242

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

JavaScript Variables are ____________.


Dynamically typed

Statically Typed

Strong Typed

None of the given options

JavaScript Variables are Dynamically Typed .......................................... 158

Question No: 16 ( 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: 17 ( Marks: 1 ) - Please choose one

Mointor is a ________ device

Input
Out put

Application software

TV

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


USER always look for _____ result

Good

Simple

Good enough first time

Best

PAPER 10

FINALTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing

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

Navigation should remain __________.

► Consistent

► Conflicting

► Contradictory

► Unpredictable

25.5 A Few Navigation Design Heuristics:


Put the main navigation on the left of the page
It should be ‘invisible’ until it is wanted
It should require an economy of action & time
It should remain consistent
Page 171
Question No: 2 (Marks: 1) - Please choose one
_________ is a container that holds a value.

► Identifier

► Variable

► Function

► Constant
Array:
An indexed list of elements
We said that a variable is a container that holds a value.
page 177

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

A variable can be _________ in scope.

► Local

► Global

► Either local or global

► None of the given options

Question No: 4 (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: 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

Which of the following data types are recognized by JavaScript?

► Strings

► Numbers

► Undefined

► All of the given options

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

Which of the following is NOT an Operating System?

► DOS

► Windows XP

► Linux

► Mainframe
Page 61

Question No: 8 (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: 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


19.2 Event-Driven Programs
Examples: GUIs, microwave, camera
The system sends events to the program and the program responds to these 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.
Page 129

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


Programs that run on client machine and validate info that a user enters in a form, are
known as:

► Server-Side Scripts

► Client-Side Scripts

► Super Scripts

► Form Scripts

Server-Side Scripts
Are programs that reside on Web servers
Receive info that a user enters in a form
Process that info and take appropriate action page 71

Question No: 11 (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

Question No: 12 (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: 13 ( Marks: 1 ) - Please choose one

country=”Hello Pakistan”;
document.write(country.length);

The output of the above statement is ____________.

► 12

► 13

► 14

► 15 ----------------

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

The document.write( ) method expects ___________ as its argument.

► Integer

► Float

► String

► Boolean

The document.write( ) method expects a string (or several strings, separated by


commas) as its argument
page 271

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


The political process is also influenced by the use of ___________.

► Discussion forums

► Newsgroups

► Mailing lists

► All of the given options

40.6 The Political Process


•We no longer need to gather the public’s opinion through expensive referenda or
public meetings
•Through computer discussion forums, newsgroups and mailing-lists, public and
politicians may engage in a free, open exchange of ideas without leaving the
comfort of their not-so-comfortable and very comfortable homes, respectively
page 282

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

page 296

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

The key responsibilities of the architect of the project is______________.

► Technology selection

► High-level design

► Makes certain that the implementation remains true to the design

► All of the given options

Responsibilities of the architect


Technology selection
– High-level design
– Makes certain that the implementation remains true to the design
– Page 296
Question No: 19 (Marks: 1) - Please choose one

___________ has great PR skills.

► Architect

► Team Lead

► Project Manager

► Chief Executive Officer

Question No: 20 (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: 21 (Marks: 1) - Please choose one

onAbort , onError are the _______________ of the image object.

► Event Handler

► Properties

► Methods

► None of the given options

Question No: 22 (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

Many developers write the pseudo code first and then incrementally convert each
line into real code
page 230

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

Collection of facts & figures is called ____________.

► Information
► Data

► Entity

► Attribute

Question No: 24 (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: 25 (Marks: 1) - Please choose one

________ are the computers that perform at or near the currently highest operational rate
for computers.

► Minicomputers

► Microcomputers

► Supercomputers

► Personal Computers
4.2 Supercomputers
A supercomputer is a computer that performs at or near the currently highest
operational rate for computers.
page 21

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

Bit-mapped graphics is also known as ________ graphics


► Vector

► Raster

► Scalar

► Simple

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

Which event handler executes the specified JavaScript code when a window/form
element receives focus?

► onBlur

► onLoad

► onUnload

► onFocus

onFocus executes the specified JavaScript code when a windowreceives focus


or when a form element receives input focus
page 230
Question No: 28 ( Marks: 1 ) - Please choose one

Which function returns a randomly selected floating point number between 0 and 1?

► floor(x)

► ceil(x)

► random()

► round(x)
Page 250

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


The Encryption of data is related to

► Data updates

► Data security

► Data integrity

► Data accessibility

All the data that BholiBooks has in its computer systems is quite critical to its operation
The security of the customers’ personal data is of utmost importance. Hackers are
always looking for that type of data, especially for credit card numbers
This problem can be managed by using appropriate security mechanisms that provide
access to authorized persons/computers only
Security can also be improved through:
Encryption
Private or virtual-private networks
Firewalls
Intrusion detectors
Virus detectors
Page 253
Question No: 30 (Marks: 1) - Please choose one

In JavaScript: In order to display the text on browser Grade A, which of following


statement is True.

► documentwrite( "Grade A")

► document.write( "Grade A");

► document.write( "Grade” && A");

► document.write( "Grade” && “A");

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

Charles Babbage was a/an

► Mathematician
► Computer Scientist

► Physician

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

A variable can be _________ in scope.

► Local

► Global

► Either local or global

► None of the given options

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

A _________ is a meaningful, easy-to-remember ‘label’ for an IP address.

► TCP address

► Domain name

► Network name

► VoIP

IP addresses are fine for computers, but difficult to recognize and remember
for humans
A domain name is a meaningful, easy-to-remember ‘label’ for an IP address
Page 210

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

Which one is NOT a presentation software?

► MS Access
► CA Harvard Graphics

► Corel Presentation

► Lotus Freelance

Allows you to experiment without risk


Popular SW:
Microsoft PowerPoint
CA Harvard Graphics
Lotus Freelance Graphics
Corel Presentation
Page 255
Question No: 5 ( Marks: 1 ) - Please choose one

Capturing events and responding to them is called __________.

► Function Handling

► Event Handling

► Event Procedure

► All of the given option


What is Event Handling?
Capturing events and responding to them
page 228

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

Rule of thumb learned through trial and error is called ___________.

► Design

► Heuristic
► Plan

► Aim
24.1 Heuristic
Rule of thumb learned through trial & error
Page 166

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

In the old days, databases did NOT support ____________.

► Number

► Boolean

► Video

► Text

Question No: 8 ( 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: 9 ( Marks: 1 ) - Please choose one

In tabular storage, fields placed in a particular row are strongly ___________.

► Independent
► Dependent

► Interrelated

► Inconsistent

Tabular Storage: Features & Possibilities:


Similar items of data form a column
Fields placed in a particular row– same as a flat-file record – are strongly interrelated
Page 257
Question No: 10 ( Marks: 1 ) - Please choose one

__________ function returns the largest integer that is less than or equal to x.

► round(x)

► floor

► ceil

► abs(x)

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

Due to working at home, contact with the colleagues is __________, which may result in
__________ quality of work

► Reduced, Poorer

► Reduced, Better

► Increased, Poorer

► Increased, Better

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


Tribal flood network is a ___________ software.

► DoS

► Scanning

► Utility

► None of the given options

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

A stream of large sized emails are sent to an email address for overloading the destination
account, is called ___________.

► DoS Attack

► Break-Ins

► Mail Bombing

► All of the given options

A stream of large-sized eMails are sent to an address, overloading the destination


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

To stop industrial espionage, we use__________.

► Private network

► Encryption

► Network sniffer

► All of the given options

Defense: Private networks, encryption, network sniffers


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

Unlike virus, ___________ is a stand-alone program.

► Trojan horse

► Logic bomb

► Worm

► Time bomb

Trojan Horses
•Unlike viruses, they are stand-alone programs
Page 278
Question No: 16 ( 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
Automatically color different parts of statements in different colors, e.g. comments
in Gray, strings in Green, HTML tags in Blue
page 315

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

onAbort , onError are the _______________ of the image object.

► Event Handler

► Properties

► Methods

► None of the given options


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

Quantum Mechanics is the branch of ________; which describes the activity of


subatomic particles

► Chemistry

► Computer Science

► Physics

► Biology

Question No: 19 ( 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

Communication protocol is defined as a set of rules or standards for


transferring data or information

Question No: 20 ( 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: 21 ( Marks: 1 ) - Please choose one

_____ is the example of server-side scripts on Unix servers.

► ASP

► CGI

► VBScript

► JavaScript

Examples:
CGI scripts on Unix servers
Page 71

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

Which is NOT true for JavaScript variable name ?

► Student

► Roll_no_1111

► For

► _schedule

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

User can remotely log on to a computer and can have a control over it like a local user
using

► TelNet Protocol

► TelNet Protocol and connected to the user through TCP/IP network


► TelNet protocol and FTP

► TCP/IP and FTP

Question No: 24 ( 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

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
PAGE 235
Question No: 25 ( Marks: 1 ) - Please choose one

Which function returns a randomly selected floating point number between 0 and 1 ?

► floor(x)

► ceil(x)

► random()

► round(x)

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

In flat-file databases each record was separated by a special character named :

► Horizontal bar
► Vertical bar

► Text bar

► Character bar

Each group of info – called a record - in that file was separated by a special character;
vertical bar ‘|’ was a popular option
PAGE 255
Question No: 27 ( Marks: 1 ) - Please choose one

With the passage of time the field of Computing and Telecommunication is


_____________.

► Diverging

► Converging

► Becoming different

► Becoming unique

http://www.eecs.berkeley.edu/~messer/PAPERS/96/Proc1/

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

Which of the following is NOT true about modern computers?

► More powerful

► Smaller in size

► Consume less energy

► Costly

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

Mathematical functions in JavaScript, are accessed by referring to various methods of the


_____________ object.
► Math

► Calculate

► Compute

► None of the given options

Notationaly, these functions are accessed by referring to various methods of the


Math object
PAGE 248

Question No: 30 ( 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

16.6 Greedy Algorithm


An algorithm that always takes the best immediate, or local solution while finding an
Answer
PAGE 102

PAPER 12
Spring 2009
CS101- Introduction to Computing (Session - 2)

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


__________ breaks down the message to be sent over the internet into packets.

► FTP
► HTTP
► TCP
► IP

TCP breaks down the message to be sent over the Internet into packets
IP routes these packets through the Internet to get them to their destination
PAGE 196
Question No: 2 ( Marks: 1 ) - Please choose one
A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP
PAGE 213

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


Aliasing problem can be managed by ____________the size of pixels.
► Reducing
► Increasing
► Gaining
► Modifying
This effect – called aliasing – can be managed by reducing the size of pixels
PAGE 236
Question No: 4 ( Marks: 1 ) - Please choose one
Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference
► Length
► Name
   Variables
Variables give us the ability to manipulate data through reference instead of actual value
PAGE 143

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


The __________ reserved word allows a determined action to be taken if the first
condition is false.
► For
► While
► Else ---------------
► Switch

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


ERP is a type of __________________ .
► Entertainment software

► Productivity software

► Business software

► Scientific software

Question No: 7 ( 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


 Uses of Word Processors
Write a letter
Address labels
Research paper or report
Advertisement
Newsletter
Magazines
Book
And thousands of other tasks
PAGE 87

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


Command that allows you to recover form mistakes is called __________.

► Clear
► Edit
► Undo
► Break

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


Automatic machines performing various tasks that were previously done by humans, are
called ____________.
► Robotics
► Computers
► Decision Making Systems
► Autonomous Web Agents
   Robotics:
Automatic machines that perform various tasks that were previously done by humans
PAGE 244
Question No: 10 ( 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
Control unit is called the brain of computer microprocessor
Question No: 11 ( Marks: 1 ) - Please choose one
Database consisting of two or more related tables, is called _____________.
► Flat file database
► Object oriented database
► Tabular storage database
► Relational database
Relational Databases
•Databases consisting of two or more related tables are called relational databases
Page 262

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 option

Question No: 13 ( 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: 14 ( Marks: 1 ) - Please choose one


____________ DBMS supports data in terabytes.

► Personal
► Desktop
► Enterprise
► Single-user
   Classification of DBMS w.r.t. Size
•Personal/Desktop/Single-user (MB-GB)
Server-based/Multi-user/Enterprise (GB-TB)
•Seriously-huge databases (TB-PB-XB)
Page 274
Question No: 15 ( Marks: 1 ) - Please choose one
After the DoS attack in year 2000, Yahoo servers were recovered in __________.
► 1 hour
► 2 hours
► 3 hours
► 4 hours
 Neutralizing the Attack
•The engineers responsible for monitoring the traffic on the Yahoo Web sites
quickly identified the key characteristics of the packets originating from those drones
•Then they setup filters that blocked all those packets
•It took them around 3 hours to identify and block most of the hostile packets
Page 275

Question No: 16 ( 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

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


To stop industrial espionage, we use__________.
► Private network
► Encryption
► Network sniffer
► All of the given options
   Industrial Espionage
•Spies of one business monitoring the network traffic of their competitors
•They are generally looking for info on future products, marketing strategies, and
even financial info
•Defense: Private networks, encryption, network sniffers
Page 277

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
onAbort , onError are the _______________ of the image object.
► Event Handler
► Properties
► Methods
► None of the given options
Event handlers: onAbort, onError, onLoad, etc.
Page 286
Question No: 20 ( Marks: 1 ) - Please choose one
Processed data is called ________.

► Information
► Data
► Entity
► Attribute

Question No: 21 ( 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
Web browser is a client program that uses the Hypertext
Transfer Protocol (HTTP) to make requests of Web servers throughout the Internet on
behalf of the browser user.
Page 18

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


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

Question No: 23 ( 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: 24 ( Marks: 1 ) - Please choose one


Which is NOT true for JavaScript variable name ?
► Student
► Roll_no_1111
► For
► _schedule
Identifiers
Identifiers are names used by JavaScript to refer to variables (as well as objects,
properties, methods, and functions!)
An identifier must begin with an alphabetical character (a-z or A-Z) or the underscore
“_” character
Subsequent characters can be an alphabetical (a-z or A-B) or numeric character (0-9) or
an underscore

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


In JavaScript, second element of an array has the index:
►2
►0
►1
►3
-

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


Which protocol is used to control other computer from our own computer ?
► FTP
► NNTP
► TELNET
► None of the given choices

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


______ occurs when a function calls itself.
► Recursion
► Call by value
► Call by reference
► Parsing
The idea of calling one function from another immediately suggests the possibility of a
function calling itself. The function-call mechanism in Java supports this possibility,
which is known as recursion
http://introcs.cs.princeton.edu/java/23recursion/
Question No: 28 ( Marks: 1 ) - Please choose one
Which function returns a randomly selected floating point number between 0 and 1 ?
► floor(x)
► ceil(x)
► random()
► round(x)

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


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

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


The most used form tag is the <input> tag.

► True
► False

PAPER 13
FINALTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 2)

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
contained 256 bytes of memory
page 15
Question No: 2 ( Marks: 1 ) - Please choose one
A named collection of properties (data, state) and methods (instruction, behavior) is
called ____________.
► Array
► Function
► Variable
► Object
Object: A named collection of properties
(data, state) & methods (instructions, behavior)
Page 121

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


JavaScript Variables are ____________.
► Dynamically Typed
► Statically Typed
► Strong Typed
► None of the given options
JavaScript Variables are Dynamically Typed
Page 144
Question No: 4 ( 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: 5 ( Marks: 1 ) - Please choose one


Rule of thumb learned through trial and error is called ___________.
► Design
► Heuristic
► Plan
► Aim

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


According to heuristic, if you can’t explain it in ____________ minutes, either you don’t
understand it or it does not work.
► 10
►2
►5
►4
5 If you can’t explain it in 5 minutes, either you don’t understand it or it does not
Work
Page 166
Question No: 7 ( Marks: 1 ) - Please choose one
To store rounded number of 8.6 in a variable called "r_number", we write
_____________.
► r_numbers=Maths.rounds(8.6)
► r_number=Math.rounds(8.6)
► r_number=Math.round(8.6)
► r_number=Maths.round(8.6)

Question No: 8 ( 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: 9 ( Marks: 1 ) - Please choose one


__________ function returns the largest integer that is less than or equal to x.
► round(x)
► floor
► ceil
► abs(x)

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


Due to working at home, contact with the colleagues is __________, which may result in
__________ quality of work
► Reduced, Poorer
► Reduced, Better
► Increased, Poorer
► Increased, Better

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


The distance among families is ___________ because of spending more time on internet.
► Increased
► Expanded
► Contracted
► Decreased

Question No: 12 ( 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

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


____________ is designed for detecting viruses and inoculating.
► Antivirus
► Utility
► Trojan
► None of the given choices

Question No: 14 ( 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
The network paradigm (all connected to many others) is becoming the preferred
organizational structure of more and more organizations as time goes by
page 281
Question No: 15 ( Marks: 1 ) - Please choose one
Planning and tracking of the project is the responsibility of the___________.
► Project Manager page 296
► Architect
► Developer
► Chief Executive Officer

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


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
Team Lead
• Responsibilities:
– Planning and tracking of the project
– Detailed design
– Professional development of team members
– In case of small teams, development activities
Page 298
Question No: 17 ( Marks: 1 ) - Please choose one
_____________ team is responsible for a project after the specification’s stage till the
very end.
► Executive
► Architect
► Development
► HR
Development Team
The number of development teams has varied between 3-7 at this organization
•Team-size has varied between 3-35
•Large teams are organized as a collection of sub-teams
•Lowest-level team: No more than 7 members
•Responsible for a project from after the specifications stage till the very end
Page 296
Question No: 18 ( Marks: 1 ) - Please choose one
There are _________ types of errors.
►2
►3
►4
►5
Types of Errors
•Syntax errors
•Semantic errors
•Run-time errors
Page 312
Question No: 19 ( Marks: 1 ) - Please choose one
________ are the computers that perform at or near the currently highest operational rate
for computers.
► Minicomputers
► Microcomputers
► Supercomputers
► Personal Computers

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


Which one of these is NOT an example of storage devices?
► Tape
► RAM
► Floppy
► DVD

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


Forms can be submitted by using __________ different methods
►2
►3
►4
►5

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


Which is NOT true for JavaScript variable name ?
► Student
► Roll_no_1111
► For
► _schedule

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


One can browse documents residing on a remote computer using ________ protocol.
► HTTP page 185
► SMTP
► FTP
► TELNET

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


User can remotely log on to a computer and can have a control over it like a local user
using
► TelNet Protocol
► TelNet Protocol and connected to the user through TCP/IP network
► TelNet protocol and FTP
► TCP/IP and FTP
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
page 211
Question No: 26 ( Marks: 1 ) - Please choose one
Hardware malfunctions is related to
► Data updates
► Data integrity
► Data security
► Data accessibility
Data Integrity
•Integrity refers to maintaining the correctness and consistency of the data
– Correctness: Free from errors
– Consistency: No conflict among related data items
•Integrity can be compromised in many ways:
– Typing errors
– Transmission errors
– Hardware malfunctions
– Program bugs
– Viruses
– Fire, flood, etc.
Page 259
Question No: 27 ( Marks: 1 ) - Please choose one
PowerBuilder falls in the category of ______________.

► Assembly Languages
► 4-th Generation Languages
► Machine Languages
► High-Level Languages
PowerBuilder is a fourth generation language (4GL),
Question No: 28 ( Marks: 1 ) - Please choose one
Backbone is also called as ________.
► vBNS
► BNS
► vHBNS
► HBNS
(A backbone is a larger transmission line that carries data gathered
from smaller lines that interconnect with it) known as vBNS or NSFNet.
Page 21
Question No: 29 ( Marks: 1 ) - Please choose one
Global variables can make the logic of a web page.
► Difficult to understand
► Easier to understand and maintain
► Difficult to reuse and maintain
► Difficult to understand, reuse and maintain
Global variables can make the logic of a Web page difficult to understand
Global variables also make the reuse and maintenance of your code much more difficult
Page 207
Question No: 30 ( Marks: 1 ) - Please choose one
In JavaScript: In order to display the text on browser Grade A, which of following
statement is True.

► documentwrite( "Grade A")


► document.write( "Grade A");
► document.write( "Grade” && A");
► document.write( "Grade” && “A");

PAPER 14
FINALTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 2)

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

It represents the ________________ flow chart element.

► Process
► Input or Output
► Decision
► Connector

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


Website design should NOT be __________.
► Unified
► Complex
► Consistent
► Predictable
Designs should be consistent & predictable (unified)
Page 170

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


The most upper right pixel of the screen is of ___________ color.
► Any
► Red
► Green
► Blue

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


Which of the following is NOT an example of Multi-user Operating system

► Windows
► Linux
► DOS
► Solaris
Example: Current versions of Windows, Mac OS, Linux, Solaris
Page 67
Question No: 5 ( Marks: 1 ) - Please choose one
According to the heuristic, the number of defects remaining in a system after a
given level of tests is proportional to ___________.
► The number found on very first day.
► The number found during the development.
► The number found during the test.
► None of the given options.

The number of defects remaining in a system after a given level of tests is proportional to
the number found during the test
Page 169
Question No: 6 ( Marks: 1 ) - Please choose one
Which one of the following is NOT a component of Rule Based System?
► Rule Compiler
► Rule Interpreter
► Rules Base
► Working Memory
Rulebased Systems (1):
Based on the principles of the logical reasoning ability of humans
Components of an RBS:
Rulebase
Working memory
Rule interpreter
Page 242
Question No: 7 ( Marks: 1 ) - Please choose one
In RDBMS, table rows are called __________.
► Field
► Record
► Column
► Query
Table rows are called records; rowelements are called fields
Page 262
Question No: 8 ( 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
37.2 Some Terminology
Forms can be used for entering, editing, or viewing data, one record at a time
Page 263
Question No: 9 ( Marks: 1 ) - Please choose one
Tribal flood network is a ___________ software.
► DoS
► Scanning
► Utility
► None of the given options
2. Arming the Drones
•After several drones have been conquered, the DoS SW is loaded on to them
•Examples: Tribal Flood Network, Trinoo, TFN2K
Page 275
Question No: 10 ( Marks: 1 ) - Please choose one
Unlike virus, ___________ is a stand-alone program.
► Trojan horse
► Logic bomb
► Worm
► Time bomb
Trojan Horses
•Unlike viruses, they are stand-alone programs
Page 278
Question No: 11 ( 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
Project Manager
• Responsibilities:
– Planning and tracking of the project
– Arranging of the appropriate resources
lient relationship management
page 296

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


The key responsibilities of the architect of the project is______________.
► Technology selection
► High-level design
► Makes certain that the implementation remains true to the design
► All of the given options
Architect
• Responsibilities:
Technology selection
– High-level design
– Makes certain that the implementation remains true to the design
page 297

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


_______________ is responsible for day to day operations.
► CEO
► COO
► CMSO
► Developer

COO – Chief Operating Officer


– Responsible for the day-to-day operations page 298
Question No: 14 ( Marks: 1 ) - Please choose one
onAbort , onError are the _______________ of the image object.
► Event Handler
► Properties
► Methods
► None of the given options
Event handlers: onAbort, onError, onLoad, etc.
Page 308
Question No: 15 ( Marks: 1 ) - Please choose one
The tasks performed to detect the exact location of defect is called______

► Debugging
► Testing
► Repairing
► Monitoring
44.5 Testing & Debugging
•Testing: The tasks performed to determine the existence of defects
•Debugging: The tasks performed to detect the exact location of defects
Page 312
Question No: 16 ( Marks: 1 ) - Please choose one
_____________ routes the packets through the internet to go to their
destination.

► Protocol
► TCP
► IP
► NIC

Question No: 17 ( 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
When we buy a SW package, we do not really buy it – we just buy a license that
allows us to use it, the ownership stays with the maker
page 319
Question No: 18 ( Marks: 1 ) - Please choose one
Sequence of steps that is taken to solve a problem is called _______.

► Algorithm
► Operating System
► Application software
► None of the given options
Algorithm
1st Definition:
Sequence of steps that is taken to solve a problem
Better Definition:
A precise sequence of a limited number of unambiguous, executable steps that terminates
in the form of a solution
page 320
Question No: 19 ( 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
Database
•A collection of data organized in such a fashion that the computer can quickly
search for a desired data item
•All data items in it are generally related to each other and share a single domain
Page 321
Question No: 20 ( 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: 21 ( Marks: 1 ) - Please choose one


______ are personal computers that are designed to be easily transported and
relocated.
► Desktops
► Portables
► Servers
► Workstations
4.6 Portables
Portable computer is a personal computer that is designed to be easily transported and
relocated, but is larger and less convenient to transport than a notebook computer.
Page 21
Question No: 22 ( Marks: 1 ) - Please choose one
To display a multi-line text area on the web page, we use ___ tag
► TEXT
► TEXTAREA
► INPUT
► INPUTAREA

Question No: 23 ( 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: 24 ( Marks: 1 ) - Please choose one


Pseudo code is written in
► Complex grammar
► Plain English
► JAVA
► Pseudo language
pseudo code is written in a format that is closely related to high
level programming
Question No: 25 ( Marks: 1 ) - Please choose one
Instead of Full System, one can _____ results from part of a System
► Not achieve
► Mostly achieve
► Sometimes achieve
► Achieve

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


One can download or upload files to a remote computer using ________
protocol.
► HTTP
► SMTP
► FTP
► TELNET
Examples of Computer Network Usage
•I can send an eMail message to a remote computer using the SMTP protocol
•I can browse documents residing on a remote computer using the HTTP protocol
•I can download or upload files to a remote computer using the FTP protocol
•I can run a program on a remote computer using the TELNET protocol
Page 185

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


Which protocol is used to control other computer from our own computer ?
► FTP
► NNTP
► TELNET
► None of the given choices

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


Which function returns a randomly selected floating point number between 0 and
1?
► floor(x)
► ceil(x)
► random()
► round(x)

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


Global variables can make the logic of a web page.
► Difficult to understand
► Easier to understand and maintain
► Difficult to reuse and maintain
► Difficult to understand, reuse and maintain
Local –vs- Global
Global variables can make the logic of a Web page difficult to understand
Global variables also make the reuse and maintenance of your code much more difficult
Page 207
Question No: 30 ( Marks: 1 ) - Please choose one
Mathematical functions in JavaScript, are accessed by referring to various
methods of the _____________ object.
► Math
► Calculate
► Compute
► None of the given options\

35.2 Mathematical Functions in JavaScript:


Notationaly, these functions are accessed by referring to various methods of the Math
object
page 248

http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_abs

Вам также может понравиться