CS101- Introduction to Computing - FINALTERM EXAMINATION
Spring 2009 - (Session - 4)
Time: 120 min
Marks = 75
Time: 120 min
Marks = 75
CS101 - Introduction to Computing - Q.No. 1 ( M - 1 )
Which of the following hardware component of a computer can also be called as engine?
► Bus
► Storage
► Memory
► Processor (correct)
CS101 - Introduction to Computing - Q.No. 2 ( M - 1 )
TCP stands for ___________.
► Total communication protocol
► Transmission control protocol (page. no.317)
► Transfer control protocol
► Transfer collection protocol
CS101 - Introduction to Computing - Q.No. 3 ( M - 1 )
__________ breaks down the message to be sent over the internet into packets.
► FTP
► HTTP
► TCP (Page.no.317)
► IP
CS101 - Introduction to Computing - Q.No. 4 ( M - 1 ) www.vuzs.net
A variable can be _________ in scope.
► Local
► Global
► Either local or global (page.no.204)
► None of the given options
CS101 - Introduction to Computing - Q.No. 5 ( M - 1 )
A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP (page.no.213)
CS101 - Introduction to Computing - Q.No. 6 ( M - 1 )
A function is also called __________.
► Sub-program (correct)
► Procedure
► Sub-routine
► All of the given option
CS101 - Introduction to Computing - Q.No. 7 ( M - 1 )
Capturing events and responding to them is called __________.
► Function Handling
► Event Handling (page.no.228)
► Event Procedure
► All of the given option
CS101 - Introduction to Computing - Q.No. 8 ( M - 1 )
Which one of the following is NOT a primary color?
► Red
► Green
► Yellow (correct)
► Blue
CS101 - Introduction to Computing - Q.No. 9 ( M - 1 )
__________ 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 (correct)
► Event declared programs
CS101 - Introduction to Computing - Q.No. 10 ( M - 1 )
a = Math.ceil(12.01)
What will be the value of a ?
► 12
► 13 (correct)
► 12.0
► 13.01
CS101 - Introduction to Computing - Q.No. 11 ( M - 1 )
Event handlers are placed in the ___________ portion of a Web page as attributes in HTML tags. www.vuzs.net
► HEAD
► BODY (page.no229)
► SCRIPT
► TITLE
CS101 - Introduction to Computing - Q.No. 12 ( M - 1 )
_________ can be used for entering, editing, or viewing data, one record at a time.
► Queries
► Forms (page.no.263)
► Reports
► None of the given options
CS101 - Introduction to Computing - Q.No. 13 ( M - 1 )
random() function returns a randomly-selected, floating-point number between ____________.
► 0 and 1 (correct)
► 0 and 10
► 0 and -10
► 0 and -1
CS101 - Introduction to Computing - Q.No. 14 ( M - 1 )
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 (page.no.281)
CS101 - Introduction to Computing - Q.No. 15 ( M - 1 )
In relational database, data store in the form of _____________.
► Tables (page.no.321)
► Rows
► Columns
► None of the given options
CS101 - Introduction to Computing - Q.No. 16 ( M - 1 )
Spies of one business monitoring the network traffic of their competitors’ ___________.
► Industrial Intelligence
► Industrial Espionage (page.no.277)
► Industrial Spying
► Industrial Surveillance
CS101 - Introduction to Computing - Q.No. 17 ( M - 1 )
_____________ waits for some time and then launch a function.
► Timeout( )
► setTimeout( ) (page.no.290)
► setTime( )
► setTimeIn( )
CS101 - Introduction to Computing - Q.No. 18 ( M - 1 )
_______________ based communication allows business entities to coordinate the activities of their globally spread units with greater accuracy.
► Intranet
► Internet (page.no.294)
► Home
► LAN
CS101 - Introduction to Computing - Q.No. 19 ( M - 1 )
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 (page.no.296)
CS101 - Introduction to Computing - Q.No. 20 ( M - 1 )
_____________ team consists on the sharpest technical minds in the company.
► Architecture (page.no.302)
► Business Development
► Configuration Management
► Developer www.vuz s.net
CS101 - Introduction to Computing - Q.No. 21 ( M - 1 )
Smart editors can automatically color different parts of statements in different colors e.g. comments in ____________ color.
► Green
► Grey (page.no.315)
► Blue
► Red
CS101 - Introduction to Computing - Q.No. 22 ( M - 1 )
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 (page.no.321)
► Information
► DBMS
CS101 - Introduction to Computing - Q.No. 23 ( M - 1 )
Deep Blue was the name of
► computer (page.no.9)
► human
► city
► game
CS101 - Introduction to Computing - Q.No. 24 ( M - 1 )
Information available on the web is
► mostly free of cost (correct)
► costly
► very cheap
► of no use
CS101 - Introduction to Computing - Q.No. 25 ( M - 1 )
Which one is correct?
► < BODY>< /BODY>
► < body>< /body>
► Both < BODY>< /BODY> and < body>< /body> ( Ref: As HTML is not case sensitive)
► < BODY/>
CS101 - Introduction to Computing - Q.No. 26 ( M - 1 )
_________ is the best known builder for supercomputers.
► Sun
► Cray Research (page.no.21)
► Microsoft
► Apple
CS101 - Introduction to Computing - Q.No. 27 ( M - 1 )
Which one is the example of spreadsheet software ?
► MS Word
► MS PowerPoint
► MS Excel (correct)
► MS Access
CS101 - Introduction to Computing - Q.No. 28 ( M - 1 )
Currently the BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB (page.no.305)
► 150 GB
CS101 - Introduction to Computing - Q.No. 29 ( M - 1 )
Blue Pacific is a name of ______ computer.
► Mini
► Desktop
► Micro
► Super (page.no.21)
CS101 - Introduction to Computing - Q.No. 30 ( M - 1 )
_________________ are powerful pieces of hardware, but not much useful on their own.
► Microcontrollers
► Microprocessors (page.no.33)
► Integrated circuits
► Ports
CS101 - Introduction to Computing - Q.No. 31 ( M - 1 ) vuzs
In programming, what is a loop?
In computer science a for loop is a programming language statement which allows code to be repeatedly executed. A for loop is classified as an iteration statement.
CS101 - Introduction to Computing - Q.No. 32 ( M - 1 )
What are the other names of function? Any one.
Routine , procedure , sub prograam
CS101 - Introduction to Computing - Q.No. 33 ( M - 2 )
How JavaScript Arrays are heterogeneous ?
Arrays are heterogeneous in java script because at the same time stimultanously they can hold elements of multiple data types
CS101 - Introduction to Computing - Q.No. 34 ( M - 2 )
What is the database?
Data base is a collection of organized data in a proper way that computer can quickly search for any desired data item , its an easy way of allowing of manipulation of data,they are design in such a way that access to any desired data can be identified and reached quickly and easy , they are generally consist of collection of interrelated files
CS101 - Introduction to Computing - Q.No. 35 ( M - 3 )
Differentiate between LAN and WAN with one example of each.
Lan is a local area network where as wan is a wide area network
Lan can be used in a specific areas with limited computers where as wan can be used on computers shared by large distances
For example lan can be used on pc s or an organization located in one building but wan can be used on large scales like banks all over or in any Large communication systems
CS101 - Introduction to Computing - Q.No. 36 ( M - 3 )
What are Trojan Horses ?
Trojen horses are a kind of cyber crime , they are v harmful to computer because they are stand alone programme and the look like what they are not like any thing amusing or not harmless like games..
CS101 - Introduction to Computing - Q.No. 37 ( M - 3 )
Elaborate Rester Graphics with examples.
A raster graphics image, digital image, or bitmap, is a data file or structure representing a generally rectangular grid of pixels, or points of color, on a computer monitor, paper, or other display device. www.vuzs.net
To illustrate the matter further - here's the letter "J":
J
Look closely at it... Take a magnifying glass to it if you like. You see a "J", the computer sees something more like this, where '.' represents a zero and 'X' represents a one:
....X
....X
....X
....X
....X
....X
....X
X...X
X...X
.XXX.
Where you see a zero, the computer instructs its video hardware to paint the current background color. A one calls for the current foreground color. Yes, it is actually a bit more complicated, but it all basically boils down to one bit or the other making a distinction
between the colors of adjacent pixels, which together form an image.
CS101 - Introduction to Computing - Q.No. 38 ( M - 5 )
What are the important properties, methods and event handlers of image object?
The primary use of the image object is to download an image into the cache before it is needed to display , image object can be used to create different kinds of animations or to display one of several images based on the desired requirement , in java script image object can be used to display the required pre loaded image
Properties of image object is : height , width ,hspace ,vspace , src , name border etc
Methods :none
Event handlers:on aboart , onload, onerror etc
CS101 - Introduction to Computing - Q.No. 39 ( M - 5 )
Write the JavaScript code for the Function SumOddNumbers(maxNumber) that can add non-negative odd numbers up to maxNumber and return their sum.
Function sum odd numbers(maxnumber){var sum=0;
For(i=0; <maxNumbers;I++)
{
{
if(i / 2 == 1 || i == 1)
sum += i;
}
return sum;
}
CS101 - Introduction to Computing - Q.No. 40 ( M - 10 )
Write a note on :
· Coding guidelines
· Guidelines for developing short programs.
· Coding guidelines
· • Always use semicolons to end statements
· • Indent blocks of code (2 to 5 spaces)
· • Identifiers
· • Use the camel back scheme
· • Variables: nouns
· • Functions: verbs
· • Comment Liberally
· • Make them descriptive but concise
·
Gudelines for developing short programs.
· • Read and understand the problem
· • Do you have all the required data?
· • No: Get it
· • Else assume it. State it explicitly
· • Do the design
CS101 - Introduction to Computing - Q.No. 41 ( M - 10 )
write a note on each of the following:
a. Vector or Object-Oriented Graphics:
b. Bit-Mapped or Raster Graphics:
A:In Vector or object oriented graphic everything drawn is treated as object. objects retain their identity after they are drawon. these objects can later be moved, stretched, duplicated, deleted,etc. they are resolution independent and have relatively small file size. the examples are: swf, svg, wmf, ps
brass_ibrahim: Vector graphics is the use of geometrical primitives such as points, lines, curves, and shapes or polygon(s), which are all based on mathematical equations, to represent images in computer graphics.
brass_ibrahim: The term "vector graphics" is mainly used today in the context of two-dimensional computer graphicsVirtually all modern 3D rendering is done using extensions of 2D vector graphics techniques .Virtually all modern 3D rendering is done using extensions of 2D vector graphics techniques
B:Bit-Mapped or Raster Graphics:
Treats everything that is drawn as a bit-map
If an object is drawn on top of another, it is difficult to move just one of them while
leaving the other untouched
Changing the resolution often requires considerable touch-up work
Relatively large file size
Examples: gif, jpg, bmp
masood.tariq: Bit-Mapped or Raster Graphics:
Treats everything that is drawn as a bit-map
If an object is drawn on top of another, it is difficult to move just one of them while
leaving the other untouched
Changing the resolution often requires considerable touch-up work
Relatively large file size
Examples: gif, jpg, bmp