CS101 OLD paper 2010



Question No: 1 ( Marks: 1 ) - Please choose one
Which of the following hardware component of a computer can also be called as engine?
► Bus
► Storage
► Memory
► Processor

Question No: 2 ( Marks: 1 ) - Please choose one
TCP stands for ___________.
► Total communication protocol
► Transmission control protocol
► Transfer control protocol
► Transfer collection protocol

Question No: 3 ( Marks: 1 ) - Please choose one
 __________ breaks down the message to be sent over the internet into packets.


► FTP
► HTTP
► TCP
► IP

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

Question No: 5 ( Marks: 1 ) - Please choose one
A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP

Question No: 6 ( Marks: 1 ) - Please choose one
A function is also called __________.
► Sub-program
► Procedure
► Sub-routine
► All of the given option

Question No: 7 ( Marks: 1 ) - Please choose one
Capturing events and responding to them is called __________.
► Function Handling
► Event Handling
► Event Procedure
► All of the given option

Question No: 8 ( Marks: 1 ) - Please choose one
Which one of the following is NOT a primary color?
► Red
► Green
► Yellow
► Blue

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
a = Math.ceil(12.01)


What will be the value of a ?


► 12
► 13
► 12.0
► 13.01

Question No: 11 ( Marks: 1 ) - Please choose one
Event handlers are placed in the ___________ portion of a Web page as attributes in HTML tags.
► HEAD
► BODY
► SCRIPT
► TITLE

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 options

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

Question No: 15 ( Marks: 1 ) - Please choose one
In relational database, data store in the form of _____________.
► Tables
► Rows
► Columns
► None of the given options

Question No: 16 ( Marks: 1 ) - Please choose one
Spies of one business monitoring the network traffic of their competitors’ ___________.
► Industrial Intelligence
► Industrial Espionage
► Industrial Spying
► Industrial Surveillance

Question No: 17 ( Marks: 1 ) - Please choose one
 _____________ waits for some time and then launch a function.
► Timeout( )
► setTimeout( )
► setTime( )
► setTimeIn( )

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

Question No: 20 ( Marks: 1 ) - Please choose one
 _____________ team consists on the sharpest technical minds in the company.
► Architecture
► Business Development
► Configuration Management
► Developer

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

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

Question No: 23 ( Marks: 1 ) - Please choose one
Deep Blue was the name of
► computer
► human
► city
► game

Question No: 24 ( Marks: 1 ) - Please choose one
 Information available on the web is
► mostly free of cost
► costly
► very cheap
► of no use

Question No: 25 ( Marks: 1 ) - Please choose one
Which one is correct?


► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>

Question No: 26 ( Marks: 1 ) - Please choose one
 _________ is the best known builder for supercomputers.
► Sun
► Cray Research
► Microsoft
► Apple

Question No: 27 ( Marks: 1 ) - Please choose one
Which one is the example of spreadsheet software ?
► MS Word
► MS PowerPoint
► MS Excel
► MS Access

Question No: 28 ( Marks: 1 ) - Please choose one
Currently the BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB
► 150 GB

Question No: 29 ( Marks: 1 ) - Please choose one
Blue Pacific is a name of ______ computer.
► Mini
► Desktop
► Micro
► Super

Question No: 30 ( Marks: 1 ) - Please choose one
 _________________ are powerful pieces of hardware, but not much useful on their own.
► Microcontrollers
► Microprocessors
► Integrated circuits
► Ports

Question No: 31 ( Marks: 1 )
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.

Question No: 32 ( Marks: 1 )
What are the other names of function? Any one.
Routine , procedure , sub prograam

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

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



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

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

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


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.

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

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

}



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

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:
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 graphics Virtually 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



28 objectives were from old papers out of 30.


What is Array? Marks 2
what is computer prrofessional? Marks 2
define onLoad and onUnload? Marks 2
waht is time bomb? Marks 2
what is bandwidth? Marks 2
"while" loop is more preferable than "For" loop? Marks 3
sementic web and present web? Marks 3
can we replace a human doctor by Expert system? Marks 5
Difference Internt and intranet? Marks 5
ways of navigation Heuristics? Marks 5
event handling?


Define network organization and its advantages? Marks 10


Coding Guidline and guidlines for short programs? Marks 10


Dewelop a web page that displays six thumbnails
images. A main image should be changed to a large
version of thumbnail as soon as the mouse moves
over the thumbnail. Write complete html and java script? Marks 10


characteristics of Internet? Marks 10


Profile and responsibilities of Team Leader? Marks 10


due to computer how many jobs are available and
how many jobs are eliminated? Marks






Today was my CS101 Paper. The Subjective Quizzes are as under:


1. How many members are in operational team and what there key resposibilities


2. What is Computer Screen?


3. What are weaknesses of the web?


4. Characteristics of Internet (Any Five)?


5. Breifly describe
Telnet
VoIP
Instant Messaging
FTP
IP/TCP
6. Describe the organizational structure?


7. What is image process


8. Pixel?




Today I had CS 101 Paper.There were 41 questions.30 objective and 11 descriptive.Few of the questions were:
3 attributes of event handler
Difference between Internet and Intranet
Function
Commonsense to avoid viruses and explain antivirus
TCP/IP
An attack on Yahoo servers
Spreadsheets
Codes for uploading file
Hierarchy in an organization
Team lead
COO
Developer
Businessess monitoring their employees
'+' operator
Image in Javascript




No comments:

Post a Comment