Tuesday, March 2, 2010

CS101- Introduction to Computing FINALTERM EXAMINATION Fall 2009 (23-03-2010)

FINALTERM EXAMINATION

Fall 2009

CS101- Introduction to Computing

Time: 120 min

Marks: 75

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

Navigation should remain __________.

Consistent

Conflicting

Contradictory

Unpredictable



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

_________ is a container that holds a value.

Identifier

Variable

Function

Constant



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



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



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



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



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



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

One of the key responsibilities of the ___________ is client relationship management.

Project Manager

Team Lead

Developer

Quality Assurance Engineer



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

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



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



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



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



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

The Encryption of data is related to

Data updates

Data security

Data integrity

Data accessibility



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");



Question No: 31 (Marks: 1)

Does JavaScript provide any built-in method for image manipulation?

Question No: 32 (Marks: 1)

What are Local or Function-level Variables?

Question No: 33 (Marks: 2)

What is a function? Give one example.

Question No: 34 (Marks: 2)

What is the Data Normalization? Also define its goal.

Data normalization is to sort out complex data into simple form. It uses to simplify the complex information to make it more user-friendly.

Question No: 35 (Marks: 3)

What is the preferred organizational structure for the organization?

Preferred Organizational Structure for organization is hierarchal. Where there is different departments interconnected with each other and are been divided according to the functions they perform.

Question No: 36 (Marks: 3)

Differentiate Local and Global Variables.

Local variables are the variables have limited scope while global have bigger scope

Local variables are not accessed by others while global is accessible to every one

Local variable used by single user while global variable can be used by different users at time from all around.

Question No: 37 (Marks: 3)

Elaborate Vector or Object oriented graphics with at least one example.

Object Oriented Graphics are the graphics which are generally oriented towards the objects and have good quality to portray objects these graphics are object oriented and use in animation, games and movies as well.

Question No: 38 (Marks: 5)

How DoS attack is a cyber crime? For what cyber crime can be used?

DoS stands for Decline of Service and it is a cyber crime as it jams and in some cases shut down the targeted computer by sending too much unnecessary data packets to it which ultimately exceeds the normal processing eventually results the computer or server to stuck and unable to provide services to others. It can be used to destroy the fame and diminishing of no of users requesting information and services from that particular server or computer.

Question No: 39 (Marks: 5)

Write HTML and JavaScript code that displays a textbox and button on a web page. When user enters text in the text box and click the button it displays that text in the message box.

Question No: 40 (Marks: 10)

Write code for the following screen shot. The text field should not accept any other name except “CS101”. On wrong entry it should give you a message as soon as you leave the text box.

Question No: 41 (Marks: 10)

Write a note on each of the following:

a. Vector or Object-Oriented Graphics:

b. Bit-Mapped or Raster Graphics:

No comments:

Post a Comment