CS101 All Past Solved Final Term Papers in one file (19 Papers) By
http://vustudents.ning.com
FINALTERM EXAMINATION Spring 2009
CS101- Introduction to Computing (Session - 2)
Note:- MCQs in Blue are the sure answers and Yellow highlighted are Quarantined
ExamDate:7/2/2009 12:00:00 AM
Time 120
Marks: 75
Question No: 1 ( Marks: 1 ) - Please choose one
__________ breaks down the message to be sent over the internet into packets.
► FTP
► HTTP
► TCP (page.no.317)
► IP
Question No: 2 ( Marks: 1 ) - Please choose one
A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3 (page.no.213)
http://vustudents.ning.com 1
► SMTP
Question No: 3 ( Marks: 1 ) - Please choose one
Aliasing problem can be managed by ____________the size of pixels.
► Reducing (page.no.236)
► Increasing
► Gaining
► Modifying
Question No: 4 ( Marks: 1 ) - Please choose one
Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference (page.no.143)
► Length
► Name
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
http://vustudents.ning.com 2
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
Question No: 8 ( Marks: 1 ) - Please choose one
Command that allows you to recover form mistakes is called __________.
► Clear
► Edit
► Undo
► Break
http://vustudents.ning.com 3
Question No: 9 ( Marks: 1 ) - Please choose one
Automatic machines performing various tasks that were previously done by humans, are called ____________.
► Robotics (page.no.244)
► Computers
► Decision Making Systems
► Autonomous Web Agents
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
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 (page.no.263)
http://vustudents.ning.com 4
Question No: 12 ( Marks: 1 ) - Please choose one
_________ 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
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
http://vustudents.ning.com 5
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
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 (page.no.277)
http://vustudents.ning.com 6
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 (page.no.286)
► Properties
► Methods
► None of the given options
Question No: 20 ( Marks: 1 ) - Please choose one
Processed data is called ________.
► Information
► Data
► Entity
► Attribute
http://vustudents.ning.com 7
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 (page.no.18)
► Internet Application
► HTML
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
http://vustudents.ning.com 8
Question No: 24 ( Marks: 1 ) - Please choose one
Which is NOT true for JavaScript variable name ?
► Student
► Roll_no_1111
► For
► _schedule
Question No: 25 ( Marks: 1 ) - Please choose one
In JavaScript, second element of an array has the index:
► 2
► 0
► 1
► 3
JavaScript Array Basics
5 May 2008 ... In this tutorial you learn what a JavaScript array is, ... The first element hasan index of 0, the second element has an index of 1, ... www.elated.com/articles/javascript-array-basics/ - Cached - Similar -
Question No: 26 ( Marks: 1 ) - Please choose one
Which protocol is used to control other computer from our own computer ?
► FTP
► NNTP
► TELNET (page.no.211)
http://vustudents.ning.com 9
► 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
Recursion - Wikipedia, the free encyclopedia
The function calls itself recursively on a smaller version of the input (n - 1) and multiplies the result of the recursive call by n, until reaching the ... en.wikipedia.org/wiki/Recursion - Cached - Similar -
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
http://vustudents.ning.com 10
► 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
Question No: 31 ( Marks: 1 )
What are the elements of website design? Any one
Question No: 32 ( Marks: 1 )
What kind of information can be stored in a database ?
Question No: 33 ( Marks: 2 )
What is meant by universal access of internet services ?
Question No: 34 ( Marks: 2 )
What is the database?
Question No: 35 ( Marks: 3 )
The event handler attribute consists of three parts. Write about each of them.
Question No: 36 ( Marks: 3 )
http://vustudents.ning.com 11
What is difference between Design and System Architecture?
Question No: 37 ( Marks: 3 )
What are Trojan Horses ?
Question No: 38 ( Marks: 5 )
Differentiate between For and While loop by writing the syntax of both loops.
Question No: 39 ( Marks: 5 )
Suppose we have a big project. Draw hierarchy of the people involved in the project?
Question No: 40 ( Marks: 10 )
Write down output for the following JavaScript code.
a) <script type="text/javascript"> document.write(Math.sqrt(25)); // output ? </script> b) <script type="text/javascript"> document.write(Math.pow(5, 3)); // output ? </script> c) <script type="text/javascript"> document.write(Math.min(5, 3)); // output ? </script>
http://vustudents.ning.com 12
d) <script type="text/javascript"> document.write(Math.max(5, 3)); // output ? </script> e) <script type="text/javascript"> document.write(Math.floor(9.87)); // output ? </script> Question No: 41 ( Marks: 10 ) Is tabular data storage better than flat file data storage? Justify your answer.
http://vustudents.ning.com 13
FINALTERM EXAMINATION
Spring 2009
CS101- Introduction to Computing (Session - 4)
Note:- MCQs in Blue are sure answers and yellow highlighted are Quarantined
Time: 120 min
Marks: 75
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 (page. no.317)
► Transfer control protocol
► Transfer collection protocol
http://vustudents.ning.com 14
Question No: 3 ( Marks: 1 ) - Please choose one
__________ breaks down the message to be sent over the internet into packets.
► FTP
► HTTP
► TCP (Page.no.317)
► IP
Question No: 4 ( Marks: 1 ) - Please choose one
A variable can be _________ in scope.
► Local
► Global
► Either local or global (page.no.204)
► 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 (page.no.213)
http://vustudents.ning.com 15
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 (page.no.228)
► 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
http://vustudents.ning.com 16
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 (page.no229)
► SCRIPT
► TITLE
http://vustudents.ning.com 17
Question No: 12 ( Marks: 1 ) - Please choose one
_________ 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
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 (page.no.281)
http://vustudents.ning.com 18
Question No: 15 ( Marks: 1 ) - Please choose one
In relational database, data store in the form of _____________.
► Tables (page.no.321)
► 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 (page.no.277)
► Industrial Spying
► Industrial Surveillance
Question No: 17 ( Marks: 1 ) - Please choose one
_____________ waits for some time and then launch a function.
► Timeout( )
► setTimeout( )
(page.no.290)
► setTime( )
► setTimeIn( )
http://vustudents.ning.com 19
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 (page.no.294)
► 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 (page.no.296)
Question No: 20 ( Marks: 1 ) - Please choose one
_____________ team consists on the sharpest technical minds in the company.
► Architecture (page.no.302)
► Business Development
► Configuration Management
► Developer
http://vustudents.ning.com 20
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 (page.no.315)
► 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 (page.no.321)
► Information
► DBMS
Question No: 23 ( Marks: 1 ) - Please choose one
Deep Blue was the name of
► computer (page.no.9)
► human
► city
► game
http://vustudents.ning.com 21
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> ( Ref: As HTML is not case sensitive)
► <BODY/>
Question No: 26 ( Marks: 1 ) - Please choose one
_________ is the best known builder for supercomputers.
► Sun
► Cray Research (page.no.21)
► Microsoft
► Apple
http://vustudents.ning.com 22
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 (page.no.305)
► 150 GB
Question No: 29 ( Marks: 1 ) - Please choose one
Blue Pacific is a name of ______ computer.
► Mini
► Desktop
► Micro
► Super (page.no.21)
http://vustudents.ning.com 23
Question No: 30 ( Marks: 1 ) - Please choose one
_________________ are powerful pieces of hardware, but not much useful on their own.
► Microcontrollers
► Microprocessors (page.no.33)
► 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 )
http://vustudents.ning.com 24
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":
http://vustudents.ning.com 25
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?
http://vustudents.ning.com 26
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.
http://vustudents.ning.com 27
· 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:
http://vustudents.ning.com 28
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
http://vustudents.ning.com 29
FINAL TERM EXAMINATION
SPRING 2007
CS101 - INTRODUCTION TO COMPUTING (Session – 3)
Marks: 60
(Time: 150min)
Question No: 1 ( Marks: 1 ) - Please choose one
In Spreadsheets, you can create a relationship between two cells by using _________.
► Numbers
► Text
► Formulas
► None of given option
Question No: 2 ( 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
http://vustudents.ning.com 30
► Randomized Algorithm
Question No: 3 ( Marks: 1 ) - Please choose one
Which of the following command allows you to recover form mistakes in MS Word?
► Clear
► Edit
► Undo
► Break
Question No: 4 ( Marks: 1 ) - Please choose one
A ____________ operating system allows many users to take advantage of the computer's resources, simultaneously
► Single user
► Multi- user
► Single tasking
► Multi tasking
http://vustudents.ning.com 31
Question No: 5 ( Marks: 1 ) - Please choose one
Network Interface Card is an __________ device
► Input
► Output
► Input/Output
► Storage
Question No: 6 ( Marks: 1 ) - Please choose one
The decimal equivalent of binary 1000 is
► 7
► 8
► 9
► 10
Question No: 7 ( Marks: 1 ) - Please choose one
Which of the following is NOT RDBMS software?
► My Sql
► MS Excel
► Oracle
► SQL Server
http://vustudents.ning.com 32
Question No: 8 ( Marks: 1 ) - Please choose one
A computer virus is a
► Software that saves the computer from being damaged.
► Application software that helps to make different type of viruses and worms
► Program that spreads itself and destroys other program
► Program that corrects the problems in your computer
Question No: 9 ( Marks: 1 )
What will be the result of a? a = Math.abs(-23)
► 23
► -23
► 23.0
► 2.3
http://vustudents.ning.com 33
Question No: 10 ( Marks: 1 )
- Please choose one
A Special program required to view swf (Shockwave Flash) files in web Browser is called
► TFlash
► Vflash
► plug-in
► None of the given options
Question No: 11 ( Marks: 8 ) Match the relevant options from the given two columns and write the correct options in Column 3.
Column 1 Column
2 Column 3
1.F Mainframe A. Network Traffic
Computers controller
2.H Mosaic B. Laptop 3.E Operating System C. Micro Processor
4A Router D. Software Piracy
5. G Spread Sheet E. Windows XP
6.B Mobile Computer F. Enterprise Servers 7.C Intel 4004 G. VisiCalc 8.D Cyber Crime H. Web Browser
http://vustudents.ning.com 34
Question No: 12 ( Marks: 12 )
(a) What is the difference between Wisdom and Heuristic?
(b) Differentiate between Cyber crime and Cyber warfare.
(c) What is a Relational Database? Give the names of any three RDBMS softwares?
Question No: 13 ( Marks: 8 )
What do you know about the following ? Describe briefly.
a) Enterprise Resource Planning (ERP) Software
b) Spread Sheet
c) Network Topology
d) SMTP
Question No: 14 ( Marks: 10 )
(a) What is the difference between High level and Low level programming languages? (Marks: 4)
http://vustudents.ning.com 35
(b)What are the following abbreviations stands for
(Marks: 3)
1- VoIP voice over
IP 2- DNS Domain Name System 3- DOS disk operating system
(c) Name three operations that you can perform on a database (Marks: 3)
Question No: 15 ( Marks: 12 )
a) Develop a Web page that prompts the user to enter a name and then print that name five times by using loop. A sample is shown in the figures below.
b) Write down the JavaScript function that is equivalent to the following HTML code? (Marks: 3)
HTML code JavaScript function <FONT size=18> fontsize(18) …
</FONT>
<FONT color=”blue”> fontcolor(blue) …
http://vustudents.ning.com 36
</FONT>
37
<PRE> … </PRE> fixed()
(c) Suggest any three guidelines to make a website more readable? (Marks: 3)
http://vustudents.ning.com
FINALTERM EXAMINATION
Fall 2008
CS101- Introduction to Computing (Session - 2)
Note:- Yellow highlighted is Quarantine option and Blue is Clear
Question No: 1 ( Marks: 1 ) - Please choose one
Which function returns a randomly selected floating point number between 0 and 1 ?
► floor(x)
► ceil(x)
► random()(Correct)
► round(x)
Question No: 2 ( Marks: 1 ) - Please choose one
Functions are also called:
► Heuristics
► Variables
► Arrays
► Subprograms (Correct)
Question No: 3 ( Marks: 1 ) - Please choose one
In JavaScript, each element of array can store data of type
► A Number
► An Array
► A String variable
http://vustudents.ning.com 38
► All of the given choices (Correct)
Question No: 4 ( Marks: 1 ) - Please choose one
The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas (Correct)
► Speed & Storage
Question No: 5 ( Marks: 1 ) - Please choose one
Processed data is called ________.
► Information (Correct)
► Data
► Entity
► Attribute
Question No: 6 ( 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 (Correct)
► Real code & Artificial code
► None of the given options
http://vustudents.ning.com 39
Question No: 7 ( 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 (Correct)
► Membership
► Software
Question No: 8 ( 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: 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 (Correct)
► None of the given options
http://vustudents.ning.com 40
Question No: 10 ( Marks: 1 ) - Please choose one
____________ is in Executive team.
► Project Manager
► CEO (Correct) Page no. 296
► Team Lead
► Developer
Question No: 11 ( Marks: 1 ) - Please choose one
Module level design and unit testing the responsibility of _____________.
► Team Lead
► Developer (Correct)
► Project Manager
► Quality Assurance Expert
Question No: 12 ( Marks: 1 ) - Please choose one
_____________ team is responsible for a project after the specification’s stage till the very end.
► Executive
► Architect
► Development (Correct)
► HR
http://vustudents.ning.com 41
Question No: 13 ( Marks: 1 ) - Please choose one
_____________ waits for some time and then launch a function.
► Timeout( )
► setTimeout( ) (Correct)
► setTime( )
► setTimeIn( )
Question No: 14 ( Marks: 1 ) - Please choose one
Which of the following is NOT an event handler for image object?
► onAbort
► onError
► onLoad
► onUser (Correct)
Question No: 15 ( Marks: 1 ) - Please choose one
______________ is a field that uniquely identifies each record stored in a table.
► Composite Key
► Primary key (Correct)
► Foreign key
► None of the given options
Question No: 16 ( Marks: 1 ) - Please choose one
Distance learning has got a boost due to the ___________.
► Easy communication
http://vustudents.ning.com 42
► Online interactive contents
► Flexibility
► All of the given options (Correct)
Question No: 17 ( 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 (Correct)
Question No: 18 ( Marks: 1 ) - Please choose one
To store rounded number of 8.6 in a variable called "r_number", we write _____________.
► r_number=Maths.round(8.6)
► r_numbers=Maths.rounds(8.6)
► r_number=Math.rounds(8.6)
► r_number=Math.round(8.6) (Correct)
Question No: 19 ( 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
http://vustudents.ning.com 43
Question No: 20 ( Marks: 1 ) - Please choose one
Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference (Correct)
► Length
► Name
Question No: 21 ( Marks: 1 ) - Please choose one
Which is correct?
► onUnload (Correct) (P.no.245)
► onUnLoad
► onUNLOAD
► All of the above
Question No: 22 ( Marks: 1 ) - Please choose one
Capturing events and responding to them is called __________.
► Function Handling
► Event Handling (Correct)
► Event Procedure
► All of the given option
http://vustudents.ning.com 44
Question No: 23 ( Marks: 1 ) - Please choose one
___________ color should be used in background for a good presentation.
► Light
► Dark (Correct)
► Red
► None of the given options
Question No: 24 ( Marks: 1 ) - Please choose one
Which of the following symbol is used for multiple line comments in JavaScript?
► /
► //
► /* (Correct)
► //*
Question No: 25 ( Marks: 1 ) - Please choose one
In JavaScript, what will be the result of the follwoing operation
79%3
► 0
► 1 (Correct)
► 2
► 3
Explanation:- 79 divided by 3 and remainder is 1
http://vustudents.ning.com 45
Question No: 26 ( Marks: 1 ) - Please choose one
A new cell using HTML is added in table row by
► <TC>…</TC>
► <TR>…</TR>
► <TD>…</TD> (Correct) (P.No.54)
► <NC>…</NC>
Question No: 27 ( Marks: 1 ) - Please choose one
TCP stands for ___________.
► Total communication protocol
► Transmission control protocol (Correct)
► Transfer control protocol
► Transfer collection protocol
Question No: 28 ( Marks: 1 ) - Please choose one
What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity (Correct)
http://vustudents.ning.com 46
Question No: 29 ( Marks: 1 ) - Please choose one
It represents the ________________ flow chart element.
► Process
► Input or Output (correct) P.no.105
► Decision
► Connector
Question No: 30 ( Marks: 1 ) - Please choose one
Vacuum tubes were replaced by ___
► Punch cards
► Transistors (Correct) P.no.14
► Micro Processors
► Resistors
Question No: 31 ( Marks: 1 )
When does recursion occur?
Possible Answer:-
The power of recursion evidently lies in the possibility of defining an infinite set of objects by a finite statement.
http://vustudents.ning.com 47
Question No: 32 ( Marks: 1 )
What are the types of computer network according to the distance between nodes ?
Answer:
There are two types of networks.
1. LAN (Local Area Network)
2. WAN (Wide Area Network)
Question No: 33 ( Marks: 2 )
What is meant by semantic error ?
Answer:
Occur when a statement executes and has an effect not intended by the programmer and Often times occur only in unusual & infrequent circ*mstances
Question No: 34 ( Marks: 2 )
List down the names of two array methods available in JavaScript.
Answer:
1. sort( ) [sorts elements in alphabetical order]
2. reverse( ) [Reverses the order of elements]
http://vustudents.ning.com 48
Question No: 35 ( Marks: 3 )
How can you define a consistent web design? Why is it needed?
Answer:
A consistent good designed website is generated for general public that allows users to attain what they want as quickly as possible without spending much effort.
A consistent good design assists the user in recovering from errors.
Question No: 36 ( Marks: 3 )
How can we include images in a web page using HTML and Java script?
Answer:
Image in HTML
<IMG src=URL, alt=text height=pixels width=pixels align="bottom|middle|top">
Image in Javascript
Images in JavaScript can be manipulated in many ways using the built-in object Image.
Additional properties to HTML are hspace, vspace & lowsrc.
Example: It can be used by many handlers like, onAbort, onLoad & onError
Question No: 37 ( Marks: 3 )
The event handler attribute consists of three parts. Write about each of them.
Answer :
The identifier of the event handler
http://vustudents.ning.com 49
The equal sign
A string statement enclosed in double or single quotes.
Question No: 38 ( Marks: 5 )
What is a packet in the network environment? What kind of information does it contain?
Answer:
• Packet is data chopped up into pieces in a network environment. • These packets contain information about which computer sent the data and where
the data is going. • If a packet runs into a problem during its trip, it can attempt to find another route.
When all the packets get where they are going, the recipient computer puts them together again.
Question No: 39 ( Marks: 5 )
Suppose we have a big project. Draw hierarchy of the people involved in the project?
Answer:
Please ignore small lines relating Sub Teams to subordinates due to shortage of time. ABCD etc are connected directly to Team Lead 1,2 & 3 accordingly.
Question No: 40 ( Marks: 10 )
Write down HTML and JavaScript code for the following requirements:
Declare an Array with the identifier SUBJECT having length 5. Assign following values to the array elements:
MIS, Java, Algorithms, Databases, C++
Show all values in reverse order.
http://vustudents.ning.com 50
Question No: 41 ( Marks: 10 )
How instant messaging works? Write the steps involved in this process.
Answer:
The Instant Messaging services available allow us to maintain a list of people (contacts) that we interact with regularly. We can send instant messages to any of the contacts in our list as long as that contact is online.
Following steps are involved in IM working.
1. User commences the IM client. 2. IM client finds the IM server & logs in. 3. It launches communication info (IP address, etc) to the IM server. 4. IM server finds user’s contacts & sends him/her the communication info. 5. IM server also notifies the contacts that the user is online; sends his/her
communication info to them. 6. The user’s & the contact’s IM clients are ready to communicate directly (P2P). 7. As new contact has come online, IM server informs them about the user being
online & vice versa. 8. Multiple, real-time chat are possible. 9. When the user logs-off, his/her IM client informs the IM server. 10. IM server wipes away the temporary file and informs the user’s contact’s about
his/her ‘offline’ status.
http://vustudents.ning.com 51
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 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 (page.no.102) ► Greedy algorithm ► both greedy and randomized ► Heuristics 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
http://vustudents.ning.com 52
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. ► 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
Checkbox is not not a tag, input is a tag,
http://vustudents.ning.com 53
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
http://vustudents.ning.com 54
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 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 (page.no.56) ► Both Upward and Downward ► None of the given choices 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 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 Question No: 18 ( Marks: 1 ) - Please choose one Which of the following is NOT a component of IC? ► Transistors ► Diodes ► Resistors ► Vacuum tubes
http://vustudents.ning.com 55
http://vustudents.ning.com 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 ____ Application Software__ ► System Software ► Application Software ► Device ► Utility Question No: 22 ( Marks: 1 ) - Please choose one _ Utility Program refers to the firmware code which is run by an IBM compatible PC when first powered on.
► DOS ► BIOS ► Utility Program ► None of these Question No: 23 ( Marks: 1 ) - Please choose one A computer program that facilitates the communication between the computer and a peripheral device is called____ Language Translator _______ ► Operating system ► Utilities ► Language Translator ► Device Drives 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
If we divide 79 by 3 ,we will get remainder=1 ,
http://vustudents.ning.com 56
Question No: 25 ( Marks: 1 ) - Please choose one Which of the following number system is used by microprocessor? ► Binary ► Decimal ► Octal ► Hexadecimal Question No: 26 ( Marks: 1 ) - Please choose one Web site is collection of related ______ ► Web pages ► Information ► Search Engines ► None of the given choices Question No: 27 ( Marks: 1 ) What BIOS stands for? – Binary Input Output System Question No: 28 ( Marks: 1 ) List down the Analytical Engine's components name (any two) Answer : Google & Netscape,
Question No: 29 ( Marks: 2 ) Why uploading a web page is important? Describe in 2 – 3 lines. Answer : By only uploading webpage we could place our information in order the other can reach up to ready what we load, upload means make available our data or information for the world web browsers Question No: 30 ( Marks: 3 ) What is the difference between microprocessors and microcontrollers? Give one example of both. Answer : The microprocessor is electronic equipment which can perform several function and also processing of data and information present in a computer, while microcontroller can only perform one function for that its design Example Microprocessors _ Pentium 4 Microcontroller _ can be a switch in side the washing machine Question No: 31 ( Marks: 5 ) Differentiate uni-Processor OS from Multi-Processor OS. Answer : The Multiprocessors is when more than one processor is under operation it can be several or may hundreds of the kind to perform one great operation or calculation, while our PC is a kind of uni-processor Question No: 32 ( Marks: 5 ) Why do we call JavaScript an Object-based Language? Answer : Java Script is a language by which we are writing our web-pages, this language is designed to work for web pages
http://vustudents.ning.com 57
FINALTERM EXAMINATION
Spring 2009 Final
CS101- Introduction to Computing (Session - 2)
Question No: 1 ( Marks: 1 ) - Please choose one ---------- was known as “mill” in Analytical engine. ► Memory ► Processor ► Monitor ► Mouse Ref: An arithmetical unit (the "mill") would be able to perform all four arithmetic operations, plus comparisons and optionally square roots. Initially it was conceived as a difference engine curved back upon itself, in a generally circular layout,[2] with the long store exiting off to one side. Question No: 2 ( Marks: 1 ) - Please choose one First electronic computer was ► ABC ( Page No. 14) ► UNVAC 1 ► Harvard Mark 1 ► IBM PC Question No: 3 ( Marks: 1 ) - Please choose one What is NOT a key factor while designing a website? ► Usability ► User-friendly ► Consistency ► Complexity Question No: 4 ( Marks: 1 ) - Please choose one What happens if I start a new list without closing the original one? ► An error will be generated ► A nested list will be created ► Previous list will end and a new will start. ► Nothing will happen Question No: 5 ( Marks: 1 ) - Please choose one The most upper right pixel of the screen is of ___________ color. ► Any ► Red ► Green
http://vustudents.ning.com 58
► Blue
Question No: 6 ( Marks: 1 ) - Please choose one A single pixel can acquire approximately ___________ color schemes. ► 1 million ► 2 million ► 10 million ► 16 million (P.NO.235) Question No: 7 ( Marks: 1 ) - Please choose one The idea of Neural Networks field is based upon ______________. ► Human nature ► Human brain ► Human culture ► Human actions Question No: 8 ( Marks: 1 ) - Please choose one Which one of the following is an application for artificial intelligence? ► Robotic ► Web Agent ► Decision Support System ► All of the given options Question No: 9 ( Marks: 1 ) - Please choose one Register is a kind of ______memory ► Fast ► Super fast ► Slow ► Very slow Question No: 10 ( Marks: 1 ) - Please choose one Which of the following is a true statement? ► Flat-file storage is better than tabular storage. ► Tabular storage is better than flat-file storage. (Page. No 257) ► Flat-file storage is better than relational storage. ► None of the given options Question No: 11 ( Marks: 1 ) - Please choose one substring(n, m) returns a string containing characters copied from position n to___________. ► m – 2 ► m – 1 (Page.no. 270) ► m + 1 ► m
http://vustudents.ning.com 59
Question No: 12 ( Marks: 1 ) - Please choose one The __________ is the old profession which is being eliminated because of computing. ► Typist ► Bank manager ► Operational manager ► All of the given options Question No: 13 ( Marks: 1 ) - Please choose one The system that manages relational database, is called ______________. ► None of the given options ► Database Management System ► Data Management System ► Relational Database Management System (page.no.274) Question No: 14 ( 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: 15 ( 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 (page.no.295) Question No: 16 ( Marks: 1 ) - Please choose one _____________ team consists on the sharpest technical minds in the company. ► Architecture (page.no.300) ► Business Development ► Configuration Management ► Developer Question No: 17 ( Marks: 1 ) - Please choose one TCP stands for ________. ► Transfer Center protocol ► Transmission Control Protocol (page.no.317) ► Transmission Center Protocol
http://vustudents.ning.com 60
► Telephone Center Protocol
Question No: 18 ( 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 (page.no.321) ► Information ► DBMS Question No: 19 ( Marks: 1 ) - Please choose one Microsoft Word is a type of: ► System Software ► Freeware Software ► Shrink-Wrapped Software (page.no.64) ► Custom-built Software Question No: 20 ( Marks: 1 ) - Please choose one Users __________, how things work. ► Analyze in detail ► Muddle through (page.no.170) ► Figure out ► Read in detail Question No: 21 ( 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 (page.no.235) Question No: 22 ( Marks: 1 ) - Please choose one Hardware malfunctions is related to ► Data updates ► Data integrity (page.no.253) ► Data security ► Data accessibility Question No: 23 ( Marks: 1 ) - Please choose one If incorrectly we enter the negative age it is check by ► Limit Integrity (page.no.253) ► Type Integrity ► Referential Integrity ► Physical Integrity Question No: 24 ( Marks: 1 ) - Please choose one Which is the user-friendly way of presenting data ?
http://vustudents.ning.com 61
► Query
► Form ► Report ► All of the given options Question No: 25 ( Marks: 1 ) - Please choose one Currently the BlueRay DVD can store more than ________ of data. ► 10 GB ► 100 GB ► 50 GB (page.no.305) ► 150 GB Question No: 26 ( Marks: 1 ) - Please choose one In JavaScript, a || b is interpreted as ► a is true or b is false ► a is true and b is true ► a is false and b is true ► a is true or b is true or both are true (page.no.148) Question No: 27 ( Marks: 1 ) - Please choose one Speakers fall into the hardware category. ► True ► False Question No: 28 ( Marks: 1 ) - Please choose one onBlur event is occurred for a form element when it ____________
► Gets focus ► Losts focus (page.no.230) ► Some thing is typed in ► onBlur is not an event Question No: 29 ( Marks: 1 ) - Please choose one You can view a 3-D image on a _____________. ► 3-D display ► 2-D display ► On both 2-D and 3-D displays ► We can not view a 3-D image Question No: 30 ( Marks: 1 ) - Please choose one Module level design and unit testing is the responsibility of _____________. ► Team Lead ► Developer (page.no.298) ► Project Manager ► Quality Assurance Expert
http://vustudents.ning.com 62
Question No: 31 ( Marks: 1 )
What is heuristic? Common sense Lesson drawn from experience (Artificial) Intelligent Systems SW programs or SW/HW systems designed to perform complex tasks employing strategies that mimic some aspect of human thought or
• a commonsense rule (or set of rules) intended to increase the probability of solving some problem
• of or relating to or using a general formulation that serves to guide investigation
Question No: 32 ( Marks: 1 ) In programming, what is an object ? Object: A named collection of properties (data, state) & methods (instructions, behavior) Question No: 33 ( Marks: 2 ) What is spreadsheet? List any two jobs that it can do. A spreadsheet is a grid that organizes data into columns and rows. Spreadsheets make it easy to display information, and people can insert formulas to work with the data. Electronic replacement for ledgers Charts financial-forecasting Question No: 34 ( Marks: 2 ) In JavaScript, what is event handling? What are the two types of events? Capturing events and responding to them The system sends events to the program and the program responds to them 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. Question No: 35 ( Marks: 3 )
http://vustudents.ning.com 63
Explain how many ways businesses monitor their employees?
• Systems are available that monitor almost every key stroke that an employee makes on a computer • Systems are available that read and censor all incoming and outgoing eMail • It is quite straight forward to monitor where you surf, and when Question No: 36 ( Marks: 3 ) What is difference between Design and System Architecture?
Only the higher level designs are called System Architecture and lower level designs can not be called system Architecture, and we can also say the every Architecture can be called design but every design can not be called Architecture. (For Reference Listen Lecture No.24) Question No: 37 ( Marks: 3 ) What are the Sub categories of Artificial Intelligence? Briefly explain any two. Expert systems Systems that, in some limited sense, can replace an expert Robotics Automatic machines that perform various tasks that were previously done by humans Example: Pilot-less combat air planes Decision Support Systems: Interactive software designed to improve the decision-making capability of their users Utilize historical data, models to solve problems Question No: 38 ( Marks: 5 ) How many ways are there to call a function in a program ? Explain with example Functions do not run automatically. When the page loads, each function waits quietly until it is told to run C a l l i n g a F u n c t i o n F r o m a n E v e n t H a n d l e r An event handler is a command which calls a function when an event happens, such as the user clicking a button. The command is written in the format onEvent, where Event is the name for a specific action. Here are some common examples: C a l l i n g a F u n c t i o n F r o m A n o t h e r F u n c t i o n function doSomething() { doSomethingElse(); // This line calls the next function }
http://vustudents.ning.com 64
Question No: 39 ( Marks: 5 ) Elaborate the ‘+ ’ operator and its constraints with the help of examples The “+” String Operator The “+” operator can be used to concatenate two strings title = “bhola” + “continental” The value of the variable title becomes “bholacontinental” Question No: 40 ( Marks: 10 ) Write a JavaScript program having two functions sum and mean. The web page will ask the user to enter five values to be added. After taking input it will calculate the sum and mean of those values by calling sum and mean functions. Question No: 41 ( Marks: 10 ) Define the following terms.
Object A named collection of properties(data, state) & methods (instructions, behavior) Event Handler
An event handler is a command which calls a function when an event happens, such as the user clicking a button
Local Variable Declaring variables (using the var keyword) within a function, makes them local•They are available only within the function and hold no meaning outside of it Scope of Variable Defining the space in which a variable is effective is known as defining the scope of a variable. A variable can be either local or global in scope Array An indexed list of elements
http://vustudents.ning.com 65
FINALTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 3)
Time: 120 min
Marks: 75
Question No: 1 ( Marks: 1 ) - Please choose one
First computer network was ___________.
► NSFNET
► FIRSTNET
► ARPANET
► ORPHANET
Question No: 2 ( 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: 3 ( Marks: 1 ) - Please choose one
A function is also called __________.
► Sub-program
http://vustudents.ning.com 66
► Procedure
► Sub-routine
► All of the given option
Question No: 4 ( Marks: 1 ) - Please choose one
A single pixel can acquire approximately ___________ color schemes.
► 1 million
► 2 million
► 10 million
► 16 million
Question No: 5 ( Marks: 1 ) - Please choose one
Which of the following is NOT a Loop statement?
► For
► While
► Switch
► Do-While
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
http://vustudents.ning.com 67
► Working Memory
http://vustudents.ning
Question No: 7 ( Marks: 1 ) - Please choose one
Spread sheet is a type of _______________.
► Productivity software
► Engineering software
► Mathematical software
► Business software
Question No: 8 ( Marks: 1 ) - Please choose one
A combination of word processing and graphic design is
► Corel Draw
► Desktop Publishing
► Paint
► WordPad
Question No: 9 ( 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)
http://vustudents.ning.com 68
► r_number=Maths.round(8.6)
Question No: 10 ( Marks: 1 ) - Please choose one
Which of the following is a true statement?
► Flat-file storage is better than tabular storage.
► Tabular storage is better than flat-file storage.
► Flat-file storage is better than relational storage.
► None of the given options
Question No: 11 ( 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 http://vustudents.ning
Question No: 12 ( Marks: 1 ) - Please choose one
The system that manages relational database, is called ______________.
► None of the given options
► Database Management System
► Data Management System
► Relational Database Management System
http://vustudents.ning.com 69
Question No: 13 ( Marks: 1 ) - Please choose one
____________ DBMS supports data in terabytes.
► Personal
► Desktop
► Enterprise
► Single-user
Question No: 14 ( Marks: 1 ) - Please choose one
Trinoo is a __________ software.
► DoS
► Scanning
► Utility
► None of the given options
Question No: 15 ( Marks: 1 ) - Please choose one
What is the major problem with flash based website?
► Its two heavy
► Cannot be indexed
► Less attractive
► Inaccessible
http://vustudents.ning.com 70
Question No: 16 ( Marks: 1 ) - Please choose one
The organization is the collection of ____________.
► Peoples
► Professionals
► Teams
► Individuals
Question No: 17 ( Marks: 1 ) - Please choose one
The tasks performed to determine the existence of defects is called _______
► Debugging
► Testing
► Repairing
► Coding
Question No: 18 ( 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
http://vustudents.ning.com 71
Question No: 19 ( Marks: 1 ) - Please choose one
Forms can be submitted through _______ & _______ methods
► INCLUDE, POST
► INCLUDE, GET
► GET, POST
► SEND, POST
Question No: 20 ( Marks: 1 ) - Please choose one
If an algorithm is syntactically correct, but semantically incorrect then this situation is
► Very good situation
► Very dangerous situation
► Not very bad
► Neutral situation
Question No: 21 ( Marks: 1 ) - Please choose one
Heuristics _______ lead to the best results.
► Sometimes
► Do not
► Occasionally
► Not always http://vustudents.ning
http://vustudents.ning.com 72
Question No: 22 ( Marks: 1 ) - Please choose one
In TCPIP communication fragmentation is responsibility of
► TCP
► IP
► Both TCP and IP
► Internet
Question No: 23 ( Marks: 1 ) - Please choose one
Access to the internet became easy after the invention of
► WWW & Web Browsers
► Mainframes
► Binary system
► Signals
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
http://vustudents.ning.com 73
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: 26 ( Marks: 1 ) - Please choose one
If incorrectly we enter the negative age it is check by
► Limit Integrity
► Type Integrity
► Referential Integrity
► Physical Integrity
Question No: 27 ( Marks: 1 ) - Please choose one
------------------ is a digital programmable mechanical machine
► Analytical Engine
► Difference Engine
► Harvard Mark 1
► Mechanical engine
Question No: 28 ( Marks: 1 ) - Please choose one
This element of Flow Chart is called_____________.
► Process
http://vustudents.ning.com 74
► Off page connector
► Decision
► Connector
Question No: 29 ( Marks: 1 ) - Please choose one
In a library’s database, if there is an entry in the register for Book # 423 then the corresponding Book must actually exist; is an example of which type of data integrity:
► Type integrity
► Limit integrity
► Physical Integrity
► Referential Integrity
Question No: 30 ( Marks: 1 ) - Please choose one
Ada is a programming language specifically designed for
► Analytical Engine
► Difference Engine
► Harvard Mark 1
► Mechanical engine
Question No: 31 ( Marks: 1 )
What are the elements of website design? Any one
Question No: 32 ( Marks: 1 )
What does TCP/IP stand for?
http://vustudents.ning.com 75
Question No: 33 ( Marks: 2 )
What is the database?
Question No: 34 ( Marks: 2 )
What is the use of Default keyword in switch structure?
Question No: 35 ( Marks: 3 )
How can we include images in a web page using HTML and Java script?
Question No: 36 ( Marks: 3 )
Where "While" loop is more preferable than "For" loop and vice versa ? , explain with the help of example.
Question No: 37 ( Marks: 3 )
What do you mean by FTP or File Transfer Protocol?
Question No: 38 ( Marks: 5 )
Differentiate between For and While loop by writing the syntax of both loops.
Question No: 39 ( Marks: 5 )
Write JavaScript code for the following: http://vustudents.ning
Make a function compareWithTen(value)
Compare the function argument with ‘10’ and display a message whether the value is less than, equal to or greater than 10.
Question No: 40 ( Marks: 10 )
What is the problem with Relational Database and what solution you can suggest for it?
Question No: 41 ( Marks: 10 )
http://vustudents.ning.com 76
Develop a web page that displays six thumbnail images. A main image should change to a larger version of the thumbnail as soon as the mouse moves over a thumbnail image. Write complete HTML and JavaScript code.
FINALTERM EXAMINATION Fall 2009
CS101- Introduction to Computing
Time: 120 min
Marks: 75
Question No: 1 ( Marks: 1 ) - Please choose one
Cray-1 was first commercial _________ computer
► Super
► Mini
► Micro
► Personal
Question No: 2 ( Marks: 1 ) - Please choose one
To improve the time for scannig a web page, text should be ___________.
► Centered
► Left Aligned
► Right Aligned
► Staggered
Question No: 3 ( Marks: 1 ) - Please choose one
__________% of the users have left websites in frustration due to poor navigation.
► 40
► 62
► 83
http://vustudents.ning.com 77
► 91
Question No: 4 ( Marks: 1 ) - Please choose one
_________ routes packets through the internet to get them to their destination.
► FTP
► HTTP
► TCP
► IP
Question No: 5 ( Marks: 1 ) - Please choose one
A variable can be _________ in scope.
► Local
► Global
► Either local or global
► None of the given options
Question No: 6 ( Marks: 1 ) - Please choose one
<UL> tag is used to
► underline text
► end the line
► create ordered list
► create unordered list
http://vustudents.ning.com 78
Question No: 7 ( 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: 8 ( Marks: 1 ) - Please choose one
Word Processor is a _________________
► System Software
► Application Software
► Device
► Utility
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
http://vustudents.ning.com 79
Question No: 10 ( Marks: 1 ) - Please choose one
In tabular storage, fields placed in a particular row are strongly ___________.
► Independent
► Dependent
► Interrelated
► Inconsistent
Question No: 11 ( Marks: 1 ) - Please choose one
country=”Hello Pakistan”;
document.write(country.length);
The out put of the above statement is ____________.
► 12
► 13
► 14
► 15
Question No: 12 ( 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
http://vustudents.ning.com 80
Question No: 13 ( 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: 14 ( Marks: 1 ) - Please choose one
Unlike virus, ___________ is a stand-alone program.
► Trojan horse
► Logic bomb
► Worm
► Time bomb
Question No: 15 ( Marks: 1 ) - Please choose one
Planning and tracking of the project is the responsibility of the___________.
► Architect
► Team Lead
► Developer
► Chief Executive Officer
http://vustudents.ning.com 81
Question No: 16 ( Marks: 1 ) - Please choose one
____________ is in Executive team.
► Project Manager
► CEO
► Team Lead
► Developer
Question No: 17 ( 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
Question No: 18 ( 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
http://vustudents.ning.com 82
Question No: 19 ( Marks: 1 ) - Please choose one
Structures, in which another list starts before the first list is finished, are called:
► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists
Question No: 20 ( Marks: 1 ) - Please choose one
Microsoft Word is a type of:
► System Software
► Freeware Software
► Shrink-Wrapped Software
► Custom-built Software
Question No: 21 ( Marks: 1 ) - Please choose one
To display a radio button on the web page, we use ___ tag
► INPUTBUTTON
► INPUT
► RADIOBUTTON
► RADIO
http://vustudents.ning.com 83
Question No: 22 ( 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: 23 ( Marks: 1 ) - Please choose one
Which is NOT true for JavaScript variable name ?
► Student
► Roll_no_1111
► For
► _schedule
Question No: 24 ( Marks: 1 ) - Please choose one
In JavaScript, first element of an array has the index:
► 1
► -1
► 2
► None of the given choices
http://vustudents.ning.com 84
Question No: 25 ( 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
Question No: 26 ( Marks: 1 ) - Please choose one
JavaScript function fixed() has equivalent HTML tag-set ____
► <.FIX>……………</FIX>
► <F>………………..</F>
► <PRE>………….</PRE>
► <H>………………..</H>
Question No: 27 ( Marks: 1 ) - Please choose one
74HC163 has two enable input pins which are _______ and _________
► ENP, ENT
► ENI, ENC
► ENP, ENC
► ENT, ENI
http://vustudents.ning.com 85
Question No: 28 ( Marks: 1 ) - Please choose one
______________ software directly interacts with the hardware.
► Application software
► System software
► Dynamic software
► Distributed software
Question No: 29 ( Marks: 1 ) - Please choose one
From which of the following is NOT a technique through which Security can be improved :
► Private or virtual-private networks
► Firewalls
► Metal detectors
► Virus detectors
Question No: 30 ( Marks: 1 ) - Please choose one
<script> Number=new Array(5); for(var i=1; i<=5 ; i=i+1) {
for( var k=6; k<=10; k=k+1) { Number[i]= k*i; }
}
http://vustudents.ning.com 86
</script>
For how many times the Nested For Loop shall execute;
► 20
► 15
► 25
► Shall terminate in first loop.
Question No: 31 ( Marks: 1 )
What does NIC stand for?
Question No: 32 ( Marks: 1 )
Name any software which can be used to make a presentation.
Question No: 33 ( Marks: 2 )
How JavaScript Arrays are heterogeneous ?
Question No: 34 ( Marks: 2 )
What is the database?
87
Question No: 35 ( Marks: 3 )
Differentiate between LAN and WAN with one example of each.
Question No: 36 ( Marks: 3 )
What are Trojan Horses ?
http://vustudents.ning.com
Question No: 37 ( Marks: 3 )
What do you mean by FTP or File Transfer Protocol?
Question No: 38 ( Marks: 5 )
In which situation, we use:
i- switch construct
ii- multiple If-else construct
Question No: 39 ( Marks: 5 )
What are the responsibilities and profile of a Team Lead?
Question No: 40 ( Marks: 10 )
Give any five well-known design heuristics for architectural design.
Question No: 41 ( Marks: 10 )
Is tabular data storage better than flat file data storage? Justify your answer.
http://vustudents.ning.com 88
FINALTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 1)
Time: 120 min
Marks: 75
Question No: 1 ( Marks: 1 ) - Please choose one
A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
89
► SMTP
Question No: 2 ( Marks: 1 ) - Please choose one
The browser breaks down the URL into ________ parts.
► 2
► 3
► 4
► 5
http://vustudents.ning.com
Question No: 3 ( Marks: 1 ) - Please choose one
Which one of the following is NOT a primary color?
► Red
► Green
► Yellow
► Blue
Question No: 4 ( Marks: 1 ) - Please choose one
A combination of word processing and graphic design is
► Corel Draw
► Desktop Publishing
► Paint
► WordPad
Question No: 5 ( 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
http://vustudents.ning.com 90
Question No: 6 ( 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: 7 ( 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: 8 ( Marks: 1 ) - Please choose one
When’+’ operator is used with string operands, it _____________ both strings.
► Adds
► Subtracts
► Concatenates
► Compares
http://vustudents.ning.com 91
Question No: 9 ( 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: 10 ( Marks: 1 ) - Please choose one
What is the 2nd step of DoS attack?
► Race
► Arm
► Search
► Attack
Question No: 11 ( Marks: 1 ) - Please choose one
The Information technology has three components ______________.
► Telecom Engineering, Network Engineering, Computer Science
► Telecom Engineering, Computer Engineering, Computer Science
► Telecom Engineering, Computer Engineering, Database Engineering
► Telecom Engineering, Computer Engineering, Hardware Engineering
http://vustudents.ning.com 92
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
There are _________ types of errors.
► 2
► 3
► 4
► 5
Question No: 14 ( Marks: 1 ) - Please choose one
TCP stands for ________.
► Transfer Center protocol
► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol
http://vustudents.ning.com 93
Question No: 15 ( Marks: 1 ) - Please choose one
When the packets reach at destination, __________ reassembles them into original message.
► Protocol
► TCP
► IP
► NIC
Question No: 16 ( Marks: 1 ) - Please choose one
Which one of these is NOT an example of embedded computers?
► IMB PC
► Microwave oven
► Refrigerator
► Calculator
Question No: 17 ( Marks: 1 ) - Please choose one
A _________translates a high-level language (that is easy to understand for humans) into a language that the computer can understand
► Computer
► Transistor
► Compiler
► Device
http://vustudents.ning.com 94
Question No: 18 ( 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: 19 ( Marks: 1 ) - Please choose one
To display a radio button on the web page, we use ___ tag
► INPUTBUTTON
► INPUT
► RADIOBUTTON
► RADIO
Question No: 20 ( 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
http://vustudents.ning.com 95
Question No: 21 ( 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: 22 ( Marks: 1 ) - Please choose one
______ is also known as System Architecture
► High level system design
► Low level system design
► Every system design
► Software Requirement
Question No: 23 ( Marks: 1 ) - Please choose one
Functions are also called:
► Heuristics
► Variables
► Arrays
► Subprograms
http://vustudents.ning.com 96
Question No: 24 ( Marks: 1 ) - Please choose one
Which event handler executes the specified JavaScript code when a window/form element loses focus ?
► onBlur
► onLoad
► onUnload
► onFocus
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
Question No: 26 ( 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
http://vustudents.ning.com 97
Question No: 27 ( Marks: 1 ) - Please choose one
_________________ are powerful pieces of hardware, but not much useful on their own.
► Microcontrollers
► Microprocessors
► Integrated circuits
► Ports
Question No: 28 ( Marks: 1 ) - Please choose one
You can view a 3-D image on a _____________.
► 3-D display
► 2-D display
► On both 2-D and 3-D displays
► We can not view a 3-D image
Question No: 29 ( Marks: 1 ) - Please choose one
From which of the following is NOT a technique through which Security can be improved :
► Private or virtual-private networks
► Firewalls
► Metal detectors
► Virus detectors
http://vustudents.ning.com 98
Question No: 30 ( Marks: 1 ) - Please choose one
In a library’s database, if there is an entry in the register for Book # 423 then the corresponding Book must actually exist; is an example of which type of data integrity:
► Type integrity
► Limit integrity
► Physical Integrity
► Referential Integrity
Question No: 31 ( Marks: 1 )
What does NIC stand for?
Answer: Network Interface Cards.
Question No: 32 ( Marks: 1 )
Why there is a need to use primary key in database ?
Answer: Primary Key is a field that uniquely identifies each record stored in a table.
Question No: 33 ( Marks: 2 )
What is internet?
Question No: 34 ( Marks: 2 )
What is the database?
Question No: 35 ( Marks: 3 )
http://vustudents.ning.com 99
The event handler attribute consists of three parts. Write about each of them.
Question No: 36 ( Marks: 3 )
Where "While" loop is more preferable than "For" loop and vice versa ? , explain with the help of example.
Question No: 37 ( Marks: 3 )
Write JavaScript code to convert the number 236.2363611111556 into currency format and JavaScript statement to show output.
Question No: 38 ( Marks: 5 )
What is the TCP/IP? How it works ?
Question No: 39 ( Marks: 5 )
Write a short note on:
a. Good programming methodology?
b. Correct program
http://vustudents.ning.com 100
Question No: 40 ( Marks: 10 )
Write down JavaScript functions that is equivalent to the following HTML code?
HTML code JavaScript function <FONT size=18>
…
</FONT>
<FONT color=”blue”>
…
</FONT>
<PRE> … </PRE> <A href=URL> …</A> <BIG> … </BIG> <SMALL> … </SMALL> <SUB> … </SUB> <SUP> … </SUP> <B> … </B> <I> … </I>
Question No: 41 ( Marks: 10 )
What are other virus like programs?
http://vustudents.ning.com 101
FINALTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 1)
Question No: 1 ( Marks: 1 ) - Please choose one
Cray-1 was first commercial _________ computer
► Super
► Mini
► Micro
► Personal
Question No: 2 ( Marks: 1 ) - Please choose one
The name of first browser was ______
► Internet Explorer
► Moziac
► Netscape
► Firefox
Question No: 3 ( Marks: 1 ) - Please choose one
The impact of a digit in a number is determined by its ---------------
► Value
► Location
► Length
http://vustudents.ning.com 102
► None of above
Question No: 4 ( Marks: 1 ) - Please choose one
First computer network was ___________.
► NSFNET
► FIRSTNET
► ARPANET
► ORPHANET
Question No: 5 ( Marks: 1 ) - Please choose one
A variable can be _________ in scope.
► Local
► Global
► Either local or global
► None of the given options
Question No: 6 ( Marks: 1 ) - Please choose one
___________ color should be used in background for a good presentation.
► Light
► Dark
► Red
► None of the given options
http://vustudents.ning.com 103
Question No: 7 ( 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
Question No: 8 ( Marks: 1 ) - Please choose one
Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference
► Length
► Name
Question No: 9 ( 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
http://vustudents.ning.com 104
Question No: 10 ( Marks: 1 ) - Please choose one
Fuzzy logic is based on ____________.
► Ground facts
► Experience
► Practice
► Approximation
Question No: 11 ( 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: 12 ( Marks: 1 ) - Please choose one
Tag used to make a Text Bold is __________________
► <BOLD></BOLD>
► <B></B>
► <BODY></BODY>
http://vustudents.ning.com 105
► None of these
Question No: 13 ( Marks: 1 ) - Please choose one
<P> </P> and <BR> tags are not same because
► <p></p> goes to the next line
► <BR> goes to the next after next line
► <P></P> goes to the next after next line
► Both are same
Question No: 14 ( 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: 15 ( Marks: 1 ) - Please choose one
Due to working at home, lack of interaction may result in ___________ professional growth.
► Slower
► Faster
► Higher
► Improved
http://vustudents.ning.com 106
Question No: 16 ( Marks: 1 ) - Please choose one
____________ DBMS supports data in terabytes.
► Personal
► Desktop
► Enterprise
► Single-user
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
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
http://vustudents.ning.com 107
Question No: 19 ( Marks: 1 ) - Please choose one
______ is also known as System Architecture
► High level system design
► Low level system design
► Every system design
► Software Requirement
Question No: 20 ( Marks: 1 ) - Please choose one
The key property of the ‘Array’ object in JavaScript is
► Value
► Length
► Name
► All of the given choices
Question No: 21 ( Marks: 1 ) - Please choose one
There are _________ ways of calling functions.
► One
► Two
► Three
► Four
http://vustudents.ning.com 108
Question No: 22 ( Marks: 1 ) - Please choose one
Which event handler executes the specified JavaScript code when a window/form element loses focus ?
► onBlur
► onLoad
► onUnload
► onFocus
Question No: 23 ( 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
Question No: 24 ( Marks: 1 ) - Please choose one
Hardware malfunctions is related to
► Data updates
► Data integrity
► Data security
► Data accessibility
http://vustudents.ning.com 109
Question No: 25 ( Marks: 1 ) - Please choose one
Users communicate with the computer using a consistent user interface provided by the OS.
► True
► False
Question No: 26 ( Marks: 1 ) - Please choose one
Extension for saving web page is / are;
► *.html
► *.htm
► *.html and *.htm both are in use
► None of These
Question No: 27 ( 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
http://vustudents.ning.com 110
Question No: 28 ( Marks: 1 ) - Please choose one
onBlur event is occurred for a form element when it ____________
► Gets focus
► Losts focus
► Some thing is typed in
► onBlur is not an event
Question No: 29 ( Marks: 1 ) - Please choose one
<script> Number=new Array(5); for(var i=1; i<=5 ; i=i+1) {
for( var k=6; k<=10; k=k+1) { Number[i]= k*i; }
} </script>
For how many times the Nested For Loop shall execute;
► 20
► 15
► 25
► Shall terminate in first loop.
http://vustudents.ning.com 111
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 )
In programming, what is an object ?
Answer: It is a named collection of properties and methods.
Question No: 32 ( Marks: 1 )
What kind of information can be stored in a database ?
Answer:
It can stored numbers, boleans, sound, video, images etc.
Question No: 33 ( Marks: 2 )
Define the key weakness of the web?
Answer:
Initially web was designed only for humans to read not for computers to understand it.
http://vustudents.ning.com 112
Question No: 34 ( Marks: 2 )
How many iterations would this ‘for’ loop run for?
for ( x = 50 ; x < 0 ; x = x - 1 ) {
document.write ( x ) ;
}
Answer:
50 iterations
Question No: 35 ( Marks: 3 )
How can we define a Pixel?
Answer:
It is the smallest element of image which is spread with regular array on display and each element consist of particular color.
Question No: 36 ( Marks: 3 )
Write JavaScript code to convert the number 236.2363611111556 into currency format and JavaScript statement to show output.
Question No: 37 ( Marks: 3 )
Write code in JavaScript to display the odd numbers between 20 to 100 using FOR statement.
http://vustudents.ning.com 113
Note: No need to write whole HTML program. Just JavaScript code of require part is require.
Question No: 38 ( Marks: 5 )
How marketing strategies are changed with the progress in computing? How new marketing strategies are implemented?
Answer:
Marketing Strategy Changes with the new requirements of the modern era and the applications of the business. The web has changed marketing strategy from a mass focus to single person focus. We collected data and analyze accordingly to find out the behavior of the market and end users. In new marketing more advertising is being done through email and web and get feedback.
Question No: 39 ( Marks: 5 )
<script> Number = new Array(5); var abc=4; for(var i=1; i<=5 ; i=i+1) { Number[i]= abc*i; } Number.reverse(); for(j=0;j<5;j=j+1) { document.write(" "+Number[j]+"<BR>"); } </script> A) What should be output of above code? B) Explain the highlighted lines of code? Question No: 40 ( Marks: 10 )
http://vustudents.ning.com 114
Write a brief note on each of the following.
Ø FTP Ø Telnet Ø Instant messaging Ø VoIP
FTP: File Transfer Protocol: This protocol is used to upload and download the files on remote computers.
Telnet: FTP allows file operations only while Telnet can log on to a computer of other users through TCP/IP network and use like a local user, it help in testing of remote web server.
Instant Messaging: This is the service of messaging provided on the internet like MSN messenger, Yahoo messenger, through which we interact people randomly whenever required.
VoIP: Voice over IP, It is used to transmit the voice from one IP to another IP, In which voice is first broken down and then transmitted over a network.
Question No: 41 ( Marks: 10 )
What are Commonsense Guidelines to avoid viruses? Discuss about Antivirus as well.
Answer:
Commonsense Guidelines to avoid viruses are as follows:
1. Do not open attachment of unwanted emails.
2. Don’t used copied/pirated Softwares
3. Regularly place data somewhere as backup
4. Use Registered and Trusted Softwares only.
5. Install Antivirous in the system
6. Update your Windows and softwares with the passage of time.
http://vustudents.ning.com 115
7. Scan before using any external device with your system as USB Device.
Antivirus:
This is the software design for preventing your system from harmful effects and maintain the speed of computer. These softwares are available on the CD’s and DVD’s. These softwares continuously monitor the systems and aware when any harmful virus is detected and asked for the further operations. Some automatically remove the viruses from the system.
http://vustudents.ning.com 116
FINALTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 2)
Time: 120 min
Marks: 75
Question No: 1 ( Marks: 1 ) - Please choose one
Human are better than computers at:
► Accuracy
► Pattern recognition
► None of the given choices
Question No: 2 ( Marks: 1 ) - Please choose one
TCP stands for ___________.
► Total communication protocol
► Transmission control protocol
► Transfer control protocol
► Transfer collection protocol
http://vustudents.ning.com 117
Question No: 3 ( Marks: 1 ) - Please choose one
First computer network was ___________.
► NSFNET
► FIRSTNET
► ARPANET
► ORPHANET
Question No: 4 ( Marks: 1 ) - Please choose one
A user may access any item on the web through __________.
► URL
► Telnet
► POP
► SMTP
Question No: 5 ( Marks: 1 ) - Please choose one
In JavaScript, a variable declaration is
► Optional
► Mandatory
► Not allowed
► None of the given
http://vustudents.ning.com 118
Question No: 6 ( Marks: 1 ) - Please choose one
According to a popular heuristic, success is defined by ___________.
► The user
► The builder
► Both user and builder
► None of the given options
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
random() function returns a randomly-selected, floating-point number between ____________.
► 0 and 1
► 0 and 10
► 0 and -10
► 0 and -1
http://vustudents.ning.com 119
Question No: 9 ( Marks: 1 ) - Please choose one
Trinoo is a __________ software.
► DoS
► Scanning
► Utility
► None of the given options
Question No: 10 ( Marks: 1 ) - Please choose one
Which attribute of the IMG tag tells us about the source of the image ____________.
► source
► path
► loc
► src
Question No: 11 ( Marks: 1 ) - Please choose one
The developer report to ___________ in a development team.
► Team Lead
► Project Manager
► CEO
► IT Manager
http://vustudents.ning.com 120
Question No: 12 ( Marks: 1 ) - Please choose one
The effective way not to only write programs but also it works properly and further more to minimize the time and the development cost of the program is called___________________
► Programming Mechanism
► Programming Methodology
► Programming Synchronization
► None of the given options
Question No: 13 ( Marks: 1 ) - Please choose one
TCP stands for ________.
► Transfer Center protocol
► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol
Question No: 14 ( 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
http://vustudents.ning.com 121
Question No: 15 ( 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: 16 ( Marks: 1 ) - Please choose one
Collection of facts & figures is called ____________.
► Information
► Data
► Entity
► Attribute
Question No: 17 ( 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
http://vustudents.ning.com 122
► DBMS
Question No: 18 ( 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: 19 ( Marks: 1 ) - Please choose one
Using COLSPAN, number of rows of the current cell should extend itself
► Upward
► Downward
► Both Upward and Downward
► None of the given choices
Question No: 20 ( Marks: 1 ) - Please choose one
Microsoft Word is a type of:
► System Software
► Freeware Software
► Shrink-Wrapped Software
► Custom-built Software
http://vustudents.ning.com 123
Question No: 21 ( Marks: 1 ) - Please choose one
Compound Statement after decision constructs in JavaScript is enclosed with
► ( )
► [ ]
► { };
► { }
Question No: 22 ( Marks: 1 ) - Please choose one
Users __________, how things work.
► Analyze in detail
► Muddle through
► Figure out
► Read in detail
Question No: 23 ( Marks: 1 ) - Please choose one
One can send an email message to a remote computer using _______ protocol
► HTTP
► SMTP
► FTP
► TELNET
http://vustudents.ning.com 124
Question No: 24 ( Marks: 1 ) - Please choose one
Writing a response, multiple statements are separated from each other with the help of
► Period ( . )
► Comma ( , )
► Colon ( : )
► Semicolon ( ; )
Question No: 25 ( Marks: 1 ) - Please choose one
With the passage of time the field of Computing and Telecommunication is _____________.
► Diverging
► Converging
► Becoming different
► Becoming unique
Question No: 26 ( Marks: 1 ) - Please choose one
When we have to show value as part of a whole picture, which type of chart is used.
► Bar chart
► Pie chart
► Line graph
► None of the given
http://vustudents.ning.com 125
Question No: 27 ( Marks: 1 ) - Please choose one
______________ software directly interacts with the user.
► Application software
► System software
► Anonymous software
► Interactive software
Question No: 28 ( 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
Question No: 29 ( Marks: 1 ) - Please choose one
In partitioning of program/module, it should be assured that partitioned chunks should be as _________ as possible.
► Dependent
► Independent
► Complex
► All of the above
http://vustudents.ning.com 126
Question No: 30 ( 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>
Question No: 31 ( Marks: 1 )
What are the elements of website design? Any one
Ans:
Elements of webdesign: There are in 3 elements of web design and below are there names:
1. Navigation scheme 2. Overall look and feel 3. Layout of information
http://vustudents.ning.com 127
Question No: 32 ( Marks: 1 )
What kind of information can be stored in a database ?
• Numbers, Booleans, text • Sounds • Images • Video
Question No: 33 ( Marks: 2 )
Why hub is used in networks?
HUB: Hub is networking component which can be used to connect the networks and it can also be used to extend the size of networks.
Simply it can be explained as a common connection point for devices in a network. It contains multiple ports like 8port, 16 port , 23 port hubs
Question No: 34 ( Marks: 2 )
Write names of the DoS attack’s phases?
DoS (Denail of service): DoS attach has in total 3 phases and below they are listed:
1. Search
2. Arm
3. Attack
http://vustudents.ning.com 128
Question No: 35 ( Marks: 3 )
What do you mean by FTP or File Transfer Protocol?
FTP: File transfer protocol was first introduced in 1973; it standardized the transfer of files between computers on a TCP/IP network (e.g internet).
It can download or upload files to a remote computer using the FTP protocol
Operations performed using FTP:
1. List, change, create folders on a remote computer 2. Upload and download files
Usage: Transferring Web content from the developer’s PC to the Web server
Question No: 36 ( Marks: 3 )
How many types of errors can be found during a program developement? List them.
1. Syntax errors 2. Semantic errors 3. Run-time errors
http://vustudents.ning.com 129
Question No: 37 ( Marks: 3 )
Write code in JavaScript to display the odd numbers between 20 to 100 using FOR statement.
Note: No need to write whole HTML program. Just JavaScript code of require part is require.
Question No: 38 ( Marks: 5 )
Why the number of temporary workers are on the rise? Discuss main reasons?
Temporary workers:
Temporary workers are those workers which a company can hire to perform a certain task with in a defined time period.
Temporary workers are mostly consultants which move organization to organization to perform assigned workers.
Reasons:
1. Now-a-days; whole world is suffering from financial crisis, most of the companies have frozen there hiring, just in case they need a resource they are looking for a temporary worker for a specified time span to perform a specialized task and they just pay him for that period of time.
2. Temporary workers are mostly consultants which have expertise in a certain field and they are considered specialists in that field.
3. Employer doesn’t need to train the temporary worker.
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.
Java Script Code:
http://vustudents.ning.com 130
Question No: 40 ( Marks: 10 )
Define network organization? What are important features of network organization? (4+6)
Network Organization :
Network organization is an interfirm organization that is characterized by organic or informal social systems. A company or group of companies that has a minimum of formal structures and relies instead on the formation and dissolution of teams to meet specific objectives..
Features of Network Organization:
1. The organizations are learning that business can be done in a more effective manner if emphasis is placed upon cooperation, shared responsibility and networking:
· Within the organization
· And also with their customers and suppliers
1. Changes according to the demand of the times 2. Works effectively to meet the business goals of the organization 3. Everyone has a feeling that he/she is playing a major role in the organization which
eventually gives a feel of ownership and because of that employee can put his best effort to accomplish a task.
Question No: 41 ( Marks: 10 )
Answer the following questions by looking at the code given below.
1- Which alert box will be displayed if variable 'marks' has value 75?
Ans: alert("Above average performance");
2- What is the range of the marks when the alert box displays the message “Average performance”?
http://vustudents.ning.com 131
Ans: else if (marks > 50 && marks < 60)
{
alert("Average performance");
}
3- What is the range of the marks when the alert box displays the message “That's poor performance”?
Ans: The below mentioned alert box is displayed for all the marks less then or equal to 50
else
{
alert("That's poor performance");
}
4- Which alert box will be displayed if variable 'marks' has the value 100?
Ans: {
alert("You've touched a century");
}
1. if (marks == 100)
2. {
http://vustudents.ning.com 132
3. alert("You've touched a century");
4. }
5. else if (marks >= 80 && marks < 100)
6. {
7. alert("That's good");
8. }
9. else if (marks >= 60 && marks < 80)
10. {
11. alert("Above average performance");
12. }
13. else if (marks > 50 && marks < 60)
14. {
15. alert("Average performance");
16. }
17. else
18. {
19. alert("That's poor performance");
20. }
http://vustudents.ning.com 133
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
http://vustudents.ning.com 134
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
http://vustudents.ning.com 135
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
http://vustudents.ning.com 136
► When you see is when you ge
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
http://vustudents.ning.com 137
► 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
http://vustudents.ning.com 138
► 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
http://vustudents.ning.com 139
► 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
http://vustudents.ning.com 140
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
http://vustudents.ning.com 141
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
http://vustudents.ning.com 142
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
http://vustudents.ning.com 143
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)
http://vustudents.ning.com 144
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.
http://vustudents.ning.com 145
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:
http://vustudents.ning.com 146
FINALTERM EXAMINATION Fall 2009
CS101- Introduction to Computing (Session - 1) Time: 120 min
Marks: 75 Question No: 1 ( Marks: 1 ) - Please choose one Vacuum tubes were replaced by _ ► Transistors __ ► Punch cards ► Transistors ► Micro Processors ► Resistors Question No: 2 ( Marks: 1 ) - Please choose one First electronic computer was ► ABC ► ABC ► UNVAC 1 ► Harvard Mark 1 ► IBM PC Question No: 3 ( Marks: 1 ) - Please choose one To improve the time for scannig a web page, text should be ___ ► Centered ________. ► Centered ► Left Aligned ► Right Aligned ► Staggered Question No: 4 ( Marks: 1 ) - Please choose one JavaScript does not support_► Graphics ______________ ► User interaction ► Graphics ► Network operations ► Both Graphics and Network operations Question No: 5 ( Marks: 1 ) - Please choose one ► Identifier _________ is a container that holds a value. ► Identifier ► Variable ► Function ► Constant
http://vustudents.ning.com 147
Question No: 6 ( Marks: 1 ) - Please choose one The default bullet for the list in HTML is► Circle shape ► Circle shape ► Disc shape ► Square shape ► Triangle shape Question No: 7 ( Marks: 1 ) - Please choose one A single pixel can acquire approximately ► 16 million ___________ color schemes. ► 1 million ► 2 million ► 10 million ► 16 million Question No: 8 ( Marks: 1 ) - Please choose one According to a popular heuristic, success is defined by _ ► The user __________. ► The user ► The builder ► Both user and builder ► None of the given options Question No: 9 ( Marks: 1 ) - Please choose one Which one of the following is NOT a component of Rule Based System? Rule Compiler ► Rule Compiler ► Rule Interpreter ► Rules Base ► Working Memory Question No: 10 ( Marks: 1 ) - Please choose one ► Event processed programs __________ 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
http://vustudents.ning.com 148
Question No: 11 ( Marks: 1 ) - Please choose one The ► Control unit ______ is connected to all other modules of the microprocessor. ► Control unit ► Memory unit ► Floating Point unit ► Arithmetic and Logic unit Question No: 12 ( Marks: 1 ) - Please choose one Which of the followings is NOT a Relational DBMS software. ► FrontPage ► Access ► FrontPage ► FileMaker Pro ► SQL Server Question No: 13 ( Marks: 1 ) - Please choose one random() function returns a randomly-selected, floating-point number between ► 0 and 1____________. ► 0 and 1 ► 0 and 10 ► 0 and -10 ► 0 and -1 Question No: 14 ( Marks: 1 ) - Please choose one __ ► Network ___________ organization is replacing the old-style layered, tree-structured organizational model. ► Network ► Hierarchical ► Matrix ► None of the given options Question No: 15 ( Marks: 1 ) - Please choose one The _ ►Typist _________ is the old profession which is being eliminated because of computing. ►Typist ► Bank manager ► Operational manager ► All of the given options Question No: 16 ( Marks: 1 ) - Please choose one Distance learning has got a boost due to the ► All of the given options ___________.
http://vustudents.ning.com 149
► Easy communication
► Online interactive contents ► Flexibility ► All of the given options Question No: 17 ( Marks: 1 ) - Please choose one What is the 2nd step of DoS attack? ► Search ► Race ► Arm ► Search ► Attack Question No: 18 ( Marks: 1 ) - Please choose one The _ ► Network paradigm ___________ 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 Question No: 19 ( Marks: 1 ) - Please choose one _ ► TCP ____________ routes the packets through the internet to go to their destination. ► Protocol ► TCP ► IP ► NIC Question No: 20 ( Marks: 1 ) - Please choose one Many developers write the► Pseudo code _________ first and then incrementally convert each line into Real code _________. ► Real code & Pseudo code ► Pseudo code & Real code ► Real code & Artificial code ► None of the given options
http://vustudents.ning.com 150
Question No: 21 ( Marks: 1 ) - Please choose one Processed data is called _ ► Information _______. ► Information ► Data ► Entity ► Attribute Question No: 22 ( Marks: 1 ) - Please choose one In a System having many parts to be designed, one should always do the _ ► Simple part ____ first ► Hard part ► Simple part ► Development part ► Quality part Question No: 23 ( Marks: 1 ) - Please choose one One can download or upload files to a remote computer using _ ► TELNET _______ protocol. ► HTTP ► SMTP ► FTP ► TELNET Question No: 24 ( Marks: 1 ) - Please choose one Which one is the example of spreadsheet software ? ► MS Excel ► 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 and connected to the user through TCP/IP network ► TelNet Protocol ► TelNet Protocol and connected to the user through TCP/IP network ► TelNet protocol and FTP ► TCP/IP and FTP
http://vustudents.ning.com 151
Question No: 26 ( Marks: 1 ) - Please choose one Hardware malfunctions is related to ► Data integrity ► Data updates ► Data integrity ► Data security ► Data accessibility Question No: 27 ( Marks: 1 ) - Please choose one With the passage of time the field of Computing and Telecommunication is _ ► Converging ____________. ► Diverging ► Converging ► Becoming different ► Becoming unique Question No: 28 ( Marks: 1 ) - Please choose one Microphone is an input as well as output device. This statement is ► False ► True ► False Question No: 29 ( Marks: 1 ) - Please choose one Application developers do not need to know much about the HW, especially the microProcessor, while they are developing their application. ► True ► True ► False Question No: 30 ( Marks: 1 ) - Please choose one From which of the following is NOT a technique through which Security can be improved : ► Metal detectors ► Private or virtual-private networks ► Firewalls ► Metal detectors ► Virus detectors Question No: 31 ( Marks: 1 ) SMTP stands for what? Ans: Simple Message transfer protocol Question No: 32 ( Marks: 1 )
http://vustudents.ning.com 152
In programming, what is an object ?
Ans: An object is the collection of properties(date,state) ans methods (instruction ,behavior) Question No: 33 ( Marks: 2 ) In which situation we should use Inline Event Handling? Ans:Event handler are palced in the BODY portion of a web page as attributes of HTML tages The event handler attributes consist of 3 parts
a) The equal sign b) The identifier of event handler c) A string consisting of java script statements enclosed in double or single string
Multiple javascript statements can be placed in that string ,but all have to fit in a single line . No new line characters with in line event handling
Inline event handler can be used normally in a condition when we want to execute the eventd direclty and quickly in the same line of code. Question No: 34 ( Marks: 2 ) In JavaScript, what is event handling? What are the two types of events? Ans: In JavaScript capturing of an events and responding to them is event handling. The system sends events to the program and the program responds to them as they arrive. 1. Events can include things a user does - like clicking the mouse. 2. Events that the system itself does - like updating the clock. Question No: 35 ( Marks: 3 ) What is the preferred organizational structure for the organization? ‘ Ans: 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. 1)Executive Team 2) a)business development team b )ArchitecutreTeam c)technology Transfer team 3) a) configuration Management Team
http://vustudents.ning.com 153
b)Process Team
c)Quality assurance Team d)Support team 4) a) development Team A b) development Team B c) development Team C d) development Team D Question No: 36 ( Marks: 3 ) What are the Sub categories of Artificial Intelligence? Briefly explain any two. Ans a)Neural networks: original inspiration was human brainemphasis now usefulness as a computational tool 1) Genetic Algorithms : based on darwins evolutionary principle GA requires the ability to recognize a good solution but not howto get to that solution 2) rulebased systems b) the right techniques Question No: 37 ( Marks: 3 ) Diffentiate Local and Global Variables. Ans: Local Variables: When a function is define the variable use for storing values are incorporated inside the function these variable are found and used only inside these function are called local variable .these have no presence out side the function Global Variables :Global variable on other hand are present through out the script and their values can be access by any function .They global scope Question No: 38 ( 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. Question No: 39 ( Marks: 5 ) What is animated gif? How can we use it? If we animate images in JavaScript then is it better? Ans: It is bit mape image format introduced in 1987by compuserve.It support up to 8 bits per pixel.It also support animation And allow a separate palette of 256 colors for each frame. Uses:We can use it in web site they are suitable for sharp edged line art with limited number of colors.They are good for small animation and low resolution clips.
http://vustudents.ning.com 154
The size is small and on web site they can uploaded and downloaded easily
Question No: 40 ( Marks: 10 ) What is the problem with Relational Database and what solution you can suggest for it? Ans: when we use to store object oriented data into a Relational database it need to be translated in form which is suitable for the relational database. Again when we need to read RDBMs the Data need again back to be translated into object oriented form to read. This two process delay associated processing and time spent in writing and maintaining the translation codes are the key disadvantage with Relational Database . Solution:
Object oriented database Object Relational database
The data should be divided and save in multiple table and tabular form ,so that open ,searching .sorting ,editing and saving of data can be performed quickly. With tabular form one can sort w.r Question No: 41 ( Marks: 10 ) How can we neutralize DoS attack? Can we track the attacker? Ans: Denial of service attempt to make a computer resource unavailable to its Intended user . Easiest way to survive an attack is to have planned for the attack. Good contact with ISP and some security providers and CERT are essential also having a separate emergency block of IP address for Critical servers with a separate rout can be effective. We should use genuine operating system can also be helpful. By using an extremely stateful packet filter that will inexpensively drop any unwanted packet serviving DoS attack Becomes much Easier. We can also use Fierwalls . Using Antivirus softwear Using private net work Using encryption Network Sniffer Intrusion detector By using all these techniques we can neutralize DoS Attack Investigative process should begin immediately after the DoS Attack begins. By using IP address we can Track Attacker.
http://vustudents.ning.com 155
FINALTERM EXAMINATION Fall 2009
CS101- Introduction to Computing (Session - 2) Time: 120 min
Marks: 75 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 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 Question No: 3 ( Marks: 1 ) - Please choose one JavaScript Variables are ____________. ► Dynamically Typed ► Statically Typed ► Strong Typed ► None of the given options 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
http://vustudents.ning.com 156
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 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
http://vustudents.ning.com 157
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 Question No: 15 ( Marks: 1 ) - Please choose one Planning and tracking of the project is the responsibility of the___________. ► Project Manager ► 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
http://vustudents.ning.com 158
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 Question No: 18 ( Marks: 1 ) - Please choose one There are _________ types of errors. ► 2 ► 3 ► 4 ► 5 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
http://vustudents.ning.com 159
Question No: 23 ( Marks: 1 ) - Please choose one
One can browse documents residing on a remote computer using ________ protocol. ► HTTP ► 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 Question No: 26 ( Marks: 1 ) - Please choose one Hardware malfunctions is related to ► Data updates ► Data integrity ► Data security ► Data accessibility 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 Question No: 28 ( Marks: 1 ) - Please choose one Backbone is also called as ________. ► vBNS ► BNS ► vHBNS ► HBNS
http://vustudents.ning.com 160
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 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 ) What is bandwidth? Bandwidth is a capacity of communication channel of carrying data. Question No: 32 ( Marks: 1 ) What is “My Personal Agent”? A computer programe that work automatically and have voice interface Question No: 33 ( Marks: 2 ) For what purposes FTP is used in networks ? To download or upload files / data to a remote computer Question No: 34 ( Marks: 2 ) How can you define a readable program? A program that is easy to read & understand also easy to maintain and enhance. Question No: 35 ( Marks: 3 ) What is the preferred organizational structure for the organization? The Network Organization: It is becoming the preferred organizational structure. Question No: 36 ( Marks: 3 ) How can you define a consistent web design? Why is it needed? A consistent web design is Easy understandable, not with heavy graphics, easy navigation. It is needed because most of the website views leave the site because of poor navigation and not easy to understand, text and design is not clear etc. Question No: 37 ( Marks: 3 )
http://vustudents.ning.com 161
Elaborate Vector or Object oriented graphics with atleast one example.
Vector treats everything that is drawn as object, they are resolution in dependent and relatively small file size. For example swg, svg, wmf. Question No: 38 ( Marks: 5 ) What are the advantages of multimedia presentations? Write any five. Multimedia presentation is a great tool for effective communication: Advantages:
1. Easy to make last minute change 2. More attractive 3. Can include animation, videos etc. 4. Better presentation easy to understandable for participants comparing to manual
presentation. 5. Undo feature
Question No: 39 ( Marks: 5 ) Can a human doctor be replaced by an Expert System? Give reasons to support your answer. Expert System is a computer system which simulates the knowledge and expertise of a human expert. Yes, a human doctor can be replaced by an Expert System. Following are the reasons to support my answer:
1. A large database of knowledge can be added to and kept up to date, it can store more knowledge than a person.
2. The Expert System cannot FORGET or get facts wrong. 3. It survives forever. There is no loss of knowledge as there is when a doctor retires. 4. The Expert System can access specialist knowledge that a doctor may not have.
Question No: 40 ( Marks: 10 ) Explain the following issues of Data Management? (3+4+3) 1. Data entry 2. Data updates 3. Data security DATA ENTRY:There is new data entered every day. New customers are added every day. Some of the data entry requires the manual entry into computer system New data entry needs to be entered correctly DATA UPDATES:Old titles must be removed regularly Data changes every time Prices change Transportation / shipping cost changes Customer personal data changes
http://vustudents.ning.com 162
Schemes changing, new offers
Every new entry needs to be entered correctly DATA SECURITY:All data in the system is very critical to its operation, the security of the customer’s personal data is most important. Most of the hackers are always trying for that type of information specially Credit Card Numbers. This problem can be managed by using proper security arrangements and mechanisms that provides access to only authorized entities. System Security can be improved through, encryption, firewalls and updated Antivirus Softwares Question No: 41 ( Marks: 10 ) Write a note on the followings
a. Image Preloading process b. Animated Gifs
IMAGE PRELOADING PROCESS: The primary use of image preloading process is to download the image into the cache before it is actually needed to display. PROCESS:1. An example of the image object is shaped using the NEW keyword 2. The src property of this instance is set equal to the filename of the image to be pre-loaded 3. This step starts the down-loading of the image into the cache without actually displaying 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 pre fetched image ANIMATE GIFS: We can save 16 gif images of the previous example in a single file in the form of an animated gif, and then used it in a regular <IMG> tag to display a moving image. However, JavaScript provide better control over the sequencing and the gap between the individual images.
http://vustudents.ning.com 163
FINALTERM EXAMINATION Fall 2009
CS101- Introduction to Computing (Session - 4) Question No: 1 ( Marks: 1 ) - Please choose one Success of a website is defined by ____________. ► User correct is user ► Designer x ► Developer ► Programmer Question No: 2 ( Marks: 1 ) - Please choose one Which one is correct for JavaScript? ► onMouseOver ► OnMouseOver ► onmouseover ► All of the given Question No: 3 ( Marks: 1 ) - Please choose one An indexed list of elements is called _____________. ► Collection ► Array ► Set ► Group Question No: 4 ( Marks: 1 ) - Please choose one ________ is the way that internet domain names are located and translated into IP addresses. ► FTP ► VoIP ► DNS ► TCP Question No: 5 ( Marks: 1 ) - Please choose one The browser breaks down the URL into ________ parts. ► 2 ► 3 ► 4 ► 5 Question No: 6 ( Marks: 1 ) - Please choose one Which one of the following is not an event handler's attribute? ► Function
http://vustudents.ning.com 164
► Identifier
► Equal sign ► String consisting of JavaScript statements Question No: 7 ( Marks: 1 ) - Please choose one JavaScript Variables are ____________. ► Dynamically Typed ► Statically Typed ► Strong Typed ► None of the given options Question No: 8 ( Marks: 1 ) - Please choose one Which of the following is NOT a Loop statement? ► For ► While ► Switch ► Do-While Question No: 9 ( Marks: 1 ) - Please choose one According to a popular heuristic, success is defined by ___________. ► The user ► The builder ► Both user and builder ► None of the given options Question No: 10 ( Marks: 1 ) - Please choose one Which one of the following is an application for artificial intelligence? ► Robotic ► Web Agent ► Decision Support System ► All of the given options Question No: 11 ( 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
http://vustudents.ning.com 165
Question No: 12 ( 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: 13 ( Marks: 1 ) - Please choose one Which of the followings is NOT a Relational DBMS software. ► Access ► FrontPage ► FileMaker Pro ► SQL ServerQuestion No: 14 ( Marks: 1 ) - Please choose one country=”Hello Pakistan”; document.write(country.length); The out put of the above statement is ____________. ► 12 ► 13 ► 14 ► 15 Question No: 15 ( Marks: 1 ) - Please choose one The distance among families is ___________ because of spending more time on internet. ► Increased ► Expanded ► Contracted ► Decreased Question No: 16 ( 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 Question No: 17 ( Marks: 1 ) - Please choose one Planning and tracking of the project is the responsibility of the___________. ► Architect ► Team Lead ► Developer ► Chief Executive Officer
http://vustudents.ning.com 166
Question No: 18 ( Marks: 1 ) - Please choose one ___________ has great PR skills. ► Architect ► Team Lead ► Project Manager ► Chief Executive Officer Question No: 19 ( Marks: 1 ) - Please choose one _____________ team is responsible for a project after the specification’s stage till the very end. ► Executive ► Architect ► Development ► HR Question No: 20 ( Marks: 1 ) - Please choose one A large number of networks interconnected physically is called ______ ► LAN ► MAN ► Internet ► Network collection Question No: 21 ( Marks: 1 ) - Please choose one Efficiency is ______ to universality ► Equal ► Direct proportional ► Inversely proportional ► Not proportional Question No: 22 ( Marks: 1 ) - Please choose one There are _________ ways of calling functions. ► One ► Two ► Three ► Four Question No: 23 ( Marks: 1 ) - Please choose one Which protocol is use to transfer a file over the network ? ► UDP ► FTP ► TCP ► OSI Question No: 24 ( Marks: 1 ) - Please choose one Writing a response, multiple statements are separated from each other with the help of
http://vustudents.ning.com 167
► Period ( . )
► Comma ( , ) ► Colon ( : ) ► Semicolon ( ; ) Question No: 25 ( 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 Question No: 26 ( Marks: 1 ) - Please choose one ______________ has the ability to automate and simplify daily tasks. ► Productivity software ► Application software ► System software ► Graphical software Question No: 27 ( Marks: 1 ) - Please choose one Which representation technique of algorithm is more suitable for developer to make actual code___________. ► pseudo code ► flow chart ► both pseudo code and flow chart ► Heuristics Question No: 28 ( Marks: 1 ) - Please choose one _____________ is used to terminate all JavaScript statements. ► Colon ► Semicolon ► Underscore ► Apostrophe
http://vustudents.ning.com 168
Question No: 29 ( Marks: 1 ) - Please choose one CONCATENATE operator is used to____________ elements. ► Subtract ► Multiply ► Join ► Add Question No: 30 ( Marks: 1 ) - Please choose one In partitioning of program/module, it should be assured that partitioned chunks should be as _________ as possible. ► Dependent ► Independent ► Complex ► All of the above Question No: 31 ( Marks: 1 ) What is the out put of the following JavaScript code ? name=”Ali Akbar”; document.write(name.charAt(4)) ; Ans. A Question No: 32 ( Marks: 1 ) What does WAN stand for? Wide Area Network – A network in which computers are separated by great distances typically across cities or even continents. Question No: 33 ( Marks: 2 ) Why hub is used in networks? The network traffic controller – components of convential computer networks. Hub is used to connect the different computers in the network i.e. to the server. Question No: 34 ( Marks: 2 ) What is output of the following JavaScript code ?
Str=”Virtual University of Pakistan”; document.write(str.substring(5,str.length)) ; Question No: 35 ( Marks: 3 ) Explain how many ways businesses monitor their employees?
http://vustudents.ning.com 169
Systems are available that monitor or most every key stroke that an employee makes on computer. Systems are available that read and sensor all incoming
and outgoing email. It is quite straight forward to monitor where you surf and when. Question No: 36 ( Marks: 3 ) Diffentiate Local and Global Variables. Local or function level variable effective only in the function in which they are declared while globale variables visible everywhere on the webpage. Declaration variables using the var keyword within a function makes them local. They are available only within the function and hold no meaning outside of vs global. Question No: 37 ( Marks: 3 ) Elaborate Vector or Object oriented graphics with atleast one example. Treats everything that is drawn an object. Objects retain their identity after their drawn. These objects can later be easily moved stretched duplicated deleted etc are resolution independent relatively small size. e. g. swf, wmf, Question No: 38 ( Marks: 5 ) Show output of the following code: for (i=0; i<=10; i++) { document.write("The number is " + i); document.write("<br />"); } The number is 0 The number is 1 The number is 2 The number is 3 The number is 4 The number is 5 The number is 6 The number is 7 The number is 8 The number is 9 The number is 10
http://vustudents.ning.com 170
Question No: 39 ( Marks: 5 ) Why should we, as computing professionals, be interested in studying the social implications of our creations? This is imp. Because of keeping the track of money wise while implementation actually and see the results. This fits with the organization or no. to check there is any side effects morally or no. we have to be very careful while creation of any system., error free, data loose recovery. Etc. Question No: 40 ( Marks: 10 ) Write responsibilities of the followings 1. Developer
a) Module level design. b) Coding c) Unit testing
2. Executive Team a) Responsible for the day to day operations. b) All the decision related issues. c) Policy making and changing etc. e.g. In this usually CEO and CMSO involves 1. He is responsible for the day to day operation and great organizational skills. 3. Support Team The support team is responsible for the complete operations such as arrangement for performing any kind of task from the starts to the end. Fully project handling and performing etc. In case of any maintenance they are the responsible for commencing the job and making sure to complete.
http://vustudents.ning.com 171
Question No: 41 ( Marks: 10 ) Write HTML and JavaScript code for the requirements shown in the diagram below. When ConvertoUpperCase button is pressed, the entered text is converted to upper case and result is displayed in the result text box. Similarly, when ConvertoLowerCase button is pressed, the entered text is converted to lower case and result is displayed in the result text box.
http://vustudents.ning.com 172
173
CS101- Introduction to Computing (Session - 1)
Time: 120 min
Marks: 75
stion No: 1 ( Marks: 1 ) - Please choose one
FINALTERM EXAMINATION
Fall 2009
Que
Website design should NOT be __________.
► Unified
► Complex
► Consistent
► Predictable
Question No: 2 ( Marks: 1 ) - Please choose one
Navigation should remain __________.
► Consistent
► Conflicting
► Contradictory
► Unpredictable
Question No: 3 ( Marks: 1 ) - Please choose one
__________ is a program that executes instructions line by line written in a high-l language. leve
http://vustudents.ning.com
174
don
► Interpreter
► Compiler
► Predictor
► Executor
Question No: 4 ( Marks: 1 ) - Please choose one
Detailed plan, specifying the required resources and expected deliverables, is e in ________ phase.
► Planning
► User Requirements
Specification
mes.
► Design
► Developer
Question No: 5 ( Marks: 1 ) - Please choose one
A single pixel can acquire approximately ___________ color sche
► 1 million
► 2 million
► 10 million
► 16 million
Question No: 6 ( Marks: 1 ) - Please choose one
aScript?
► Numbers
Which of the following data types are recognized by Jav
http://vustudents.ning.com
► Strings
175
efined ► Und
► All of the given options
No: 7 ( Marks: 1 ) - Please choose one
ording to heuristic, if you can’t explain it in ____________ minutes, either you don’t understand it or it does not work.
► 10
► 2
Question
Acc
http://vustudents.ning.com
► 5
► 4
Question No: 8 ( Marks: 1 ) - Please choose one
The idea of Neural Networks field is based upon ______________.
► Human nature
► Human brain
► Human culture
► Human actions
Question No: 9 ( Marks: 1 ) - Please choose one
Fuzzy logic is based on ____________.
► Ground facts
► Experience
► Practice
► Approximation
176
No: 10 ( Marks: 1 ) - Please choose one
eil(12.01)
e value of a ?
Question
a = Math.c
What will be th
► 12
► 13
► 12.0
► 13.01
Question No: 11 ( Marks: 1 ) - Please choose one
ich of the followings is NOT a Relational DBMS software. Wh
► Access
► FrontPage
► FileMaker Pro
► SQL Server
Question No: 12 ( 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
d, Poorer
tter
► Increase
http://vustudents.ning.com
► Increased, Be
177
- Please choose one
en web server is busy it gives the following message to the user :
Question No: 13 ( Marks: 1 )
Wh
► Time out
► Waiting
► Server busy
e given options
- Please choose one
oo is a __________ software.
► None of th
Question No: 14 ( Marks: 1 )
Trin
► DoS
► Scanning
► Utility
► None of the given options
- Please choose one
Question No: 15 ( Marks: 1 )
We use ___________ to stop Break-Ins.
► Scanners
► Intrusion detectors
► Utilities
► None of the given options
Question No: 16 ( Marks: 1 ) - Please choose one
Spies of one business monitoring the network traffic of their competitors’ ________. ___
http://vustudents.ning.com
► Industrial Intelligence
178
► Industrial Espionage
► Industrial Spying
► Industrial Surveillance
Question No: 17 ( Marks: 1 ) - Please choose one
One of the key responsibilities of the ___________ is client relationship agement. man
► Project Manager
► Team Lead
► Developer
ality Assurance Engineer
No: 18 ( Marks: 1 ) - Please choose one
re are _________ types of errors.
► Qu
Question
The
► 2
► 3
► 4
► 5
Question No: 19 ( Marks: 1 ) - Please choose one
important attribute of image tag is ________________. The
► src
► image
http://vustudents.ning.com
► None of the given options
► alt
179
- Please choose one
me, Border , Source are the ____________ of the image object.
Question No: 20 ( Marks: 1 )
Na
► Event Handler
► Properties
► Methods
► None of the given options
Question No: 21 ( Marks: 1 ) - Please choose one
____________ breaks down the message, to be sent over the internet, into kets. pac
► Protocol
► TCP
► IP
► NIC
Question No: 22 ( 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
ication ► Internet Appl
http://vustudents.ning.com
► HTML
180
( Marks: 1 ) - Please choose one
ground color in HTML, using ___ attribute of <body>
Question No: 23
We can change the back
► background
► bgcolor
► backcolor
► backgroundcolor
Question No: 24 ( Marks: 1 ) - Please choose one
Application developers do not need to know much about the_________ while are developing their applications they
► Software
► Hardware
► Operating System
25 ( Marks: 1 ) - Please choose one
er computer is turned ON, the Loader loads _________ into the memory.
ager
► Kernel
Question No:
Aft
► Hardware
► Device Manager
► File Man
► Kernel
http://vustudents.ning.com
Question No: 26 ( Marks: 1 ) - Please choose one
181
ers look for ________ solution. Us
► Optimal
► First good enough
► Good
► Best
Question No: 27 ( Marks: 1 ) - Please choose one
rdware malfunctions is related to Ha
► Data updates
► Data integrity
► Data security
► Data accessibility
Question No: 28 ( Marks: 1 ) - Please choose one
aScript function fixed() has equivalent HTML tag-set ____
Jav
► <.FIX>……………</FIX>
► <F>………………..</F>
► <PRE>………….</PRE>
/H>
Question No: 29 ( Marks: 1 ) - Please choose one
e key feature of computer which is against human nature?
► <H>………………..<
What is th
http://vustudents.ning.com
► Can’t get bored.
► Pattern recognition
► Repetition
( Marks: 1 ) - Please choose one
wn into simpler components and analyze.
► None
Question No: 30
___________ means to break do
► Recursion
► Parsing
► Scope
t?
imple Mail Transfer Protocol
By Email Filtering
We can download or upload files to remote computers on a TCP/IP Network
► Navigation
Question No: 31 ( Marks: 1 )
SMTP stands for wha
S
Question No: 32 ( Marks: 1 )
How can we stop mail bombing attack ?
Question No: 33 ( Marks: 2 )
http://vustudents.ning.com 182
For what purposes FTP is used in networks ?
Question No: 34 ( Marks: 2 )
How can you define a readable program?
A program which is easy to read and understand and easy to maintain and enhance.
Question No: 35 ( Marks: 3 )
183
hat is the preferred organizational structure for the organization?
preferred organizational plan which is replaced by old layered, tree structured organizational model. People think that business
eration, shared responsibility and networking within the organization and also outside the
and knowledge and
decentralizes the control of the operation so that network works effectively and
uestion No: 36 ( Marks: 3 )
AN with one example of each.
same building or some nearly located buildings. Example is Network of a university or college.
etwork) A network which is scattered in a very big area even to the other cities or countries. It may consist of many LANs also. Internet is the be
Question No: 37 ( Marks: 3 )
Differentiate between onLoad and onUnload
onLoad executes the specified JavaScript code when a new document is loaded into a window.
the specified JavaScript code when a user exits a document.
W
The network paradigm is the
can be done in more effective manner if more emphasis on coop
organization. The structure of the networked organization is flexible changeable according to the requirements of the user• It shares
business may achieve goals of the organization
Q
Differentiate between LAN and W
LAN(local Area network) A network within a
WAN (Wide Area N
st example of WAN.
http://vustudents.ning.com
onUnload executes
184
uestion No: 38 ( Marks: 5 )
tem.
2. Robots
Function is a group of statements which is defined once in a web page and d repeatedly. It is also known as procedure, subprograms and
subroutine. By using functions codes becomes easier to understand and number ed. It is easy to maintain a function because we make a
single change in a function and it reflects on multiple locations.
It is a comma separated list of data. It defines interface between the web page nction. Arguments values are passed to the function by value or by
reference. It should be defined in the HEAD portion of Web pages before called .
= a + b ;
turn c ;
Q
Mention any five applications of Artificial Intelligent Sys
1. Medical Diagnosis
3. Games 4. Business Intelligence 5. Image Recognition
Question No: 39 ( Marks: 5 )
Explain function arguments with the help of an example?
can be use
of lines are also reduc
and the fu
up
Example:
Function add( a, b ) {
c
re
}
sum = add( 2, 4 ) ;
document. write( sum ) ;
http://vustudents.ning.com
Question No: 40 ( Marks: 10 )
185
Wh
Data integrity is the maintaining, consistency and correctness of the data. Consistency means there should be no conflict between data items and
rrectness is the freedom of error. It means there should be no error in the given data. Data should be interrelated also and easy to access the required dat
There are many ways to integrate data.
1. Limit Integrity: By limiting the values of data items to specified ranges to prevent illegal values. Age of person should not be negative is the best
1. Type Integrity is enforced by specifying the type of a data item. Using credit cards we need to enter exactly 12 digits. More are less are not allowed.
data for m and it must exist in the database. Reservation of a flight
is the example.
Question No: 41 ( Marks: 10 )
Define network organization? What are portant features of network organization? (4+6)
at is Data Integrity? How can we ensure it (any three ways) ? (4+6)
co
a.
example.
1. Referential Integrity is implemented by an item referenced by thesome other ite
im
http://vustudents.ning.com
186
FINALTERM EXAMINATION
Fall 2009
ing
Time: 120 min
Marks: 75
1 ) - Please choose one
e was a/an
ian
lease choose one
variable can be _________ in scope.
► Global
ven options
CS101- Introduction to Comput
Question No: 1 ( Marks:
Charles Babbag
► Mathematician
► Computer Scientist
► Physic
► Analyst
Question No: 2 ( Marks: 1 ) - P
A
► Local
► Either local or global
► None of the gi
http://vustudents.ning.com
187
rks: 1 ) - Please choose one
_________ is a meaningful, easy-to-remember ‘label’ for an IP address.
► Domain name
: 1 ) - Please choose one
hich one is NOT a presentation software?
► CA Harvard Graphics
s: 1 ) - Please choose one
______.
andling
cedure
f the given option
Question No: 3 ( Ma
A
► TCP address
► Network name
► VoIP
Question No: 4 ( Marks
W
► MS Access
► Corel Presentation
► Lotus Freelance
Question No: 5 ( Mark
Capturing events and responding to them is called ____
► Function Handling
► Event H
► Event Pro
http://vustudents.ning.com
► All o
188
: 6 ( Marks: 1 ) - Please choose one
ule of thumb learned through trial and error is called ___________.
► Heuristic
7 ( Marks: 1 ) - Please choose one
the old days, databases did NOT support ____________.
► Boolean
: 1 ) - Please choose one
he ______ is connected to all other modules of the microprocessor.
► Memory unit
Logic unit
Question No
R
► Design
► Aim
Question No:
► Number
► Video
► Text
Question No: 8 ( Marks
► Control unit
► Arithmetic and
► Plan
In
T
► Floating Point unit
http://vustudents.ning.com
189
( Marks: 1 ) - Please choose one
rongly ___________.
► Independent
d
sistent
: 10 ( Marks: 1 ) - Please choose one
_________ function returns the largest integer that is less than or equal to x.
► floor
► abs(x)
Question No: 11 ( Marks: 1 ) - Please choose one
Due to working at home, contact with the colleagues is __________, which may sult in __________ quality of work
► Reduced, Better
sed, Better
Question No: 9
In tabular storage, fields placed in a particular row are st
► Dependent
► Interrelate
Question No
► round(x)
► Incon
_
► ceil
re
► Reduced, Poorer
► Increased, Poorer
► Increa
http://vustudents.ning.com
190
12 ( Marks: 1 ) - Please choose one
ribal flood network is a ___________ software.
► Scanning
► 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 estination account, is called ___________.
en options
) - Please choose one
pionage, we use__________.
► Encryption
► All of the given options
Question No:
T
► DoS
► Utility
d
► DoS Attack
► Break-Ins
► Mail Bombing
► All of the giv
Question No: 14 ( Marks: 1
To stop industrial es
► Private network
► Network sniffer
http://vustudents.ning.com
191
( Marks: 1 ) - Please choose one
_____ is a stand-alone program.
► Trojan horse
► Worm
Question No: 16 ( Marks: 1 ) - Please choose one
Smart editors can automatically color different parts of statements in different lors e.g. comments in ____________ color.
( Marks: 1 ) - Please choose one
_________ of the image object.
► Event Handler
Question No: 15
Unlike virus, ______
► Logic bomb
► Time bomb
co
► Green
► Grey
► Blue
► Red
Question No: 17
onAbort , onError are the ______
http://vustudents.ning.com
► Properties
► Methods
192
► None of the given options
Question No: 18 ( Marks: 1 ) - Please choose one
Quantum Mechanics is the branch of ________; which describes the activity of les
► Chemistry
► Physics
Question No: 19 ( Marks: 1 ) - Please choose one
Communication protocol is a __________that governs the flow of information
► Set of protocols
► Device
uestion No: 20 ( Marks: 1 ) - Please choose one
ans in terms that it is:
subatomic partic
► Computer Science
► Biology
over a network
► Set of rules
► Set of methods
Q
Web is a unique invention by hum
► accessible to only the owners who control it
http://vustudents.ning.com
193
► accessible from particular locations only
► accessible to all humans
► accessible to only the educational institutes
: 21 ( Marks: 1 ) - Please choose one
ple of server-side scripts on Unix servers.
► ASP
► VBScript
hoose one
for JavaScript variable name ?
► Student
► Roll_no_1111
► For
Question No
_____ is the exam
► CGI
► JavaScript
Question No: 22 ( Marks: 1 ) - Please c
Which is NOT true
► _schedule
http://vustudents.ning.com
194
uestion No: 23 ( Marks: 1 ) - Please choose one
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
Q
User can remotely log on to a computer and can have a control over it like a
http://vustudents.ning.com
195
5 ( Marks: 1 ) - Please choose one
urns 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
bar
( Marks: 1 ) - Please choose one
e field of Computing and Telecommunication is _____________.
► Diverging
► Converging
► Becoming different
► Becoming unique
Question No: 2
Which function ret
► Text bar
► Character
Question No: 27
http://vustudents.ning.com
With the passage of time th
196
) - Please choose one
llowing is NOT true about modern computers?
► More powerful
► Costly
Question No: 29 ( Marks: 1 ) - Please choose one
Mathematical functions in JavaScript, are accessed by referring to various ject.
► Math
► Compute
hoose one
An algorithm that always takes the best immediate or local solution while finding _______________
► Deterministic Algorithm
► Randomized Algorithm
Question No: 28 ( Marks: 1
Which of the fo
► Smaller in size
► Consume less energy
methods of the _____________ ob
► Calculate
► None of the given options
Question No: 30 ( Marks: 1 ) - Please c
an answer is called______
► Non deterministic Algorithm
► Greedy Algorithm
http://vustudents.ning.com
197
uestion No: 31 ( Marks: 1 )
Question No: 32 ( Marks: 1 )
What are the types of computer network according to the distance between
ure?
es of using Functions in a program.
Q
SMTP stands for what?
nodes?
Question No: 33 ( Marks: 2 )
What is the Data Normalization? Also define its goal.
Question No: 34 ( Marks: 2 )
What is the use of Default keyword in switch struct
Question No: 35 ( Marks: 3 )
What is the difference between Internet and Intranet ?
Question No: 36 ( Marks: 3 )
Write down three advantag
http://vustudents.ning.com
198
ks: 3 )
uestion No: 38 ( Marks: 5 )
- multiple If-else construct
ist any five issues of Data Management.
How can you make your website's structure more navigable?
Question No: 41 ( Marks: 10 )
Define network organization? What are important features of network organization? (4+6)
Question No: 37 ( Mar
What are Trojan Horses ?
Q
In which situation, we use:
i- switch construct
ii
Question No: 39 ( Marks: 5 )
L
Question No: 40 ( Marks: 10 )
http://vustudents.ning.com
199
FINALTERM EXAMINATION
omputing (Session - 2)
Time: 120 min
Marks: 75
1 ) - Please choose one
ters are:
► Mainframe Computers
dded Computers
( Marks: 1 ) - Please choose one
is defined by ____________.
► User
► Programmer
3 ( Marks: 1 ) - Please choose one
breaks down the message to be sent over the internet into packets.
► FTP
Fall 2009
CS101- Introduction to C
Question No: 1 ( Marks:
Most frequently used compu
► Personal Computers
► Supper Computers
► Embe
Question No: 2
Success of a website
► Designer
► Developer
Question No:
__________
http://vustudents.ning.com
► HTTP
► TCP
► IP
200
► User interaction
► Both Graphics and Network operations
Question No: 5 ( Marks: 1 ) - Please choose one
Detailed plan, specifying the required resources and expected deliverables, is __ phase.
► Planning
r Specification
- Please choose one
ntain____________.
► Heading
► Phrases not sentences
Question No: 4 ( Marks: 1 ) - Please choose one
JavaScript does not support_______________
► Graphics
► Network operations
done in ______
► User Requirements
► Design
► Develope
Question No: 6 ( Marks: 1 )
In a good presentation each slide should co
http://vustudents.ning.com
► Sentences not phrases
► Heading, sentences not phrases
201
7 ( Marks: 1 ) - Please choose one
he following is NOT a primary color?
► Green
Question No: 8 ( Marks: 1 ) - Please choose one
Spread sheet is a type of _______________.
► Productivity software
► Engineering software
► Mathematical software
( Marks: 1 ) - Please choose one
sed with string operands, it _____________ both strings.
► Subtracts
Question No:
Which one of t
► Red
► Yellow
► Blue
► Business software
Question No: 9
When’+’ operator is u
► Adds
http://vustudents.ning.com
► Concatenates
► Compares
202
0 ( Marks: 1 ) - Please choose one
busy it gives the following message to the user :
► Waiting
Question No: 11 ( Marks: 1 ) - Please choose one
Which attribute of the IMG tag tells us about the source of the image ___.
ce
► path
Question No: 12 ( Marks: 1 ) - Please choose one
The ____________ is becoming the preferred organizational structure for more he passage of time.
nal model
► Network paradigm
Question No: 1
When web server is
► Time out
► Server busy
► None of the given options
_________
► sour
► loc
► src
and more organizations with t
► Tree structured organizatio
► Hierarchical structure
http://vustudents.ning.com
► None of the given options
Question No: 13 ( Marks: 1 ) - Please choose one
The Information technology has three components ______________.
► Telecom Engineering, Network Engineering, Computer Science
203
► Telecom Engineering, Computer Engineering, Computer Science
abase Engineering
uter Engineering, Hardware Engineering
( Marks: 1 ) - Please choose one
PR skills.
► Team Lead
Question No: 15 ( Marks: 1 ) - Please choose one
_____________ errors are caused by the code that somehow violates the rule of
► Semantic
: 16 ( Marks: 1 ) - Please choose one
► Telecom Engineering, Computer Engineering, Dat
► Telecom Engineering, Comp
Question No: 14
___________ has great
► Architect
► Project Manager
► Chief Executive Officer
the language.
► Syntax
► Run time
► Load time
http://vustudents.ning.com
Question No
204
of networks interconnected physically is called ______
► MAN
Question No: 17 ( Marks: 1 ) - Please choose one
When the packets reach at destination, __________ reassembles them into ssage.
col
► TCP
Question No: 18 ( Marks: 1 ) - Please choose one
A collection of data organized in such a way that the computer can quickly data item is known as :
ng
► Database
Question No: 19 ( Marks: 1 ) - Please choose one
If an algorithm is syntactically correct, but semantically incorrect then this
A large number
► LAN
► Internet
► Network collection
original me
► Proto
► IP
► NIC
search for a desired
► Retrievi
► Information
► DBMS
http://vustudents.ning.com
situation is
205
n
► Very dangerous situation
( Marks: 1 ) - Please choose one
Lessons” are drawn from
► Experience
s: 1 ) - Please choose one
r ________ solution.
al
► First good enough
2 ( Marks: 1 ) - Please choose one
rty of the ‘Array’ object in JavaScript is
► Length
► Very good situatio
► Not very bad
► Neutral situation
Question No: 20
In Heuristics “Common Sense
► History
► Biography of Scientists
► General knowledge
Question No: 21 ( Mark
Users look fo
► Optim
► Good
► Best
Question No: 2
The key prope
► Value
http://vustudents.ning.com
► Name
► All of the given choices
206
( Marks: 1 ) - Please choose one
ent of array can store data of type
► An Array
arks: 1 ) - Please choose one
T true for JavaScript variable name ?
► Roll_no_1111
No: 25 ( Marks: 1 ) - Please choose one
cript, second element of an array has the index:
► 0
Question No: 23
In JavaScript, each elem
► A Number
► A String variable
► All of the given choices
Question No: 24 ( M
Which is NO
► Student
► For
► _schedule
Question
In JavaS
► 2
► 1
http://vustudents.ning.com
► 3
207
: 26 ( Marks: 1 ) - Please choose one
col is use to transfer a file over the network ?
► FTP
Question No: 27 ( Marks: 1 ) - Please choose one
Users communicate with the computer using a consistent user interface ided by the OS.
Question No: 28 ( Marks: 1 ) - Please choose one
Data was stored and counted mechanically using ----------- decimal storage ------ rotary dial switches.
► 1300,1400
► 30100,14100
Question No
Which proto
► UDP
► TCP
► OSI
prov
► True
► False
wheels, ---------------
► 300,400
► 3000 , 1400
http://vustudents.ning.com
208
( Marks: 1 ) - Please choose one
ing is NOT a technique through which Security can be improved :
► Private or virtual-private networks
► Firewalls
► Metal detectors
► Virus detectors
Question No: 30 ( Marks: 1 ) - Please choose one
Data integrity, in Database management system is necessary because it:
► Refers to provide security to the data
► Refers to provide security to the data
► Refers to maintaining the correctness of data
efers to maintaining the consistency of the data
ng to the distance between nodes ?
Question No: 32 ( Marks: 1 )
What is an IP address ?
Question No: 33 ( Marks: 2 )
What is internet?
Question No: 29
From which of the follow
► R
Question No: 31 ( Marks: 1 )
http://vustudents.ning.com
What are the types of computer network accordi
Question No: 34 ( Marks: 2 )
209
fine semantic web with respect to the present web?
lain how many ways businesses monitor their employees?
w can you define a consistent web design? Why is it needed?
ferentiate between onLoad and onUnload
ks: 5 )
role of usability in the design of a website?
stion No: 39 ( Marks: 5 )
Debugging
De
Question No: 35 ( Marks: 3 )
Exp
Question No: 36 ( Marks: 3 )
Ho
Question No: 37 ( Marks: 3 )
Dif
Question No: 38 ( Mar
What is the
Que
Write a short note on:
a. Testing
b.
Question No: 40 ( Marks: 10 )
http://vustudents.ning.com
Write responsibilities of the followings
1. Developer
2. Executive Team
3. Support Team
210
Question No: 41 ( Marks: 10 )
Write down HTML and JavaScript code for the following requirements:
Declare an Array with the identifier SUBJECT having length 5. Assign following values to the array elements:
MIS, Java, Algorithms, Databases, C++
Show all values in reverse order.
http://vustudents.ning.com
211
FINALTERM EXAMINATION
Fall 2009
CS101- Introduction to Computing
Time: 120 min
Marks: 75
actor while designing a website?
► Usability
► Consistency
Marks: 1 ) - Please choose one
e for scannig a web page, text should be ___________.
► Centered
► Left Aligned
► Staggered
Question No: 1 ( Marks: 1 ) - Please choose one
What is NOT a key f
► User-friendly
► Complexity
Question No: 2 (
To improve the tim
► Right Aligned
http://vustudents.ning.com
212
( Marks: 1 ) - Please choose one
llowing number system is used by microprocessor?
► Binary
► Decimal
► Hexadecimal
( Marks: 1 ) - Please choose one
tation software?
► MS Access
► CA Harvard Graphics
► Corel Presentation
► Lotus Freelance
Question No: 3
Which of the fo
► Octal
Question No: 4
Which one is NOT a presen
http://vustudents.ning.com
213
( Marks: 1 ) - Please choose one
_____.
► Sub-program
► Procedure
► All of the given option
( Marks: 1 ) - Please choose one
ing data types are recognized by JavaScript?
► Undefined
► All of the given options
Question No: 7 ( Marks: 1 ) - Please choose one
The __________ reserved word allows a determined action to be taken if the first e.
► For
► Else
Question No: 5
A function is also called _____
► Sub-routine
Question No: 6
Which of the follow
► Strings
► Numbers
condition is fals
► While
http://vustudents.ning.com
► Switch
214
( Marks: 1 ) - Please choose one
d through _____________.
iness can be done in a more effective on ___________.
► Cooperation
► All of the given options
Marks: 1 ) - Please choose one
► 1 hour
Question No: 8
Security can also be improve
► Encryption
► Typing errors
► Transmission errors
► Hardware malfunctions
Question No: 9 ( Marks: 1 ) - Please choose one
The organizations are learning that busmanner if emphasis is placed up
► Shared responsibility
► Networking
Question No: 10 (
After the DoS attack in year 2000, Yahoo servers were recovered in __________.
► 2 hours
► 3 hours
► 4 hours
http://vustudents.ning.com
215
( Marks: 1 ) - Please choose one
he following message to the user :
► Time out
of the given options
12 ( Marks: 1 ) - Please choose one
___ software.
► DoS
► None of the given options
Question No: 13 ( Marks: 1 ) - Please choose one
Spies of one business monitoring the network traffic of their competitors’
► Industrial Intelligence
► Industrial Espionage
► Industrial Spying
Question No: 11
When web server is busy it gives t
► Waiting
► Server busy
► None
Question No:
Tribal flood network is a ________
► Scanning
► Utility
___________.
► Industrial Surveillance
http://vustudents.ning.com
216
( Marks: 1 ) - Please choose one
ject is the responsibility of the___________.
► Architect
► Team Lead
► Chief Executive Officer
lease choose one
rams but also it works properly and further more to minimize the time and the development cost of the program is
► Programming Mechanism
e given options
1 ) - Please choose one
solve a problem is called _______.
► Algorithm
► Operating System
► None of the given options
Question No: 14
Planning and tracking of the pro
► Developer
Question No: 15 ( Marks: 1 ) - P
The effective way not to only write prog
called___________________
► Programming Methodology
► Programming Synchronization
► None of th
Question No: 16 ( Marks:
Sequence of steps that is taken to
► Application software
http://vustudents.ning.com
217
rks: 1 ) - Please choose one
ct?
► <BODY></BODY>
body></body>
► <BODY/>
Please choose one
► To overcome BUS speed
ome CPU speed
( Marks: 1 ) - Please choose one
se Lessons” are drawn from
► History
► Experience
► General knowledge
Question No: 17 ( Ma
Which one is corre
► <body></body>
► Both <BODY></BODY> and <
Question No: 18 ( Marks: 1 ) -
In which case Cache Memory is used
► To increase RAM speed
► To overcome Speed rate between RAM and CPU
► To overc
Question No: 19
In Heuristics “Common Sen
► Biography of Scientists
http://vustudents.ning.com
218
uestion No: 20 ( Marks: 1 ) - Please choose one
many parts to be designed, one should always do the _____
Q
In a System having
http://vustudents.ning.com
first
► Hard part
► Simple part
► Development part
► Quality part
Question No: 21 ( Marks: 1 ) - Please choose one
The key property of the ‘Array’ object in JavaScript is
► Value
► Length
► Name
► All of the given choices
Question No: 22 ( Marks: 1 ) - Please choose one
One can send an email message to a remote computer using _______ protocol
► HTTP
► SMTP
► FTP
► TELNET
219
Marks: 1 ) - Please choose one
nction calls itself.
n
Marks: 1 ) - Please choose one
s is related to
► Data integrity
► Data security
► Data accessibility
Question No: 25 ( Marks: 1 ) - Please choose one
With the passage of time the field of Computing and Telecommunication is _____________.
► Diverging
► Converging
► Becoming different
► Becoming unique
Question No: 23 (
______ occurs when a fu
► Recursio
► Call by value
► Call by reference
► Parsing
Question No: 24 (
Hardware malfunction
http://vustudents.ning.com
► Data updates
http://vustudents.ning.com 220
Question No: 26 ( Marks: 1 ) - Please choose one
______________ software directly interacts with the hardware.
► Application software
► System software
► Dynamic software
► Distributed software
Question No: 27 ( Marks: 1 ) - Please choose one
When the microprocessor desires to look at a piece of data, it checks in the __________ first.
► RAM
► ROM
► hard disk
► cache
Question No: 28 ( Marks: 1 ) - Please choose one
By today's standards, the Mark-I was slow and requiring 3 to 5 seconds for a multiplication operation.
► True
► False
http://vustudents.ning.com 221
Question No: 29 ( Marks: 1 ) - Please choose one
In partitioning of program/module, it should be assured that partitioned chunks should be as _________ as possible.
► Dependent
► Independent
► Complex
► All of the above
Question No: 30 ( Marks: 1 ) - Please choose one
Ada is a programming language specifically designed for
► Analytical Engine
► Difference Engine
► Harvard Mark 1
► Mechanical engine
Question No: 31 ( Marks: 1 )
What is an Array?
Question No: 32 ( Marks: 1 )
What are the other names of function? Any one.
http://vustudents.ning.com 222
Question No: 33 ( Marks: 2 )
What is meant by semantic error ?
Question No: 34 ( Marks: 2 )
Which benefits a developer can achieve by following the heuristics for system architecting?
Question No: 35 ( Marks: 3 )
How can you define a consistent web design? Why is it needed?
Question No: 36 ( Marks: 3 )
Define Primary key and Queries
Question No: 37 ( Marks: 3 )
Briefly describe Holographic Storage.
Question No: 38 ( 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: 39 ( Marks: 5 )
What is Robotics? How Robots making our daily and industrial life easy?
Question No: 40 ( Marks: 10 )
Write down the output of the following lines of JavaScript code?
a) <script type="text/javascript"> document.write(Math.round(5.92)) </script> b) <script type="text/javascript"> var name="Muhammad Abdul Bashir"
http://vustudents.ning.com 223
document.write(name.length) </script> c) <script type="text/javascript"> var str="This is my test string" document.write(str.charAt(9)) </script> d) <script type="text/javascript"> var str="VU Learning Management System " document.write(str.indexOf("system")+"<br />") </script> e) <script type="text/javascript"> var str="Virtual University of Pakistan" document.write(str.substr(23)) </script> Question No: 41 ( Marks: 10 ) Write down HTML and JavaScript code for the following requirements: Declare an Array with the identifier SUBJECT having length 5. Assign following values to the array elements: MIS, Java, Algorithms, Databases, C++ Show all values in reverse order.