Pages

Sunday, August 22, 2010

CS101 FINAL TERM PAPER

FINALTERM EXAMINATION


Spring 2010

CS101- Introduction to Computing (Session - 2)

Time: 90 min

Marks: 58

Student Info

StudentID: MC090402571

Center: PBWP02

ExamDate: 9th Aug 2010



For Teacher's Use Only

Q No. 1 2 3 4 5 6 7 8 Total

Marks

Q No. 9 10 11 12 13 14 15 16

Marks

Q No. 17 18 19 20 21 22 23 24

Marks

Q No. 25 26 27 28 29 30 31 32

Marks

Q No. 33 34 35 36

Marks









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

What is NOT a key factor while designing a website?

► Usability

► User-friendly

► Consistency

► Complexity (correct)



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 (correct)



► TCP and HTTP





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

A variable can be _________ in scope.

► Local

► Global

► Either local or global (correct)

► 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 (correct)

► SMTP



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

Aliasing problem can be managed by ____________the size of pixels.

► Reducing (correct)

► Increasing

► Gaining

► Modifying



Question No: 6 http://vustudents.ning.com ( 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 (correct) (I THINK)

► 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 (correct)



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

a = Math.ceil(12.01)



What will be the value of a ?



► 12

► 13 (correct)

► 12.0

► 13.01



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

In the old days, databases did NOT support ____________.

► Number

► Boolean

► Video (correct)

► Text



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 (correct)



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

Module level design is the responsibility of the ___________.

► Architect

► Team Lead

► Developer (correct)

► CEO



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

_____________ errors are caused by the code that somehow violates the rule of the language. http://vustudents.ning.com

► Syntax (correct)

► Semantic

► Run time

► Load time



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

The world first computer program was written to compute:

► Simple sequence

► Multiple sequence

► Bernoulli’s sequence (correct)

► Increasing sequence



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

Microsoft Word is a type of:

► System Software

► Freeware Software

► Shrink-Wrapped Software (correct)

► Custom-built Software



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

We need _____________ for memory management in computer

► Software

► Hardware

► Operating System (correct)

► Application Software



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 (correct)

► Memory and time

► Bandwidth



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

PowerBuilder falls in the category of ______________.

►Assembly Languages

►4-th Generation Languages (correct)

►Machine Languages

►High-Level Languages



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

___________ means to break down into simpler components and analyze.

►Recursion

►Parsing (correct)

►Scope

►Navigation



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

for(var i=1; i<=2;i=i+1) http://vustudents.ning.com

{

document.write( "Sorted Words:" + "
" )

}



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

►Sorted Words: Sorted Words:

►Sorted Words:

Sorted Words:

► Sorted Words: “


Sorted Words: “




►Sorted Words:

Sorted Words:
(correct)







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

Assembly languages allow a programmer to use _________ for numbers.

► Object



► Entity



► Name (correct)



► Interpreter





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 ( 80 % SURE)

► String



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

Coding is the responsibility of ________________

► Software designer

► Software developer (correct)

► Project manager

► None of given



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

CEO stands for____________________

► Central Executive officer

► Chief External officer

► Chief executive officer (correct)

► 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________ . http://vustudents.ning.com

► Doctors

► Mangers

► Marketers

► All of above (correct)



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 (correct)

► 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 (correct)



Question No: 27 ( Marks: 2 )

For what purposes FTP is used in networks ?

Used to transfer files between computers on a TCP/IP network (e.g Internet)



Question No: 28 ( Marks: 2 )

In JavaScript, what is event handling? What are the two types of events?





Question No: 29 ( Marks: 2 )

Define the key weakness of the web?



• The Web (as it currently exists) was designed for humans to read, not for computers to understand and manipulate meaningfully

• Computers face great problems in dealing with the current text- and graphics-based content of the Web



Question No: 30 ( Marks: 2 )

What was the obstacle to the construction of analytical engine?



Because of the complexity of the machine, the lack of project management science, the expense of its construction, and the difficulty of assessing its value by Parliament relative to other projects being lobbied for, the engine was never built.



Question No: 31 ( Marks: 3 )

The event handler attribute consists of three parts. Write about each of them.

The identifier of the event handler

The equal sign

A string consisting of JavaScript statements enclosed in double or single quotes



Question No: 32 ( Marks: 3 )

Who is a Computing Professional?

. Professionals involved in the development and/or maintenance of SW and/or computer HW

• Computer scientists, software engineers, computer engineers, and some of the telecom engineers are generally classified as computing professionals



Question No: 33 ( Marks: 3 )

Give any three applications of computer graphics?



Used for

scientific research,

artistic expression,

for industrial applications



Question No: 34 ( Marks: 5 )

Mention any five applications of Artificial Intelligent System.



Medical diagnosis, Games, Robots, Business Intelligence, Image recognition.





Question No: 35 ( Marks: 5 )

What are the important properties, methods and event handlers of image object?



1. An instance of the Image object is created using the new keyword

2. The src property of this instance is set equal to the filename of the image to be preloaded

3. That step starts the down-loading of the image into the cache without actually

displaying it

4. When a pre-loaded image is required to be displayed, the src property of the

displayed image is set to the src property of the pre-fetched image



Example1:- (preloading)

dieImg = new Array( 7 ) ;

for( k = 1; k < 7; k = k + 1 ) { //Preload images

dieImg[ k ] = new Image( ) ;

dieImg[ k ].src = "die" + k + ".gif" ;



Example 2:-

dieImg = new Array( 7 ) ;

for( k = 1; k < 7; k = k + 1 ) { // Preload images

dieImg[ k ] = new Image( ) ;

dieImg[ k ].src = "die" + k + ".gif" ;

}



Question No: 36 ( Marks: 5 )

Explain function arguments with the help of an example?



Function is a group of statements which is defined once and used repeatedly. http://vustudents.ning.com

It is a comma separated list of data.



Example:



Function add(a, b) {



C= a + b ;

Return c ;



}



Sum = add (2,4 );

Document. Write(sum);

0 comments: