CLICK HERE FOR VARIOUS NEW JOBS 
CLICK HERE FOR VARIOUS EDUCATIONAL NEWS 
CLICK HERE FOR NEW SCHOLARSHIPS 
CLICK HERE FOR ADMISSION NOTICES 
Click And Follow On Google+ To Get Updates
Please Wait 10 Seconds... OR You CanSkip

ADMISSION NOTICES
Scholarships

Scholarship-300x291

BUDGET 2014-15
budget_2014-2015
New Date Sheets
VU SOLVED ASSIGNMENTS
Recent Posts

Posts Tagged ‘Introduction to Computing’

VU CS101 – Introduction to Computing FinalTerm solved unsolved past Papers Spring 2010

VU CS101 – Introduction To Computing FinalTerm Solved Unsolved Past Papers Spring 2010

CS101 Introduction to Computing

Due Date:

FINAL TERM PAPERS

SOLVED MCQS

Feb.9 , 2011
MC100401285   MOAZ SIDDIQ

 

FINALTERM EXAMINATION

 

Spring 2010 Final

CS101- Introduction to Computing (Session – 2)

 

Question No: 1 ( Marks: 1 )  – Please choose one
Human are better than computers at:
► Efficiency ► Accuracy ► Pattern recognitio ► None of the given choices
Question No: 2 ( Marks: 1 )  – Please choose one
Cray-1 was first commercial _________ computer
► Super ► Mini ► Micro ► Personal
Question No: 3 ( Marks: 1 )  – Please choose one
URL is a/an ________ ► Address ► Tool
► Device ► Component
Question No: 4 ( Marks: 1 )  – Please choose one
Mainframe Computers are also called _____
► Enterprise Servers   ► Personal Servers ► Enterprise Managers   ► Window Servers
Question No: 5 ( Marks: 1 )  – Please choose one
Which of the following is NOT a category of Mobile Computers?
► Laptop ► Palmtop ► Desktop ► Wearable
Question No: 6 ( Marks: 1 )  – Please choose one

Preliminary exploration of possible solutions, technologies, suppliers is called

► Viability   ► Feasibility   ► Specification   ► Integration

 

Question No: 7  ( Marks: 1 )  – Please choose one

 

__________ give us the ability to manipulate data through reference instead of actual value.

► Constants ► Variables ► Data Types ► Operators
Question No: 8 ( Marks: 1 )  – Please choose one
Consider the following statement written in JavaScript:
str = ”Hello” + ” World”
What will be the value of str ?
► HelloWorld ► Hello World ► Hello + World ► It will result in error
Question No: 9 ( Marks: 1 )  – Please choose one

 

 

A tool that helps you to find the synonyms is called ______________.

► Language

► Paragraph ► Thesaurus ► Symbol

Question No: 10

( Marks: 1 )  – Please choose one

Communication protocol is a __________that governs the flow of information over a network ► Set of protocols ► Set of rules ► Device ► Set of methods

 

Question No: 11  ( 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: 12  ( Marks: 1 )  – Please choose one

 

The first Web browser with a GUI was generally available in: ► 1992 ► 1993 ► 1994 ► 1995

 

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

 

Web is a unique invention by humans in terms that it is:

►  accessible to only the owners who control it

►  accessible from particular locations only

►  accessible to all humans

 

►  accessible to only the educational institutes

 

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

 

In this URL http://www.msn.com , _____identifies the domain name

► http   ► www   ► msn

► com

Question No: 15  ( Marks: 1 )  -

Please choose one

______ is simply a fast port that lets you connect computer peripherals and consumer electronics to

your computer without restart. ► Firewire ► Firmware
► Freeware ► Shareware
Question No: 16 ( Marks: 1 )  – Please choose one

Which of the following is NOT supported by PC’s power supply.

► -12 and +12 V DC   ► -10 and +10 V DC   ► -5 and + 5 V DC   ► All are supported

 

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

 

In which case Cache Memory is used

►  To increase RAM speed

►  To overcome BUS speed

►  To overcome Speed rate between RAM and CPU

 

►  To overcome CPU speed

 

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

 

To display a single line text area on the web page, we use ___ tag

 

 

► TEXT

► TEXTBOX INPUT   ► INPUTBOX

Question No: 19

( 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: 20  ( Marks: 1 )  – Please choose one

 

Users communicate with the computer using a consistent user interface provided by the OS.

► True   ► False

 

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

 

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

 

The first spread sheet program was invented by

► Charles Babbage   ► Dan Bricklin   ► Paul Graham   ► John von Neumann

 

Question No: 23  ( 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: 24 ( Marks: 1 ) - Please choose one
_____________ is used to terminate all JavaScript statements.
► Colon Semicolon ► Underscore ► Apostrophe
Question No: 25 ( Marks: 1 ) - Please choose one

In java script cookies can be created for future use_____.

►  Easily

►  No facility at all

►  This is not possible without Java language.

 

►  Cookies are files so java script can not handle it.

 

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

►  There is no built in approach in Java Script

 

Question No: 2 ( 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: 3 ( Marks: 1 )  – Please choose one
The Encryption of data is related to
► Data updates Data security ► Data integrity ► Data accessibility
Question No: 4 ( Marks: 1 )  – Please choose one
Which protocol is use to transfer a file over the network ?
► UDP FTP ► TCP ► OSI
Question No: 5 ( Marks: 1 )  – Please choose one
One can send an email message to a remote computer using _______ protocol
► HTTP SMTP ► FTP ► TELNET
Question No: 6 ( Marks: 1 )  – Please choose one
In a System having many parts to be designed, one should always do the _____ first
Hard part ► Simple part ► Development part ► Quality part
Question No: 7 ( 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: 8  ( Marks: 1 )  – Please choose one

 

___ provides a simple, consistent way for applications to interact with the HW without having to know all the details of the HW

 

► Explorer.exe ► System Files ► Operating System  Application Software
Question No: 9 ( Marks: 1 ) - Please choose one
Machine language is also called
► Assembly Language ► Binary Language ► High Level Language ► HTML Language
Question No: 10 ( Marks: 1 ) - Please choose one
_________ is the best known builder for supercomputers.
► Sun Cray Research ► Microsoft ► Apple

 

 

 

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

 

The weaknesses of the computer are:

►  Pattern recognition & Storage

►  Speed & Innovative ideas

►  Pattern recognition & Innovative ideas

 

►  Speed & Storage

 

Question No: 12 ( Marks: 1 ) - Please choose one
Communication protocol is a __________that governs the flow of information over a network
► Set of methods ► Set of protocols Set of rules ► Device
Question No: 13 ( 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: 14 ( Marks: 1 )  – Please choose one
_____________ team consists on the sharpest technical minds in the company.
Architecture ► Business Development ► Configuration Management  ► Developer
Question No: 15 ( Marks: 1 )  – Please choose one
_______________ is responsible for day to day operations.
► CEO COO ► CMSO ► Developer
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
What is the major problem with flash based website?
► Its two heavy ► Cannot be indexed ► Less attractive ► Inaccessible
Question No: 18 ( Marks: 1 )  – Please choose one
Which of the following is NOT an event handler for image object?
► onAbort ► onError ► onLoad ► onUser
Question No: 19 ( Marks: 1 )  – Please choose one

The organizations are learning that business can be done in a more effective manner if emphasis is placed upon

___________.

Shared responsibility ► Networking ► All of the given options

► Cooperation

 

 

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

 

It represents the _____________ flow chart element.

 

 

 

► Flow Line ► Connector ► Off-page connector Start or Stop
Question No: 2 (Marks: 1)  – Please choose one What is NOT a key
factor while designing a website?
► Usability ► User-friendly ► Consistency

Complexity

Question No: 3 (Marks: 1)  – Please choose one __________% of the
users have left websites in frustration due to poor navigation.
► 40 ► 62 83

► 91

Question No: 4 (Marks: 1)  – Please choose one In JavaScript, a
variable declaration is
Optional ► Mandatory ► Not allowed ► None of the given
Question No: 5 (Marks: 1)  – Please choose one A protocol used for
receiving email messages is called ____________.
► URL ► Telnet

POP3

► SMTP
Question No: 6 (Marks: 1)  – Please choose one Which is correct?
► onUnLoad ► onUNLOAD

► All of the above

onUnload

Question No: 7

(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

 

__________. ► Sequence ► Condition ► Array
Loop
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 Fuzzy logic is based
on ____________.
► Ground facts ► Experience ► Practice Approximation
Question No: 10 (Marks: 1) - Please choose one Word Processor is a

 

 

_________________
► System Software ► Device ► Utility
Application Software
Question No: 11 (Marks: 1) - Please choose one In the old days,
databases did NOT support ____________.
► Number ► Boolean Video

► Text

Question No: 12 (Marks: 1) - Please choose one In tabular storage,
fields placed in a particular row are strongly ___________.
► Independent ► Dependent Interrelated ► Inconsistent
Question No: 13 (Marks: 1) - Please choose one Due to working at
home, lack of interaction may result in ___________ professional growth.
Slower ► Faster ► Higher

► Improved

Question No: 14 (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: 15  (Marks: 1)  – Please choose one

 

_____________

technique can be used to create smooth animations or to display one of several images based on the requirement. ► Image downloading ► Image preloading ► Image uploading

 

► Image postloading

 

Question No: 16  (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: 17  (Marks: 1) - Please choose one

The group of technologies concerned with the capturing, processing and transmission of information in the digital electronic form is called _____________.

 

►  Telecom Engineering

►  Computer Engineering

 

►  Computer Science

►  Information Technology

 

 

 

Question No: 18  (Marks: 1)  – Please choose one
A large number of
networks interconnected physically are called ______
LAN ► MAN ► Internet ► Network collection

 

Question No: 19 (Marks: 1) - Please choose one TCP stands for
________.
► Transfer Center protocol
Transmission Control Protocol
► Transmission Center Protocol ► Telephone Center Protocol
Question No: 20 (Marks: 1) - Please choose one A collection of data
organized in such a way that the computer can quickly search for a desired data item is known as:
► Retrieving Database ► Information ► DBMS
Question No: 21 (Marks: 1) - Please choose one ______ is simply a

fast port that lets you connect computer peripherals and consumer electronics to your computer without restart.

 

► Freeware ► Shareware Firewire ► Firmware
Question No: 22 (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: 23 (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: 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 The Encryption of
data is related to
► Data updates ► Data security ► Data integrity

► Data accessibility

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

 

 

 

Question No: 27 (Marks: 1) - Please choose one
Which is the user-
friendly way of presenting data?
► Query ► Form ► Report ► All of the given options
Question No: 28 (Marks: 1) - Please choose one
JavaScript function
fixed () has equivalent HTML tag-set ____
► <.FIX>……………</FIX> ► <F>………………..</F>
► <PRE>…………. </PRE> ► <H>………………..</H>
Question No: 29 (Marks: 1) - Please choose one

<Form> Tags always

 

placed between the <BODY> and </BODY> tags of a Web page

►  True

 

►  False

 

Question No: 30 (Marks: 1)  – Please choose one
Java script has ——-
ability to create and draw graphics.
———-
► Limited ► Versatile ► Medium
► Not at all

 

 

 

 

Final term paper
1-when actions depends upon the values of multiple variables we ll use —–?
1-if

2-else

3-if—-else

4-none
2-when the exact number of iterations is known use the —-loop ?
1-for

2-if

3-while  4-none

3-when the number of iteration depend upon a condition being met use the —— loop
1-for 2-switch 3-while 4-none
4-the key property of ‘’array ‘’object is ———–?

1-length  2-width

3-single 4-none

 

5-two of the key ‘’array ‘’methods are reverse ()-sort() 1-true 2-false

 

 

 

6-javascript array are ——-

?

1-multiple 2-herterogenous 3-homogenous  4-none
7 ——multiple computer that are connected together to share information and other
resources 2-internets  3-compnetworks  4-none
1-network
8 – comp networks can send an email message to a remote comp using the —-
protocol?

3-SMTP

4-none
1-HTTP  2-FTP
9-comp network can browse documents residing on a remote comp using ——- ?
1-HTTP 2-FTP 3-SMTP 4-none
10-comp networks can download and upload files to a remote comp using —— ?
1-HTTP 2-FTP 3-SMTP 4-none
11- network can run a program on remote comp using the ————

?

1-SMTP 2-TELNET 3-HTTP 4-none

 

12-components of convertional computer networks are except one ? 1-VPN 2-NIC 3-computers 4-hub

 

13-NIC stands for ————

?

1-national internet cables 2-national interface cards
3-network interface cards 4-none
14-cables are either———— ? 4  -1and 2
1-electrical  2-digita l3-optical
15- hub component of comp network is ————?
1-I/O device 2-traffic controller
3-network traffic controller 4-none

 

16- optical cables are required by wireless networks

 

1-true  2-false

 

 

17 —— a deviece used to connect several computer to form a network
1-hub  2-cable 3-NIC 4-none
18- a hub has several —–?
1-NIC  2-cables 3-packet 4-ports
19- —— smaller unit of data transmitted over a comp network
1-hub  2-port  3-packet 4-none
20- all packets travel———- ?
1-dependently  2-independently 3-alternatively  4-none

 

 

 

 

 

 

 

Question No: 1

( Marks: 1 )  – Please choose one

———- was known as “mill” in Analytical engine.

► Memory

Processor

► Monitor ► Mouse
Question No: 2

( Marks: 1 )  – Please choose one

First electronic computer was

► Harvard Mark 1

► IBM PC
► ABC UNVAC 1
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

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

 

►  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 ► m + 1 ► m

 

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

 

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

 

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

 

_____________ team consists on the sharpest technical minds in the company.

Architecture   ► Business Development   ► Configuration Management  ► Developer

 

 

Question No: 17 ( Marks: 1 ) - Please choose one
TCP stands for ________.
► Transfer Center protocol Transmission Control Protocol
► Transmission Center Protocol ► 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 ► Information ► DBMS
Question No: 19 ( Marks: 1 ) - Please choose one
Microsoft Word is a type of: ► Shrink-Wrapped Software ► Custom-built Software
► System Software Freeware Software
Question No: 20 ( Marks: 1 ) - Please choose one
Users __________, how things work.
► Analyze in detail Muddle through ► 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
Question No: 22 ( Marks: 1 ) - Please choose one
Hardware malfunctions is related to
► Data updates ► Data integrity ► 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 ► Type Integrity ► Referential Integrity  ► Physical Integrity
Question No: 24 ( Marks: 1 ) - Please choose one
Which is the user-friendly way of presenting data ?
► 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 ► 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
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 ► 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 ► Project Manager ► Quality Assurance Expert

 

 

 

 

FINALTERM EXAMINATION

 

CS101- Introduction to Computing (Session – 2) Question No: 1 ( Marks: 1 ) – Please choose one

What is NOT a key factor while designing a website?

 

► Usability ► User-friendly ► Consistency  Complexity

 

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

 

Communications on the internet is controlled by a set of two protocols which are

____________.

► IMAP and SMTP ► FTP and HTTP TCP and IP ► TCP and HTTP

 

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

A protocol used for receiving email messages is called ____________.

 

► URL

► Telnet ► POP3 ► SMTP

Question No: 5

( Marks: 1 )  – Please choose one

Aliasing problem can be managed by ____________the size of pixels.

► Reducing           ► Increasing   ► Gaining   ► Modifying

 

Question No: 6  ( 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: 7 ( 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: 8 ( 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: 9 ( Marks: 1 ) - Please choose one
In the old days, databases did NOT support ____________.
► Number ► Boolean ► Video ► Text
Question No: 10 ( Marks: 1 ) - Please choose one

The organizations are learning that business can be done in a more effective manner if emphasis is placed upon ___________.

►  Cooperation ► Shared responsibility Networking

 

►  All of the given options

 

Question No: 11 ( Marks: 1 ) - Please choose one
Module level design is the responsibility of the ___________.
► Architect ► Team Lead   ► Developer  ► CEO
Question No: 12 ( Marks: 1 ) - Please choose one

_____________ errors are caused by the code that somehow violates the rule of the language.

 

► Syntax ► Semantic ► Run time  ► Load time
Question No: 13 ( Marks: 1 ) - Please choose one
The world first computer program was written to compute:
► Simple sequence ► Multiple sequence
► Bernoulli’s sequence ► Increasing sequence
Question No: 14 ( Marks: 1 ) - Please choose one
Microsoft Word is a type of:
► System Software ► Freeware Software
► Shrink-Wrapped Software ► Custom-built Software
Question No: 15 ( Marks: 1 ) - Please choose one
We need _____________ for memory management in computer
► Software ► Hardware ► Operating System
► Application Software
Question No: 16 ( Marks: 1 ) - Please choose one

_____________ is generally measured in terms of the number of steps required to execute an

 

 

 

algorithm.
► Space ► Time ► Memory and time  ► Bandwidth
Question No: 17 ( Marks: 1 )

- Please choose one

PowerBuilder falls in the category of ______________.
Assembly Languages 4-th Generation Languages
Machine Languages

High-Level Languages

Question No: 18 ( Marks: 1 )

- Please choose one

___________ means to break down into simpler components and analyze.

►  Recursion    Parsing Scope ►  Navigation
Question No: 19  ( 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>  (correct)

 

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

 

Assembly languages allow a programmer to use _________ for numbers.

► Object ► Entity ► Name  ► Interpreter
Question No: 21 ( Marks: 1 ) - Please choose one

__________ means you have only one container to store more than one value in JavaScript.

 

► Variable ► Matrix ► Array ► String
Question No: 22 ( Marks: 1 ) - Please choose one

Coding is the responsibility of ________________

► Software design ► Software developer ► Project manager ► None of given

 

Question No: 23

( Marks: 1 )

- Please choose one
CEO stands for____________________

► Central Executive officer

► Chief External officer

► Chief executive officer

► None of given
Question No: 24

( Marks: 1 )

- Please choose one

Decision Support Systems will become a bigger part of the professional life of the________ .

 

► Doctors ► Mangers ► Marketers  ► All of above
Question No: 25 ( Marks: 1 )  – Please choose one

 

 

 

The output of fuzzy Logic System is computed by using ______Technique. ► MAX-MAX ► MAX-MIN ► MIN-MAX ► None of the given

 

Question No: 26  ( Marks: 1 )  – Please choose one

 

In the statement Math.PI, Math is _________ and PI is ___________.

 

► Variable, Constant ► Object , Method
► Object , Function ► Object , Property

 

 

 

 

 

 

 

 

 

 

 

 

FINALTERM EXAMINATION

 

CS101- Introduction to Computing (Session – 2)

 

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

 

 

It represents the ________________ flow chart element.

 

► Process ► Input or Output ► Decision ► Connector

Question No: 2

(Marks: 1) - Please choose one
Website design should NOT be __________.
► Unified ► Complex ► Consistent ► Predictable

Question No: 3

(Marks: 1) - Please choose one
The most upper right pixel of the screen is of ___________ color.

► Any

► Red ► Green ► Blue

Question No: 4

( Marks: 1 )  – Please choose one

Which of the following is NOT an example of Multi-user Operating system

 

► Windows ► Linux   ► DOS   ► Solaris
Question No: 5 (Marks: 1)  – Please choose one

According to the heuristic, the number of defects remaining in a system after a given level of tests is proportional to ___________.

►  The number found on very first day.

►  The number found during the development.

►  The number found during the test.

►  None of the given options.

 

 

 

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  ► Working Memory

Question No: 7

(Marks: 1) - Please choose one
In RDBMS, table rows are called __________.

► Field

► Record ► Column ► Query

Question No: 8

(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: 9 (Marks: 1) - Please choose one
Tribal flood network is a ___________ software.
► DoS ► Scanning ► Utility ► None of the given options
Question No: 10 (Marks: 1) - Please choose one
Unlike virus, ___________ is a stand-alone program.
► Trojan horse ► Logic bomb ► Worm ► Time bomb
Question No: 11 (Marks: 1) - Please choose one

The key responsibilities of a project manager is _____________.

►  Planning and tracking of the project

 

►  Arranging of the appropriate resources

►  Client relationship management

►  All of the given options

 

Question No: 12  (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: 13 (Marks: 1) - Please choose one
_______________ is responsible for day to day operations.
► CEO ► COO ► CMSO ► Developer
Question No: 14 (Marks: 1) - Please choose one

onAbort , onError are the _______________ of the image object.

► Event Handler   ► Properties   ► Methods

► None of the given options

 

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

 

The tasks performed to detect the exact location of defect is called______

 

 

► Debugging   ► Testing   ► Repairing   ► Monitoring

 

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

 

_____________ routes the packets through the internet to go to their destination.

► Protocol ► TCP ► IP   ► NIC
Question No: 17 (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

 

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

 

Sequence of steps that is taken to solve a problem is called _______.

► Algorithm   ► Operating System ► Application software

► None of the given options

 

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

 

A collection of data organized in such a way that the computer can quickly search for a desired data

item is known as :
► Retrieving ► Database ► Information ► DBMS
Question No: 20 (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: 21 (Marks: 1) - Please choose one

______ are personal computers that are designed to be easily transported and relocated.

 

► Desktops ► Portables

► Servers

► Workstations

Question No: 22

(Marks: 1)

- Please choose one

To display a multi-line text area on the web page, we use ___ tag

► TEXT

► TEXTAREA

► INPUT ► INPUTAREA

Question No: 23

(Marks: 1)

- Please choose one

The first component of an operating system that runs when a typical computer is turned ON, is:

► Device Manager   ► File Manager   ► Loader   ► Device Driver

 

Question No: 24  (Marks: 1)  – Please choose one

 

Pseudo code is written in

► Complex grammar ► Plain English  ► JAVA  ► Pseudo language

 

Question No: 25  (Marks: 1)  – Please choose one

 

Instead of Full System, one can _____ results from part of a System

► Not achieve ► Mostly achieve ► Sometimes achieve ► Achieve

 

 

Question No: 26  (Marks: 1)  – Please choose one

 

One can download or upload files to a remote computer using ________ protocol.

► HTTP

► SMTP ► FTP   ► TELNET

Question No: 27

(Marks: 1) - Please choose one

Which protocol is used to control other computer from our own computer ? ► FTP ► NNTP ► TELNET ► None of the given choices

 

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

 

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

 

Mathematical functions in JavaScript, are accessed by referring to various methods of the

_____________ object.

► Math   ► Calculate   ► Compute   ► None of the given options

 

 

 

 

 

FINALTERM EXAMINATION

 

CS101- Introduction to Computing (Session – 2)

 

Question No: 1 ( Marks: 1 )  – Please choose one
Human are better than computers at:
► Efficiency   ► Accuracy Pattern recognition   ► None of the given choices
Question No: 2 ( Marks: 1 )  – Please choose one
TCP stands for ___________. Transmission control protocol
► Total communication protocol
► Transfer control protocol ► Transfer collection protocol
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
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
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
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 ________. ► Transmission Control Protocol
► Transfer Center 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

 

 

 

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 : ► Database ► Information ► DBMS
► Retrieving
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
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
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
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

 

 

 

 

 

 

FINALTERM EXAMINATION

 

CS101- Introduction to Computing (Session – 2)

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

 

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. ► 4
► 10 ► 2 ► 5
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

 

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

 

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

 

 

 

 

 

FINALTERM EXAMINATION

 

CS101- Introduction to Computing (Session – 3)

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 ► 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 ► Working Memory
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) ► 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

 

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

 

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

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

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

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 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 integrit Referential Integrity
► Type integrity ► Limit integrity ►Physical 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

 

 

FINALTERM EXAMINATION

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

 

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

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
Question No: 25 ( Marks: 1 )  – Please choose one ► True
Users communicate with the computer using a consistent user interface provided by the OS.
► 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. ► If-else ► While
► For ► Do-While

 

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.

 

 

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

 

 

 

 

FINALTERM EXAMINATION

 

CS101- Introduction to Computing (Session – 4)

 

 

 

 

Question No: 1

( Marks: 1 )  – Please choose one

Success of a website is defined by ____________.
Use► Designer ► 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 ► 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

 

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 Server
Question 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
Question No: 18

( Marks: 1 )  – Please choose one

___________ has great PR skills. Chief Executive Officer
► Architect ► Team Lead Project Manager
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

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

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

 

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. Independent ► Complex ► All of the abov
► Dependent

 

 

 

 

 

FINALTERM EXAMINATION

CS101- Introduction to Computing (Session – 3)

Question No: 1 ( Marks: 1 )  – Please choose one
The memory size of the Altair 8800 was ► 256 Kilo bytes ► 256 bytes
► 128 bytes ► 128 Kilo bytes

 

 

 

Question No: 2 ( Marks: 1 )  – Please choose one
Hexadecimal number system is based on ——————– digits
► 2 ► 8 ► 12 ► 16
Question No: 3 ( 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: 4  ( Marks: 1 )  – Please choose one

 

Which is correct?

 

► onUnload   ► onUnLoad   ► onUNLOAD   ► All of the above

 

 

 

Question No: 5

( Marks: 1 )  – Please choose one
The most upper right pixel of the screen is of ___________ color.

► Any

► Red

► Green ► Blue

Question No: 6

( Marks: 1 )  – Please choose one
Which of the following is NOT a Loop statement?
► For

► While

► Switch ► Do-While

Question No: 7

( Marks: 1 )  – Please choose one

When’+’ operator is used with string operands, it _____________ both strings.

► Adds ► Subtracts ► Concatenates ► Compares
Question No: 8 ( Marks: 1 )  – Please choose one

_____________ organization is replacing the old-style layered, tree-structured organizational model.

 

► Network ► Hierarchical ► Matrix ► None of the given options
Question No: 9 ( Marks: 1 )  – Please choose one
Due to working at home, lack of interaction may result in ___________ professional growth.
≡  Slower ≡  Faster ≡  Higher Improved
Question No: 10 ( 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: 11 ( Marks: 1 )  – Please choose one

The key responsibilities of a project manager is _____________.

 

 

Planning and tracking of the project ≡  Arranging of the appropriate resources
Client relationship management ≡  All of the given options
Question No: 12  ( Marks: 1 )  – Please choose one
Sequence of steps that is taken to solve a problem is called _______.

 

≡Algorithm  ≡Operating System  ≡Application software  ≡None of the given options

 

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

 

CELLPADDING determines the distance between the _____________ of the cell and the contents of

 

the cell ≡  Border Alignment ≡  Empty space
Caption
Question No: 14 ( Marks: 1 ) - Please choose one
DSS stands for:
Dual System Security

Decision Support System  ≡

Digital System
Solver    Dynamic System Security
Question No: 15 ( 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: 16 ( Marks: 1 ) - Please choose one
Assignment operator in JavaScript is represented by:
= = =

=>

>=

Question No: 17 ( Marks: 1 ) - Please choose one
In a System having many parts to be designed, one should always do the _____ first
≡  Hard part ≡  Simple part ≡  Development part ≡  Quality part
Question No: 18 ( Marks: 1 ) - Please choose one
Which protocol is used to send email ?
FTP ≡  SMTP TELNET ≡  All of the given choices
Question No: 19 ( Marks: 1 ) - Please choose one
Those Systems are “Intelligent System” that mimics some aspects of
Software deployment ≡  Human thought ≡  Speaking power≡

Computing

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

Question No: 21

( Marks: 1 )  – Please choose one
Which of the following is a valid html tag?
► <html> ► <HTML> ► <htML> ► All of the above

Question No: 22

( Marks: 1 )  – Please choose one

Which of the following memory retains its information when the power to the system is turned off?

 

► RAM   ► ROM   ► DIMM ► DRAM
Question No: 23 ( Marks: 1 ) - Please choose one
The output of document.write( “2” + Math.PI ) ; is__________.
► 23.141592653589793 ► 3.146 ► 2.3141592653589793  ► None of them
Question No: 24 ( Marks: 1 ) - Please choose one

Logic Bombs executes its payload when _________________

►  A programs run

►  A predetermined event occurs

 

►  DoS attack is launched

►  A file is copied from one folder to another

 

Question No: 25 ( Marks: 1 ) - Please choose one
Which Internet Service is comparatively Slow but Inexpensive and Fast.
► E-mail ► Instant Messaging ► Web ► None of the given
Question No: 26 ( Marks: 1 ) - Please choose one

Super computers consists of more than one parallel processors because

►  One big processor is more expensive than parallel processors

►  Through parallel processors problems can be solved easily

 

►  Small processors are easy to manufacture

►  All of the given

 

 

 

 

 

MIDTERM EXAMINATION

 

Fall 2008

CS101- Introduction to Computing (Session – 2)

 

 

 

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

A procedure that usually, but not always, works or that gives nearly the right answer is called

 

► Algorithm ► Logarithm Heuristic ► Methodology
Question No: 2 ( Marks: 1 )  – Please choose one
Which of the following is NOT an Application Software?
► Word Processor ► Web Browser Windows XP ► MS Excel
Question No: 3 ( Marks: 1 )  – Please choose one
Operating System talks to and manages devices through
► Loader ► File Manager ► Memory Manager Device Driver
Question No: 4 ( 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: 5 ( Marks: 1 )  – Please choose one

When the user needs something to be done by the computer, he/she gives instructions in the form of _____ to

computer ____

 

Software, Hardware   Hardware, Software

 

► System Software, Application Software   ► Graph, Monitor

 

Question No: 6  ( Marks: 1 )  – Please choose one

There is a battery on the motherboard to:

 

► Give power to the processor   Save information when computer is off

► Save information when computer is on   ► Give power to the motherboard

 

Question No: 7  ( Marks: 1 )  – Please choose one

______ is simply a fast port that lets you connect computer peripherals and consumer electronics to your

computer without restart.
► Freeware ► Shareware Firewire

► Firmware

Question No: 8 ( Marks: 1 ) - Please choose one
Which one is correct?
► <BODY></BODY> ► <body></body>
► Both <BODY></BODY> and <body></body> ► <BODY/>
Question No: 9 ( Marks: 1 ) - Please choose one
The weaknesses of the computer are:
► Pattern recognition & Storage ► Speed & Innovative ideas
Pattern recognition & Innovative ideas

► Speed & Storage

 

 

Question No: 10 ( Marks: 1 ) - Please choose one
The key strengths of computers are
► Speed ► Storage ► Do not get bored All of the given choices
Question No: 11 ( Marks: 1 ) - Please choose one
Which one is correct?
► <HEAD> </HEAD> ► <HEAD> <END>
► <HEAD> </END> ► <HEAD> <\HEAD>
Question No: 12 ( Marks: 1 ) - Please choose one
Everything that JavaScript manipulates is treated as:
Object ► Window ► Text ► Script
Question No: 13 ( Marks: 1 ) - Please choose one
A process in which user’s browser check the form’s data is called
► Server-Side Scripting Client-Side Scripting
► Bowser Scripting ► Form Scripting
Question No: 14 ( Marks: 1 ) - Please choose one
———— is volatile memory
RAM ► ROM ► Hard Disk ► CD ROM
Question No: 15 ( Marks: 1 ) - Please choose one
WYSIWYG stands for
► What you say is what you get ► Where you see is where you go
► What you see is what you get ► When you see is when you get
Question No: 16 ( 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: 17 ( Marks: 1 ) - Please choose one
__________ is the example of Shrink-wrapped software
► PIA information system ► WinZip trial pack ► Linux MS Word
Question No: 18 ( Marks: 1 ) - Please choose one
____________ interacts directly with the computer Hardware
► Compiler Operating system ► Application software ► Assembler

 

 

 

Question No: 19 ( Marks: 1 )  – Please choose one
Which of the following symbol is used for multiple line comments in JavaScript?
► / // /* ► //*
Question No: 20 ( Marks: 1 )  – Please choose one
Consider the following statement written in JavaScript:
str = ”Hello” + ” World”
What will be the value of str ?
HelloWorld ► Hello World ► Hello + World ► It will result in error
Question No: 21 ( Marks: 1 )  – Please choose one

__________ give us the ability to manipulate data through reference instead of actual value.

Constants Variables ► Data Types ► Operators
Question No: 22 ( Marks: 1 ) - Please choose one
Bringing subsystems together to form the system is called
Integration ► Merging ► Splitting ► Operation & Maintenance
Question No: 23 ( Marks: 1 ) - Please choose one
Preliminary exploration of possible solutions, technologies, suppliers is called
► Viability Feasibility ► Specification ► Integration
Question No: 24 ( Marks: 1 ) - Please choose one

Algorithm gives us:

 

► Definition of a problem   Sequence of steps to solve a problem

 

► Proper understanding of a problem   ► Solution to a problem

 

 

Question No: 25 ( Marks: 1 ) - Please choose one
Web site is collection of related ______
► Web pages Information ► Search Engines ► None of the given choices
Question No: 26 ( Marks: 1 ) - Please choose one
Information on World Wide Web is _______________ unified.
► Physically Logically ► Really ► None of the given choices

 

 

 

 

FINALTERM EXAMINATION

 

Fall 2008

CS101- Introduction to Computing (Session – 2)

 

 

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() ► round(x)
Question No: 2 ( Marks: 1 )  – Please choose one
Functions are also called: ► Subprograms
► Heuristics ► Variables ► Arrays
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  ► All of the given choices
Question No: 4 ( Marks: 1 )  – Please choose one
The weaknesses of the computer are:
► Pattern recognition & Storage

► Speed & Innovative ideas

► Pattern recognition & Innovative ideas ► Speed & Storage
Question No: 5 ( Marks: 1 )  – Please choose one
Processed data is called ________.
► Information ► 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

► Real code & Artificial code   ► None of the given options

 

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 ► 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. ► Blue ► None of the given options
► Green ► Grey
Question No: 10 ( Marks: 1 ) - Please choose one
____________ is in Executive team.
► Project Manager ► CEO ► Team Lead ► Developer
Question No: 11 ( Marks: 1 ) - Please choose one
Module level design and unit testing the responsibility of _____________.
► Team Lead ► Developer ► 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   ► HR

 

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

 

_____________ waits for some time and then launch a function.

► Timeout( )   ► setTimeout( )   ► 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
Question No: 15

( 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: 16

( 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: 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
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)
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
Question No: 20 ( Marks: 1 )  – Please choose one
Variables allow us to manipulate data through the ___________.
► Actual Value ► Reference ► Length ► Name
Question No: 21 ( Marks: 1 )  – Please choose one
Which is correct?
► onUnload ► 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

► Event Procedure

► All of the given option
Question No: 23 ( Marks: 1 )  – Please choose one
___________ color should be used in background for a good presentation.
► Light ► Dark

► 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?
► / ► // ► /*

► //*

Question No: 25 ( Marks: 1 )  – Please choose one
In JavaScript, what will be the result of the follwoing operation
79%3

 

 

► 0 ► 1 ► 2 ► 3
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> ► <NC>…</NC>
Question No: 27 ( Marks: 1 )  – Please choose one
TCP stands for ___________. ► Transmission control protocol
► Total communication protocol
► Transfer control protocol ► Transfer collection protocol
Question No: 28 ( Marks: 1 )  – Please choose one
What is NOT a key factor while designing a website? ► Complexity
► Usability ► User-friendly ► Consistency
Question No: 29 ( Marks: 1 )  – Please choose one
It represents the ________________ flow chart element.
► Process ► Input or Output ► Decision ► Connector
Question No: 30 ( Marks: 1 )  – Please choose one
Vacuum tubes were replaced by ___
► Punch cards ► Transistors ► Micro Processors ► Resistors

 

 

 

 

 

 

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 __three________ terminals.

 

► one   ► two   ► three  ► four

 

Question No: 2 ( Marks: 1 ) – Please choose one Blue Pacific is a name of ____Super__ computer. ► Mini ► Desktop ► Micro ► Super

 

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

 

Monte Carlo algorithm is an example of Randomized algorithm

► Randomized algorithm          ► 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 .

 

 

 

► Productivity software suites ► Compiled software ► Secure software ► Intelligent software

 

 

Question No: 5 ( Marks: 1 ) – Please choose one The most used form tag is the <input> tag. – False ► 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

 

___ Word Processor Software __ 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 ______2____ different methods ► 2 ► 3 ► 4 ► 5

 

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

 

To display a checkbox on the web page, we use __INPUT_ tag ► CHECKBOX ► CHECK ► INPUT ► INPUTBOX

 

Question No: 10 ( Marks: 1 ) – Please choose one

 

_Name __ attribute of FORM tag is used to mention a URL when the form is being submitted ► name ► action ► method ► submit

 

 

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

 

► 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 _1.3 trillion__ calculations in one second.

 

 

► 1.3 billion   ► 1.3 trillion   ► 1.3 miillion   ► 1.3 thousand

 

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

 

_HTML___ 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

► 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

 

► 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: All of the given choices

► 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? Resistors

► Transistors   ► Diodes   ► Resistors   ► Vacuum tubes

 

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

 

When we use <INPUT type=“password”>, what will happen? – Text will be in **** format

 

► 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

 

Question No: 25 ( Marks: 1 ) – Please choose one

 

Which of the following number system is used by microprocessor? Binary ► Binary ► Decimal ► Octal ► Hexadecimal

 

Question No: 26 ( Marks: 1 ) – Please choose one Web site is collection of related ___ Information___

 

► Web pages  ►Information ► Search Engines ► None of the given choices

 

 

 

 

 

 

 

MC100401285

 

VU CS101 – Introduction To Computing FinalTerm Solved Unsolved Past Papers Spring 2010

VU CS101- Introduction to Computing FinalTerm solved unsolved past papers

VU CS101- Introduction To Computing FinalTerm Solved Unsolved Past Papers

Short and long quizes

from past papers

January 19, 2011

CS101 Introduction to Computing

MC100401285 MOAZ SIDDIQ

 

FINALTERM EXAMINATION

 

Spring 2010

 

Question No: 27   ( Marks: 2 )

 

What is the difference between ‘single-line text input field’ and ‘password input field’ ? ANS:-

 

A Password Field is good for sensitive information. The only item that is absolutely necessary is the Submit Button. It is a good idea to include a Reset Button for the convenience of the user.

 

A text field gathers information using a single line of text. This field is useful for short answers. The default text field is blank. If you want to specify default text, use the VALUE attribute. .

 

Question No: 28 ( Marks: 2 ) What is internet?

ANS:-

 

Internet is also called WAN, which means the interconnection of large number of computer networks and it consists of millions of private, public, academic, business, and government networks of local to global scope that are linked by a broad array of electronic and optical networking technologies.

 

Question No: 29   ( Marks: 2 )

 

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

Event handling means capturing an event and responding to that.

 

Events e.g. onMouseOver, OnClick, onLoad, Onunload, updating the clock etc. are captured by the Java script & according to the programs they are responded accordingly

 

Question No: 32 ( Marks: 3 ) Differentiate between onLoad and onUnload ANS:-

 

On load event is used when the page is load in the browser while on the other side onUnload event works when the page closes down.

 

Question No: 33   ( Marks: 3 )

 

Elaborate Rester Graphics with examples. ANS:-

 

Raster graphics are digital images created or captured (for example, by scanning in a photo) as a set of samples of a given space . A raster file is usually larger than a vector graphics image file. A raster file is usually difficult to modify without loss of information.

Examples of raster image file types are: BMP, TIFF, GIF, and JPEG files.

 

 

Question No: 34   ( Marks: 5 )

 

What is a Relational Database? Give the names of any three RDBMS software. (2+3)

 

 

 

 

 

1

 

ANS:-

 

Database architecture consists of three levels, external, conceptual and internal. Clearly separating the three levels was a major feature of the relational database.

 

NAMES:

 

Oracle Database software, Linux, and oracle e business database software , and Oracle OLAP.

Question No: 36   ( Marks: 5 )

What do you mean by the term ‘Telepresence’ in Computing World? ANS:-

 

Telepresence

  • • Being there, without physically being there!
  • • Two remotely located people, with the help of special equipment, immersed in a simulated 3-D environment where they interact like they are sitting next to each other

 

  • • Chatting, a telephone conversation, or even a videoconference are examples, but in a degraded sense of the idea

 

 

FINALTERM EXAMINATION

 

Spring 2010

 

Question No: 27   ( Marks: 2 )

 

What is a function? Give one example. ANS:-

 

Function is a reusable code (group of statement) that is executed when the function is called. It is also known as sub-program. Function is normally defined in the head section of the code.

 

Question No: 28 ( Marks: 2 ) What is an intelligent system? ANS:-

 

Intelligent systems are the programs developed to perform complicated jobs that reflect human brain and thoughts. If the algorithms are too much complex or can not be solved instantly then we can use such systems. Therefore the well intelligent system not only performs well but it has the capability to rectify any errors by himself if it occurs within his domain.

 

The examples of intelligent systems are Robotics, Business Intelligence …etc.

 

Question No: 29 ( Marks: 2 ) What is meant by semantic error ? ANS:-

 

It is an error which a developer encounters when a statement is executed but it was not intended by him (the developer). Such errors are very difficult to locate during testing. Mostly these occur during abnormal circumstances. It may be referred as the logical error.

 

Question No: 30 ( Marks: 2 ) What is best algorithm? ANS:-

 

Greedy algorithm is the best algorithm as it is n algorithm that always takes the best immediate, or local solution while finding an answer.

 

Question No: 32   ( Marks: 3 )

 

What are the Sub categories of Artificial Intelligence? Briefly explain any two. ANS:-

 

1. Robotics

 

 

 

2

 

These are the machines which are computer programmed and perform work which was previously done by humans. They can be found in the manufacturing industry, the military, space exploration and medical applications.

2. Expert Systems

 

These systems are designed to replace an expert. The medical expert system is an example of such system which can replace a Doctor/medical expert.

 

 

Question No: 33   ( Marks: 3 )

 

What are the steps of working of TCP and IP protocols in internet transmission? ANS:-

 

TCP divide messages in to many packets (capsulation) and sent these messages over the internet and IP route these messages on the internet to the correct destination and upon reaching the messages on its destination the messages are encapsulated.

 

Question No: 34   ( Marks: 5 )

 

What is ARPANET and who developed it? ANS:-

 

ARPANET stands for Advanced Research Projects. The initial purpose was to communicate with and share computer resources among mainly scientific users at the connected institutions. In the beginning it was connected four universities and enabled scientists to share resources.

It was headed by Dr. J.C.R. Licklider.

 

Question No: 35   ( Marks: 5 )

 

Define professional ethics and its benefits with an example? ANS:-

 

Professional Ethics

 

  • • Professional ethics are a category of ethics, and here we discus the professional ethics relevant to computing

 

  • • Awareness of professional ethics is gaining importance with time as the decisionmaking process in the work place keeps on increasing in complexity

 

  • • The professional ethics provide a way of simplifying that decision making process

 

Let us now discuss a few situations where I will request you for your ethical opinions

 

Question No: 36   ( Marks: 5 )

 

Write JavaScript code for the following: 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.

 

 

 

 

 

 

 

 

 

FINALTERM EXAMINATION

 

Spring 2010

 

Question No: 27   ( Marks: 2 )

 

What are application softwares? List down the names of three application softwares. ANS:-

 

Definition: Application Software are that software then can interact directory with the user for performance of respective type of work.

 

 

 

 

3

 

Following are the types of Application Softwares:-

 

  • AutoCAD and Corel Draw
  • Business Software
  • Productivity SW
  • Games Software

 

Question No: 28   ( Marks: 2 )

 

Why Local variable is preferred over Global variable ? ANS:-

 

Global variable has some advantage with Local variables is preferred due to the following reasons:-

 

When we declare any global variable in web page then in case of error and logic it’s very difficult to see on which line this variable is used and what’s his value if we have more than 2000 lines and all the functions in web page using that Global Variable so Global variables can make the logic of a Web page difficult to understand.

As we know we can use Global variable everywhere so Global variables also make the reuse and maintenance of your code much more complex.

 

Question No: 30   ( Marks: 2 )

 

What is Structured Vector Graphics ?

ANS:-

This is a plug-in that is required to view swf (flash) files in the web browser

 

Question No: 31   ( Marks: 3 )

 

What kind of new jobs are created because of computing? And which old professions are being eliminated? ANS:-

 

Due to computing where people are getting benefits from automated systems on the other hand the people that are with KHATA system or Manual system and they don’t know about computers are eliminated due to this reason and people take place of many people. We can see in the offices where before computer if there are four person required now only one person is required for example with the help of database we can store more than thousand of information and only one person is managing the whole data that is DBA. In the old system many people are writing the data in registers and then its also very difficult to find the specific record.

 

Now we can see companies are hiring:-Data Entry Operators

 

System Engineers

 

Software Developer DBA etc.

 

 

 

 

 

FINALTERM EXAMINATION

 

Spring 2010

 

Question No: 28  ( Marks: 2 )

 

Write names of the DoS attack’s phases?

ANS:-

DoS (Denail of service): DoS attach has in total 3 phases and below they are listed:

 

  1. Search
  2. Arm
  3. Attack

 

 

Question No: 32  ( Marks: 3 )

 

 

 

4

 

Briefly mention any three problems in old modes of presentation development ANS:-

 

Lack of resolution Low color configuration No graphic animation

Question No: 34  ( Marks: 5 )

 

Why the quality of image in dithering scheme is not good? ANS:-

 

In this scheme, pixels of alternating colors are used to simulate a color that is not present in the platelet

 

For example, red and green pixels can be alternated to give the impression of bright yellow

 

The quality of the displayed image is poorer

 

FINALTERM EXAMINATION

 

Spring 2010

 

Question No: 27  ( Marks: 2 )

 

Define the term 3D Rendering

 

ANS:-

 

The process of converting information about 3-D objects into a bit-map that can be displayed on a 2-D computer display.

 

Question No: 29  ( Marks: 2 )

 

Define testing with respect to programming..

 

ANS:-

 

Testing:-  The tasks performed to determine the existence of defects.

 

Programming:-  The process of telling the computer what to do.

 

 

 

 

Question No: 30  ( Marks: 2 )

 

What is a compiler? Write its one benefit over interpreter.

 

ANS:-

 

Compiler translates the program written in a HLL in one go. The translated code is then used by the uP whenever the program needs to be run. In contrast of interpreter, a compiler translates high-level instructions directly into machine Language Compiled programs generally run faster than interpreted programs.

 

Question No: 31  ( Marks: 3 )

 

 

 

 

 

 

 

5

 

 

Who is a Computing Professional?

 

ANS:-

 

Computing technology has changed our way of life like no other technology. We need to study how it has done it to highlight the mistakes and success stories of the past. We need to do it so that we can learn from them and select our future direction

Accordingly.

 

Question No: 33  ( Marks: 3 )

 

What is ICMP?

 

ANS:-

 

ICMP is the “Internet Control Message Protocol”. ICMP packets are small packets used in local networks and on the Internet, most typically, for network troubleshooting and problem location.

 

Question No: 35  ( Marks: 5 )

 

Write down the advantages of Natural Language Processing.

 

ANS:-

 

It is able to read what you write, comparing it to a stored database of texts. It then corrects your errors and suggests alternatives. What advantages can this give you? Here are some:

  1. 1.  You Don’t Have to Worry About Careless Mistakes and Typos
  2. 2.  Your Grammar and Punctuation Errors are Fixed

3. Allows You To Get More Accomplished

4. Gives You A Better Vocabulary

5. Instantly Upgrades Your Communication Skills

 

 

 

 

Question No: 36  ( Marks: 5 )

 

Draw hierarchy of the people in the small project?

 

FINALTERM EXAMINATION

 

Spring 2010

 

Question No: 30  ( Marks: 2 )

 

What was the obstacle to the construction of analytical engine? ANS:-

 

Charles Babbage had huge difficulties raising money to fund his research. As a last resort, he designed a clever mathematical scheme along with Ada, the Countess of Lovelace. It was designed to increase their odds while gambling. They bet money on horse races to raise enough money to support their research experiments Guess what happened at the end? The lost every penny that they had.

.

 

Question No: 33  ( Marks: 3 )

 

Give any three applications of computer graphics?

 

 

 

 

 

 

 

6

 

Question No: 34  ( Marks: 5 )

 

Mention any five applications of Artificial Intelligent System

ANS:-

  1. Games

 

  1. Image recognition
  2. Medical diagnosis
  3. Robots
  4. Business intelligence

 

 

Question No: 36  ( Marks: 5 )

 

Explain function arguments with the help of an example? ANS:-

 

A named group of statements that is put together once and then used (by reference) repeatedly on a Web page

 

Code becomes easier to read, understand and maintain

 

 

FINALTERM EXAMINATION

 

Spring 2009

Question No: 31  ( Marks: 1 )

What are the elements of website design? Any one

ANS:-

 

Navigation scheme Layout of information Overall look and feel

 

Question No: 33  ( Marks: 2 )

 

What is meant by universal access of internet services ?

ANS:-

 

Universal access of internet services means same functionality to every one.

 

 

 

 

Question No: 38  ( Marks: 5 )

 

Differentiate between For and While loop by writing the syntax of both loops.

 

ANS:-

When the exact number of iterations is known, use the ‘for’ loop

 

When the number of iterations depend upon a condition being met, use the ‘while’ loop ‘for’ loops become especially useful when used in conjunction with arrays

 

We’ll find out about arrays today, and we’ll probe their usefulness as part of ‘for’ loop

structures

 

Question No: 41  ( Marks: 10 )

 

Is tabular data storage better than flat file data storage? Justify your answer.

ANS:-

1.Similar items of data form a column

2.Fields placed in a particular row – same as a flat-file record – are strongly interrelated 3.One can sort the table w.r.t. any column

 

4.That makes searching – e.g., for all the books written by a certain author – straight forward

 

 

 

 

7

 

5.Similarly, searching for the 10 cheapest/most expensive books can be easily accomplished through a sort

 

6.Effort required for adding a new field to all the records of a flat-file is much greater than adding a new column to the table

CONCLUSION: Tabular storage is better than flat-file storage

FINALTERM EXAMINATION

 

Spring 2009

Question No: 31  ( Marks: 1 )

In programming, what is a loop?

ANS:-

 

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.

ANS:-

Routine , procedure , sub program

 

Question No: 33  ( Marks: 2 )

 

How JavaScript Arrays are heterogeneous?

ANS:-

 

Arrays are heterogeneous in java script because at the same time simultaneously they can hold elements of multiple data types

 

Question No: 34 ( Marks: 2 ) What is the database?

 

ANS:-

 

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.

ANS:-

 

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?

 

ANS:-

 

Trojan horses are a kind of cyber crime, they are v harmful to computer because they are stand alone program and the look like what they are not like any thing amusing or not harmless like games..

 

Question No: 38  ( Marks: 5 )

 

 

 

 

 

8

 

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

 

ANS:-

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: 40  ( Marks: 10 )

 

Write a note on :

Coding guidelines

Guidelines for developing short programs.

ANS:-

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

 

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

  1. a.  Vector or Object-Oriented Graphics:
  2. b.  Bit-Mapped or Raster Graphics:

ANS:-

 

Vector or Object-Oriented Graphics:

 

In Vector or object oriented graphic everything drawn is treated as object. objects retain their identity after they are drawn. These objects can later be moved, stretched, duplicated, deleted,etc. they are resolution independent and have relatively small file size. the examples are: swf, svg, wmf, ps brass_ibrahim: Vector graphics is the use of geometrical primitives such as points, lines, curves, and shapes or polygon(s), which are all based on mathematical equations, to represent images in computer graphics.

 

brass_ibrahim: The term “vector graphics” is mainly used today in the context of two-dimensional computer graphicsVirtually all modern 3D rendering is done using extensions of 2D vector graphics techniques .Virtually all modern 3D rendering is done using extensions of 2D vector graphics

 

 

 

 

9

 

techniques

 

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

 

FINALTERM EXAMINATION

 

Spring 2009 Final

 

Question No: 27 (Marks: 1) What BIOS stands for?

ANS:-

 

Binary Input Output System

 

Question No: 28 ( Marks: 1 )

 

List down the Analytical Engine’s components name (any two)

ANS:-

Google & Netscape,

 

Question No: 29 (Marks: 2)

Why uploading a web page is important? Describe in 2 – 3 lines.

ANS:-

 

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.

 

ANS:-

 

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.

ANS:-

 

The Multiprocessors is when more than one processor is under operation it can be several or may

 

 

 

 

10

 

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?

ANS:-

 

Java Script is a language by which we are writing our web-pages, this language is designed to work for web pages

 

FINALTERM EXAMINATION

 

Spring 2009 Final

 

Question No: 31 ( Marks: 1 ) What is heuristic?

 

ANS:-

 

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?

 

ANS:-

 

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.

 

ANS:-

 

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.

 

  1. Electronic replacement for ledgers Charts

 

  1. financial-forecasting

 

 

 

 

 

Question No: 35  ( Marks: 3 )

 

Explain how many ways businesses monitor their employees?

 

ANS:-

 

  • 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

 

 

 

 

11

 

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

 

ANS:-

 

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: 38  ( Marks: 5 )

 

How many ways are there to call a function in a program? Explain with example

ANS:-

 

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

A n e v e n t h a n d l e r i s a c o m m a n d w h i c h c a l l s a f u n c t i o n w h e n a n e v e n t h a p p e n s , s u c h a s t h e u s e r c l i c k i n g a b u t t o n .

 

T h e c o m m a n d i s w r i t t e n i n t h e f o r m a t o n E V E N T , w h e r e E V E N T i s t h e n a m e f o r a s p e c i f i c a c t i o n . H e r e a r e s o m e c o m m o n e x a m p l e s :

 

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

}

 

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.

ANS:-

 

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.

 

ANS:-

 

 

 

 

12

 

Object

 

A named collection of properties(data, state) & methods (instructions, behavior)

Event Handler

A n e v e n t h a n d l e r i s a c o m m a n d w h i c h c a l l s a f u n c t i o n w h e n a n e v e n t h a p p e n s , s u c h a s t h e u s e r c l i c k i n g a b u t t o n

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

 

 

FINALTERM EXAMINATION

 

Fall 2009

 

Question No: 32  ( Marks: 1 )

 

What does TCP/IP stand for?

ANS:-

 

TCP stand for Transmission Control Protocol

IP stands for Internet Protocol

 

Question No: 34  ( Marks: 2 )

 

What is the use of DEFAULT keyword in switch structure?

 

 

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?

ANS:-

This protocol is used to upload and download the files on remote computers.

 

 

 

 

 

 

 

 

Question No: 41  ( Marks: 10 )

 

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

 

 

 

 

 

 

13

 

complete HTML and JavaScript code.

 

FINALTERM EXAMINATION

 

Fall 2009

 

Question No: 32   ( Marks: 1 )

 

Name any software which can be used to make a presentation.

 

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?

 

ANS:-

 

Team Lead

 

• Responsibilities:

– Planning and tracking of the project

 

– Detailed design

– Professional development of team members

– In case of small teams, development activities

• Profile:

– 5+ years of development experience

 

– Excellent interpersonal skills

– Good planning skills

– Good design skills

 

Question No: 40   ( Marks: 10 )

 

Give any five well-known design heuristics for architectural design.

ANS:-

Given many parts of a system to be designed/built, do the hard part 1st. All the serious mistakes are made on the very first day.

 

Simplify, simplify, simplify! Probably the most useful heuristics for increasing reliability while decreasing cost & time-to-build.

 

FINALTERM EXAMINATION

 

Fall 2009

 

 

 

 

Question No: 31  ( Marks: 1 )

 

What does NIC stand for?

ANS:-

Network Interface Cards.

 

 

 

 

14

 

 

Question No: 32  ( Marks: 1 )

 

Why there is a need to use primary key in database ?

ANS:-

 

Primary Key is a field that uniquely identifies each record stored in a table.

 

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: 39  ( Marks: 5 )

 

Write a short note on:

  1. a.  Good programming methodology?
  2. b.  Correct program

ANS:-

Good programming methodology

 

A methodology that enables the lowest-cost and on-schedule development of programs that are correct, easy to maintain & enhance.

 

Correct program

A program with correct syntax & semantics.

 

 

FINALTERM EXAMINATION

 

Fall 2009

 

Question No: 32  ( Marks: 1 )

 

What kind of information can be stored in a database?

ANS:-

 

It can store numbers, Booleans, sound, video, images etc.

 

Question No: 33  ( Marks: 2 )

 

Define the key weakness of the web?

ANS:-

Initially web was designed only for humans to read not for computers to understand it.

 

 

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 )

 

 

15

 

How can we define a Pixel?

 

ANS:-

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

ANS:-

 

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?

 

 

 

 

16

 

B) Explain the highlighted lines of code?

 

Question No: 40  ( Marks: 10 )

 

Write a brief note on each of the following.

ϖ     FTP

ϖ     Telnet

 

ϖ     Instant messaging

ϖ     VoIP

 

ANS:-

 

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.

 

ANS:-

 

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

 

 

 

 

FINALTERM EXAMINATION

 

Fall 2009

 

Question No: 32   (Marks: 1)

 

What are Local or Function-level Variables?

 

 

 

 

 

17

 

 

ANS:-

 

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.

 

Question No: 34   (Marks: 2)

 

What is the Data Normalization? Also define its goal.

 

ANS:-

 

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: 36 (Marks: 3) Differentiate Local and Global Variables.

 

ANS:-

 

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: 38   (Marks: 5)

 

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

 

ANS:-

 

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.

 

 

FINALTERM EXAMINATION

 

Fall 2009

 

Question No: 31  ( Marks: 1 )

 

SMTP stands for what?

ANS:-

Simple Mail Transfer Protocol

 

Question No: 33  ( Marks: 2 )

 

In which situation we should use Inline Event Handling?

ANS:-

 

Event handler are placed in the BODY portion of a web page as attributes of HTML tags 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

 

 

18

 

and quickly in the same line of code.

 

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.

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

 

 

 

 

19

 

Investigative process should begin immediately after the DoS Attack begins.By using IP address we can Track Attacker.

 

FINALTERM EXAMINATION

Fall 2009

 

Question No: 31  ( Marks: 1 )

 

What is bandwidth?

 

ANS:-

 

Bandwidth is a capacity of communication channel of carrying data.

 

Question No: 32  ( Marks: 1 )

 

What is “My Personal Agent”?

ANS:-

 

A computer programe that work automatically and have voice interface

 

Question No: 33  ( Marks: 2 )

 

For what purposes FTP is used in networks ?

ANS:-

To download or upload files / data to a remote computer

 

Question No: 34  ( Marks: 2 )

 

How can you define a readable program?

ANS:-

 

A program that is easy to read & understand also easy to maintain and enhance.

 

Question No: 36  ( Marks: 3 )

 

How can you define a consistent web design? Why is it needed?

ANS:-

 

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: 38  ( Marks: 5 )

 

What are the advantages of multimedia presentations? Write any five.

 

ANS:-

 

Multimedia presentation is a great tool for effective communication:

 

Advantages:

 

  1. Easy to make last minute change

 

  1. More attractive
  2. Can include animation, videos etc.
  3. Better presentation easy to understandable for participants comparing to manual presentation.
  4. Undo feature

 

Question No: 39  ( Marks: 5 )

 

 

 

 

 

 

20

 

Can a human doctor be replaced by an Expert System? Give reasons to support your answer.

 

ANS:-

 

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

 

  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. 1.                       Data entry

 

  1. 2.                       Data updates

 

  1. 3.                       Data security

 

ANS:-

 

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

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

 

 

 

 

21

 

 

  1. a.           Image Preloading process

 

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

 

  1. This step starts the down-loading of the image into the cache without actually displaying
  2. 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.

 

FINALTERM EXAMINATION

 

Fall 2009

 

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?

 

 

 

 

 

22

 

ANS:-

 

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?

 

ANS:-

 

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: 37  ( Marks: 3 )

 

Elaborate Vector or Object oriented graphics with atleast one example.

 

ANS:-

 

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: 39  ( Marks: 5 )

 

Why should we, as computing professionals, be interested in studying the social implications of our creations?

 

ANS:-

 

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

 

 

 

23

 

Developer

 

Executive Team

 

Support Team

 

ANS:-

 

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.

 

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.

 

 

FINALTERM EXAMINATION

 

Fall 2009

 

Question No: 32   ( Marks: 1 )

 

 

 

 

 

24

 

What are the types of computer network according to the distance between nodes?

 

ANS:-

The types of computer network according to the distance between nodes are:

 

  1. LAN
  2. WAN

 

Question No: 35   ( Marks: 3 )

 

What is the difference between Internet and Intranet?

ANS:-

 

The Internet is an open, public space, while an intranet is designed to be a private space. An intranet may be accessible from the Internet, but as a rule it’s protected by a password and accessible only to employees or other authorized users

 

Question No: 36   ( Marks: 3 )

 

Write down three advantages of using Functions in a program.

 

ANS:-

 

*  Debugging is easier

 

*  It is easier to understand the logic involved in the program

*  Testing is easier

*  Recursive call is possible

*  Irrelevant details in the user point of view are hidden in functions

 

*  Functions are helpful in generalizing the program

 

Question No: 39   ( Marks: 5 )

 

List any five issues of Data Management.

ANS:-

 

Data entry

 

Data updates

Data integrity

Data security

 

Data accessibility

 

Question No: 40   ( Marks: 10 )

 

How can you make your website’s structure more navigable?

ANS:-

 

A properly planned website project makes the organization, development and the design of the website easier for the designer. Effective planning allows a website designer to produce a website more navigable and usable for the site’s readers, allowing them to find the desired information. You can accomplish this by establishing and maintaining a creative focus throughout the design process and throughout the implementation.

 

Four steps for planning your website structure

 

  1. Discover the correct niche for your website
  2. Find correct keywords and choose the most profitable website concept for you.

 

  1. Make your final website concept ever more profitable by analyzing and using the competition.
  2. Build the optimal structure of your website that corresponds with your table of highly profitable keywords.

 

 

 

 

25

 

The correct structure will make your site easy and navigable for both your visitors and your search engine spider

 

Question No: 41   ( Marks: 10 )

 

Define network organization? What are important features of network organization? (4+6)

ANS:-

 

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.

 

FINALTERM EXAMINATION

 

Fall 2009

 

Question No: 32 ( Marks: 1 ) What is an IP address ?

 

ANS:-

 

Every device connected to the public Internet is assigned a unique number known as an Internet Protocol (IP) address.

 

Question No: 34  ( Marks: 2 )

Define semantic web with respect to the present web?

ANS:-

 

The Semantic Web is an idea of World Wide Web inventor Tim Berners-Lee that the.Web as a whole can be made more intelligent and perhaps even intuitive about how to serve a user’s needs.

 

Question No: 38  ( Marks: 5 )

What is the role of usability in the design of a website?

ANS:-

 

On the Web, usability is a necessary condition for survival. If a website is difficult to use, people leave. If the homepage fails to clearly state what a company offers and what users can do on the site, people leave. If users get lost on a website, they leave. If a website’s information is hard to read or doesn’t answer users’ key questions, they leave.

 

 

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

 

 

 

 

26

 

array elements:

 

MIS, Java, Algorithms, Databases, C++

 

Show all values in reverse order.

 

 

FINALTERM EXAMINATION

 

Fall 2009

Question No: 31   ( Marks: 1 )

What is an Array?

 

ANS:-

 

An indexed list of elements.

 

Question No: 34   ( Marks: 2 )

 

Which benefits a developer can achieve by following the heuristics for system architecting?

 

ANS:-

 

 

Question No: 36 ( Marks: 3 ) Define Primary key and Queries

 

ANS:-

 

Primary Key

 

Primary key is a field that uniquely identifies each record stored in a table.

Queries

Queries are used to view, change, and analyze data. They can be used to combine data from different table and extract the exact data that is desired.

 

 

Question No: 37   ( Marks: 3 )

 

Briefly describe Holographic Storage.

 

ANS:-

 

Holographic Storage

 

  • Digital data stored in and read from a 3-D optical material with the help of lasers
  • Depending upon the material, they could be read-only or R/W
  • • The data density (quantity of data stored per unit volume) will be millions of times more than anything available today

 

  • • The concept has been validated but commercial applications are at least 10 years away

Question No: 39   ( Marks: 5 )

 

What is Robotics? How Robots making our daily and industrial life easy?

ANS:-

 

Robotics

 

These are the machines which are computer programmed and perform work which was previously done by humans. They can be found in the manufacturing industry, the military, space exploration and medical applications.

 

FINALTERM EXAMINATION

 

Fall 2008

 

 

 

 

 

27

 

Question No: 31  ( Marks: 1 )

 

When does recursion occur?

ANS:-

 

The power of recursion evidently lies in the possibility of defining an infinite set of objects by a finite statement.

 

Question No: 34  ( Marks: 2 )

 

List down the names of two array methods available in JavaScript.

ANS:-

 

  1. sort( ) [sorts elements in alphabetical order]

 

  1. reverse( ) [Reverses the order of elements]

 

Question No: 36  ( Marks: 3 )

 

How can we include images in a web page using HTML and Java script?

ANS:-

 

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.

ANS:-

 

The identifier of the event handler 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?

ANS:-

 

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

ANS:-

 

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: 41  ( Marks: 10 )

 

How instant messaging works? Write the steps involved in this process.

 

 

 

 

 

28

 

ANS:-

 

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.

 

  1. IM client finds the IM server & logs in.

 

  1. It launches communication info (IP address, etc) to the IM server.
  2. IM server finds user’s contacts & sends him/her the communication info.

 

  1. IM server also notifies the contacts that the user is online; sends his/her communication info to them.
  2. The user’s & the contact’s IM clients are ready to communicate directly (P2P).
  3. As new contact has come online, IM server informs them about the user being online & vice versa.

 

  1. Multiple, real-time chat are possible.
  2. 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.

 

 

 

 

 

MC100401285                        moaaz.pk@gmail.com                                       MOAZ SIDDIQ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

29

 

VU CS101- Introduction To Computing FinalTerm Solved Unsolved Past Papers

VU CS101- Introduction to Computing FinalTerm solved unsolved past papers

VU CS101- Introduction To Computing FinalTerm Solved Unsolved Past Papers

CS101 Final Paper#1 (Solved)

1. Write a note on other virus like programs (10)

Answer:

Other Virus-Like Programs

There are other computer programs that are similar to viruses in some ways but different in some others

Three types:

Trojan horses

Logic- or time-bombs

Worms

 Trojan Horses

Unlike viruses, they are stand-alone programs

The look like what they are not

They appear to be something interesting and harmless (e.g. a game) but when they are executed, destruction results

Logic- or Time-Bombs

It executes its payload when a predetermined event occurs

Example events:

A particular word or phrase is typed

A particular date or time is reached

 Worms

Harmless in the sense that they only make copies of themselves on the infected computer

Harmful in the sense that it can use up available computer resources (i.e. memory, storage, processing), making it slow or even completely useless

Designing, writing, or propagating malicious code or participating in any of the fore-mentioned activities can result in criminal prosecution, which in turn, may lead to jail terms and fines!

2. What is holographic storage? (2 marks)

Answer:

Holographic storage:

Holographic data storage is a potential replacement technology in the area of high-capacity data storage currently dominated by magnetic and conventional optical data storage.

3. What is semantic web and how is it different from normal web? (2

marks)

Answer:

Symantec Web:

The Semantic Web is the future generation in WWW technology. It envisages information from diverse sources being easily combined and used in profoundly different and more powerful ways.

4. Write the types of computer networks? (2 marks)

Answer:

Types of Computer Networks according to the network access policy

Private

Public

5. What are structured vector graphics? (3 marks)

Answer:

 Structured Vector Graphics

New format; may become more popular than Flash

Plug-in required

Text-file storage; search engine friendly

6. What is in line java script event handling? (5 marks)

Answer:

In-Line JavaScript Event Handling:

Event handlers are placed in the BODY portion of a Web page as attributes of HTML

Tags

The event handler attribute consists of 3 parts:

The identifier of the event handler

The equal sign

A string consisting of JavaScript statements enclosed in double or single quotes Multiple JavaScript statements (separated by semicolons) can be placed in that string, but All have to fit in a single line; no new line characters are allowed in that string Due to this limitation, sophisticated event handling is not possible with in-line event Handling

Ppaer#2 CS101 (Solved)

1. Define the term 3D Rendering? (2 marks)

Answer:

3D Rendering:

The process of converting information about 3D objects into a bit map that can be displayed on a 2D computer display

Computationally, very expensive!

Steps:

Draw the wire-frame (skeleton, made with thin lines)

Fill with colors, textures, patterns

Add lighting effects (reflections shadows)

2. What is an intelligent system? (2 marks)

Answer:

Intelligent system:

SW programs or SW/HW systems designed to perform complex tasks employing

strategies that mimic some aspect of human thought.

3. What is a compiler? Write its one benefit over interpreter? (5 marks)

Answer:

Compiler:

Compiler translates the program written in a HLL in one go. The translated code is then used by the up whenever the program needs to be run.

To run a program you’ve written, e.g. in JAVA, it must first be translated into machine code so the computer can read it. This is what compilers and interpreters do.

However, compilers convert the code all at once, save it, and then run it; whereas interpreters translate the code one line at a time, as it is run.

Interpreters tend to result in faster translating of code so they are used mostly for debugging. This is because if you used a compiler, you’d have to re-compile your entire project every time you changed one little thing.

4. Who is a computing professional? (3 marks)

Answer:

 Computing professional

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

5. What are Trojan Horses? (3 marks)

Answer:

 Trojan Horses

Unlike viruses, they are stand-alone programs

The look like what they are not

They appear to be something interesting and harmless (e.g. a game) but when they are executed, destruction results

6. What is ICMP? (3 marks)

Answer:

ICMP stands for Internet Control Message Protocol.

7. What is ARPANET and who developed it? (5 marks)

Answer:

The Advanced Research Projects Agency Network (ARPANET), was the world’s first operational packet switching network and the core network of a set that came to compose the global Internet. The network was created by a small research team at the Massachusetts Institute of Technology and the Defense Advanced Research Projects Agency (DARPA) of the United States Department of Defense. The packet switching of

the ARPANET was based on designs by Lawrence Roberts of the Lincoln Laboratory.

8. Write down the  advantages of Natural Language Pro cessing. (5 marks)

Answer:

If your question is more specifically about prolog vs the more commonly seen OO

languages I would argue that you’re really comparing apples to oranges – the “advantage”

(such as it is) is just a different way of thinking about the world, and sometimes changing the way you ask a question provides a better tool for solving a problem.

CS101 Final Paper#3 (Solved)

1. What is meant by universal access of internet services? (2 marks)

Answer:

Universal access of internet services means same functionality to every one.

2. How can we include images in a web page using HTML and Java

script?

(3 marks)

Answer:

 Images in HTML

It is quite straight forward to include gif and jpg images in an HTML webpage using the

<IMG> tag.

Format: <IMG src=URL, alt=text height=pixels width=pixels

align=”bottom/middle/top”>

 Images in Java script

Images in java script can be manipulated in many ways using the built in object image.

Properties: name,border,complete,height,width,hspace,bspace,lowsrc,src

Methods: none

Event handler: on Abort, on error, on load etc.

3. Define Primary key and Queries? (3 marks)

Answer:

 Primary Key

Primary key is a field that uniquely identifies each record stored in a table.

 Queries

Queries are used to view, change, and analyze data. They can be used to combine data from different table and extract the exact data that is desired.

4. What is a compound condition? Give example. (3 marks)

Answer:

Compound condition is putting multiple statements at places where java script expects only one for those situations. This is done simply by enclosing any numbers of statements within curly braces, for example

{If ((day == “Sunday”) // (day == “Saturday”))

(Bhola = “cool”;

Mood = “great”;

Clothing = “casual”;}

5. Differentiate between For and While loop by writing the syntax of both

 loops.

(5 marks)

Answer:

The only difference between FOR loop and WHILE loop is the syntax for defining them.

There is no performance difference at all.

Syntax of both loops

For( x = 99 ; x < 6000 : x = x + 1)

{ document . write (x) :}

While (tanks full == false )

{ tank = tank + bucket : }

Document. write (“tank is full now”);

6. Can a human doctor be replaced by an Expert System? Give reasons to

support your answer. (5 marks)

Answer:

Yes, a human doctor can be replaced by an expert system because systems that, in some limited sense, can replace an expert. Expert system can act as intelligent assistant to human experts or serve as a resource to people who may not have access to expert. And also the purpose of all application (expert system) is not to replace our human experts but to make their knowledge and experience more widely available.

7. How education is changed because of advancements in the field of

computing? (10 marks)

Answer:

1. Distance learning has received a boost due to the low price of internet and the availability of web based interactive content.

2. Physical location is less of a hindrance now.

3. It has also become possible for students to interact with other students as well as teachers situated along distance from them.

4. Students enrolled in distance education programs have more control over what they want to learn, how and when they want to learn.

5. The lack of face to face interaction and immediate questions and answers reduce the amount of knowledge that can be transferred from the teacher to the students.

6. Computer based distance education may be the only source of high quality education for many, especially those in remote locations.

7. Distance education is the best mode of education and convenient, which has become more effective with the augmentation of computer based learning.

8. Distance learning is also world most important education system by which we can study at home and manage or get our study materials online.

9. Also Distance learning allows us to refer online quizzes, assignments timely.

10. By this field of computing one can get billions of knowledge by searching through internet.

CS101 Paper#4 (solved)

1. What does NIC stand for? (1 mark)

Answer:

NIC stands for National Identity Card.

2. Name any software which can be used to make a presentation. (1 mark)

Answer:

Presentation Development SW is used to make a presentation.

3. How does a JavaScript array are heterogeneous? (2 marks)

Answer:

 JavaScript Arrays are Heterogeneous

Unlike many other popular languages, a JavaScript Array can hold elements of multiple Data types, simultaneously

a = new Array (9);

b = new Array (13);

b [ 0 ] = 23.7 ;

b [1 ] = “Bhola Continental Hotel” ;

Introduction to Computing –CS101 VU

© Copyright Virtual University of Pakistan

181

b [ 2 ] = a ;

4. What is the database? (2 marks)

Answer:

Database:

A collection of data organized in such a fashion that the computer can quickly search for a desired data item

All data items in it are generally related to each other and share a single domain They allow for easy manipulation of the data

They are designed for easy modification & reorganization of the information they contain

They generally consist of a collection of interrelated computer files.

5. Differentiate between LAN and WAN with one example of each. (3

marks)

Answer:

LAN

WAN

A network of computers located in the

A network in which computers are

same building or a handful of nearby

separated by great distances, typically

buildings.

across cities or

even continents

May consist of several interconnected

LANs

Example: Computer network at your PVC

Example: The network connecting the

ATM of a bank located in various cities

6. What are Trojan Horses? (3 marks)

Answer:

 Trojan Horses

Unlike viruses, they are stand-alone programs

The look like what they are not

They appear to be something interesting and harmless (e.g. a game) but when they are executed, destruction results

7. What do you mean by FTP or File Transfer Protocol? (3 marks)

Answer:

File Transfer Protocol (FTP), a standard Internet protocol, is the simplest way to exchange files between computers on the Internet. Like the Hypertext Transfer Protocol (HTTP), which transfers displayable Web pages and related files, and the Simple Mail

Transfer Protocol (SMTP), which transfers e-mail, FTP is an application protocol that uses the Internet’s TCP/IP protocols. FTP is commonly used to transfer Web page files from their creator to the computer that acts as their server for everyone on the Internet.

It’s also commonly used to download programs and other files to your computer from other servers.

8. What are the responsibilities and profile of a Team Lead? (5 marks)

Answer:

 Team Lead

• Responsibilities:

– Planning and tracking of the project

– Detailed design

– Professional development of team members

– In case of small teams, development activities

• Profile:

– 5+ years of development experience

– Excellent interpersonal skills

– Good planning skills

– Good design skills

9. Is tabular data storage better than flat file data storage?

Answer:

Yes tabular data storage is better than flat file data storage

CS101 Paper#5 (Solved)

1. What are Local or Function-level Variables? (1 MARK)

Answer:

In computer science, a local variable is a variable that is given local scope. Such a variable is accessible only from the function or block in which it is declared. In programming languages with only two levels of visibility, local variables are contrasted with global variables, on the other hand, many ALGOL-derived languages allow any

number of levels of nested functions with private variables, functions, constants and types hidden within them.

2. What is a function? Give one  example. (2 marks)

Answer: User Define Functions are used to define its own T-Sql Function which can have 0 or more input parameters and

Returns a single scalar data value type or table data type.

We have three type of UDF:-

1. Scalar user defined function

2. Inline table valued Function

3. Multiple table valued function

3. What is the Data Normalization? Also define its goal. (2 marks)

Answer:

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

4. What is the preferred organizational structure for the organization? (3

marks)

Answer:

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.

5. Differentiate Local and Global Variables. (3 marks)

Answer:

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.

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

(3 marks)

Answer:

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.

7. How DoS attack is a cyber crime? For what cyber crime can be used? (5

marks)

Answer:

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.

CS101 Paper#6 (Solved)

1. What are the elements of website design? Any one (1 mark)

Answer:

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

2. What kind of information can be stored in a database ?(2 marks)

Answer:

Numbers, Booleans, text

Sounds

Images

Video

3. Why hub is used in networks? (2 marks)

Answer:

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

4. Write names of the DoS attack’s phases? (2 marks)

Answer:

DoS (Denail of service): DoS attach has in total 3 phases and below they are listed:

1. Search

2. Arm

 3. Attack

5. What do you mean by FTP or File Transfer Protocol? (3 marks)

Answer:

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

6. How many types of errors can be found during a program development?

List them. (3 marks)

Answer:

1. Syntax errors

2. Semantic errors

3. Run-time errors

7. Why the number of temporary workers is on the rise? Discuss main

reasons? (5 marks)

Answer: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.

8. Define network organization? What are important features of network

organization? (4+6)

Answer:

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

2. Changes according to the demand of the times

3. Works effectively to meet the business goals of the organization

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

CS101 Paper#7 (Solved)

1. What is bandwidth? (1 mark)

Answer:

Bandwidth is a capacity of communication channel of carrying data.

2. What is “My Personal Agent”? (1 mark)

Answer:

A computer programe that work automatically and have voice interface

3. For what purposes FTP is used in networks ? (2 marks)

Answer:

To download or upload files / data to a remote computer

4. How can you define a readable program? (2 marks)

Answer:

A program that is easy to read & understand also easy to maintain and enhance.

5. What is the preferred organizational structure for the organization? (2

marks)

Answer:

The Network Organization: It is becoming the preferred organizational structure.

6. can you define a consistent web design? Why is it needed? (3 marks)

Answer:

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.

7. Elaborate Vector or Object oriented graphics with atleast one example.

(3 marks)

Answer:

Vector treats everything that is drawn as object, they are resolution in dependent and relatively small file size. For example swg, svg, wmf.

8. What are the advantages of multimedia presentations? Write any five. (5

marks)

Answer:

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

9. Can a human doctor be replaced by an Expert System? Give reasons to

support your answer. (5 marks)

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.

10. Explain the following issues of Data Management? (3+4+3)

Answer:

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

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

11. Write a note on the followings (10 marks)

a. Image Preloading process

b. Animated Gifs

Answer:

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.

CS101 Paper#8 (Solved)

1. SMTP stands for what? (1 mark)

Answer:

SMTP, Simple Mail Transfer Protocol (internet email).

2. What are the types of computer network according to the distance

between nodes?

(5 mark)

Answer:

Types of Computer Networks according to the distance between nodes

LAN: Local Area Network)

WAN: Wide Area Network)

 LAN

A network of computers located in the same building or a handful of nearby buildings Examples:

–Computer network at your PVC

–Computer network of a University campus

 WAN

A network in which computers are separated by great distances, typically across cities or even continents

May consist of several interconnected LANs

Example:

–The network connecting the ATM of a bank located in various cities

–A network connecting the local and oversea offices of a SW house

–Internet

3. What is the difference between Internet and Intranet? (2 marks)

Answer:

There’s one major distinction between an intranet and the Internet: The Internet is an open, public space, while an intranet is designed to be a private space. An intranet may be accessible from the Internet, but as a rule it’s protected by a password and accessible only to employees or other authorized users.

4. List any five issues of Data Management. (5 marks)

Answer:

– Low leverage of data assets

– Decentralized Data Management

– Data Security

– Audit ability

– Inefficient use of Resources

5. What does TCP/IP stand for? (1 mark)

Answer:

TCP/IP stands for Transmission Control Protocol/Internet Protocol, which is a set of networking protocols that allows two or more computers to communicate.

CS101 Paper#9 (Solved)

1. In programming, what is an object? (1 mark)

Answer:

It is a named collection of properties and methods.

2. What kind of information can be stored in a database? (1 mark)

Answer:

It can store numbers, boleans, sound, video, images etc.

3. Define the key weakness of the web? (2 marks)

Answer:

Initially web was designed only for humans to read not for computers to understand it.

4. How can we define a Pixel? (3 marks)

Answer:

It is the smallest element of image which is spread with regular array on display and each element consist of particular color.

5. How marketing strategies are changed with the progress in computing?

How new marketing strategies are implemented? (5 marks)

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.

6. Write a brief note on each of the following. (10 marks)

 FTP

 Telnet

 Instant messaging

 VOIP

Answer: 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.

7. What are Commonsense Guidelines to avoid viruses? Discuss about

Antivirus as well. (10 marks)

Answer:

Commonsense Guidelines to avoid viruses are as follows:

1. Do not open attachment of unwanted emails.

2. Don’t used copied/pirated Software

3. Regularly place data somewhere as backup

4. Use Registered and Trusted Software only.

5. Install Antivirus in the system

6. Update your Windows and software with the passage of time.

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. This software is available on the CD’s and DVD’s. These software 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.

CS101 Paper#10 (Solved)

1. What is bandwidth? (1 mark)

Answer:

Bandwidth is a capacity of communication channel of carrying data.

2. What is “My Personal Agent”? (1 mark)

Answer:

A computer program that work automatically and have voice interface

3. For what purposes FTP is used in networks ? (1 mark)

Answer:

To download or upload files / data to a remote computer

4. How can you define a readable program? (2 marks)

Answer:

A program that is easy to read & understand also easy to maintain and enhance.

5. What is the preferred organizational structure for the organization? (2

marks)

Answer:

The Network Organization: It is becoming the preferred organizational structure.

6. How can you define a consistent web design? Why is it needed? (3

marks)

Answer:

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.

7. Elaborate Vector or Object oriented graphics with atleast one example.

(3 marks)

Answer:

Vector treats everything that is drawn as object, they are resolution in dependent and relatively small file size. For example swg, svg, wmf.

8. What are the advantages of multimedia presentations? Write any five. (5

marks)

Answer:

Multimedia presentation is a great tool for effective communication:

Advantages:

6. Easy to make last minute change

7. More attractive

8. Can include animation, videos etc.

9. Better presentation easy to understandable for participants comparing to manual presentation.

10. Undo feature

9. Can a human doctor be replaced by an Expert System? Give reasons to

support your answer. (5 marks)

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:

A large database of knowledge can be added to and kept up to date; it can store more knowledge than a person.

The Expert System cannot FORGET or get facts wrong.

It survives forever. There is no loss of knowledge as there is when a doctor retires.

The Expert System can access specialist knowledge that a doctor may not have.

10. Explain the following issues of Data Management? (3+4+3)

Data entry

Data updates

 Data security

Answer:

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

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

CS101 Paper#11 (Solved)

1. Write a note on the followings (10 marks)

c. Image Preloading process

 d. Animated Gifs

Answer:

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.

2. What are application software? List down the names of three

application software (3 marks)

Answer:

Definition: Application Software are that software then can interact directory with the user for performance of respective type of work.

Following are the types of Application Soft wares:-

 AutoCAD and Corel Draw

 Business Software

 Productivity SW

 Games Software

3. Why Local variable is preferred over Global variable? (5 marks)

Answer:

In my point of view Global variable has some advantage with Local variables is preferred due to the following reasons:-

When we declare any global variable in web page then in case of error and logic it’s very difficult to see on which line this variable is used and what’s his value if we have more than 2000 lines and all the functions in web page using that Global Variable so Global variables can make the logic of a Web page difficult to understand.

As we know we can use Global variable everywhere so Global variables also make the reuse and maintenance of your code much more complex.

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

events? (5 marks)

Answer:

In java script we can capture events on do some operation on the basis of that particular event. For example we want to load some data on web page then with the help of event handling we can do this operation by using onLoad event.

We can put Event handlers in the body of web page and also in attributes of HTML.

From the attribute we can call any JavaScript function that will do his operation and come back. Now we can also interact with server side with the help of AJAX in JavaScript function.

In-Line Event Handling

We can place event handlers in the BODY part and also in HTML attributes the event handlers attributes consist of 3 parts the event handler, equal sign and a string of JavaScript statement enclosed in quotes (single or double). And one more thing these should be put in one line without newline due to this sophisticated event handling is not possible with in-line event handling.

5. What is Structured Vector Graphics? (2 marks)

Answer:

This is a plug-in that is required to view swf (flash) files in the web browser

6. What kind of new jobs are created because of computing? And which

old professions are being eliminated? (3 marks)

Answer:

Due to computing where people are getting benefits from automated systems on the other hand the people that are with KHATA system or Manual system and they don’t know about computers are eliminated due to this reason and people take place of many people. We can see in the offices where before computer if there are four person required now only one person is required for example with the help of database we can store more than thousand of information and only one person is managing the whole data that is DBA. In the old system many people are writing the data in registers and then its also very difficult to find the specific record.

Now we can see companies are hiring:-

Data Entry Operators

System Engineers

Software Developer

 DBA etc.

7. What are Logic- or Time-Bombs? (3 marks)

Answer:

It execute the payload when predetermined event occurs

For example use type particular phrase and particular data is reached.

8. What do you mean by FTP or File Transfer Protocol? (3 marks)

Answer:

This protocol is used to upload the files on remote computers. This is used to transfer files between computer on TCP/IP network e.g. internet and now a day’s many software are available for uploading files using FTP like Mozila FTP, cute FTP etc.

9. Why should we, as computing professionals, be interested in studying

the social implications of our creations? (3 marks)

Answer:

If we see our life then we can judge computing technology is changing our life fast if we compare with other technology.

We should highlight the mistakes and successes of the past. We should learn then and select future direction accordingly. Computers are keep becoming more and more powerful and gaining more autonomy.

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

(3 marks)

Answer:

DoS is the crime but of a new type. A new type for policing system is required to tackle such crimes.

Cyber Crime can be used to Damage a home computer, Bring down the Business, Weaken the financial and defense system of country.

In programming, what is an object ?

Answer: It is a named collection of properties and methods.

CS101 Paper#12 (Solved

1. What kind of information can be stored in a database ? (1 mark)

Answer:

It can stored numbers, Booleans, sound, video, images etc.

2. Define the key weakness of the web? (2 marks)

Answer:

Initially web was designed only for humans to read not for computers to

understand it.

3. How many iterations would this ‘for’ loop run for? (2 marks)

for ( x = 50 ; x < 0 ; x = x – 1 ) {

document.write ( x ) ;

}

Answer:

50 iterations

4. How can we define a Pixel? (2 marks)

Answer:

It is the smallest element of image which is spread with regular array on display and each element consist of particular color.

5. How marketing strategies are changed with the progress in computing?

How new marketing strategies are implemented? (5 marks)

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.

6. Write a brief note on each of the following. (10 marks)

FTP

Telnet

Instant messaging

VoIP

Answer:

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.

7. What are Commonsense Guidelines to avoid viruses? Discuss about

Antivirus as well. (10 marks)

Answer:

Commonsense Guidelines to avoid viruses are as follows:

8. Do not open attachment of unwanted emails.

9. Don’t used copied/pirated Soft wares

10. Regularly place data somewhere as backup

11. Use Registered and Trusted Soft wares only.

12. Install Antivirus in the system

13. Update your Windows and software with the passage of time.

14. 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 soft wares are available on the CD’s and DVD’s. These soft wares 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.

CS101 Paper#13 (Solved

1. What is the out put of the following JavaScript code ? (1 mark)

 name=”Ali Akbar”;

 document.write(name.charAt(4)) ;

Answer:

A

2. What does WAN stand for? (2 marks)

Answer:

Wide Area Network – A network in which computers are separated by great

distances typically across cities or even continents.

3. Why hub is used in networks? (2 marks)

Answer:

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.

4. What is output of the following JavaScript code? (2 marks)

Str=”Virtual University of Pakistan”;

document.write(str.substring(5,str.length)) ;

5. Explain how many ways businesses monitor their employees? (3 marks)

Answer:

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.

6. Diffentiate Local and Global Variables. (3 marks)

Answer:

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.

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

(3 marks)

Answer:

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,

8. Why should we, as computing professionals, be interested in studying

the social implications of our creations? (5 marks)

Answer:

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.

9. Write responsibilities of the followings (5 marks)

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.

CS101 Paper#14 (Solved

1. What is a function? Give one example. (2 marks)

Answer:

Function is a reusable code (group of statement) that is executed when the function is called. It is also known as sub-program. Function is normally defined in the head section of the code.

2. What is an intelligent system? (2 marks)

Answer:

Intelligent systems are the programs developed to perform complicated jobs that reflect human brain and thoughts. If the algorithms are too much complex or can not be solved instantly then we can use such systems. Therefore the well intelligent system not only performs well but it has the capability to rectify any errors by himself if it occurs within his domain. The examples of intelligent systems are Robotics, Business Intelligence …etc.

3. What is meant by semantic error? (3 marks)

Answer:

It is an error which a developer encounters when a statement is executed but it was not intended by him (the developer). Such errors are very difficult to locate during testing. Mostly these occur during abnormal circumstances. It may be referred as the logical error.

4. What is best algorithm? (3 marks)

Answer:

Greedy algorithm is the best algorithm as it is n algorithm that always takes the best immediate or local solution while finding an answer.

5. How can we include images in a web page using HTML and Java

script? (3 marks)

Answer:

Images can be included in HTML by employing <IMG> tag, below is the format of <IMG>

<IMG src=URL, alt=text height=pixels width=pixels align=”bottom|middle|top”>

6. What are the Sub categories of Artificial Intelligence? Briefly explain

any two. (3 marks)

Answer:

1. Robotics

These are the machines which are computer programmed and perform work which was previously done by humans. They can be found in the manufacturing industry, the military, space exploration and medical applications.

2. Expert Systems

These systems are designed to replace an expert. The medical expert system is an example of such system which can replace a Doctor/medical expert.

7. What are the steps of working of TCP and IP protocols in internet

transmission? (3 marks)

Answer:

TCP divide messages in to many packets (capsulation) and sent these messages over the internet and IP route these messages on the internet to the correct destination and upon reaching the messages on its destination the messages are encapsulated.

8. What is ARPANET and who developed it?(5 marks)

Answer:

ARPANET stands for Advanced Research Projects. The initial purpose was to communicate with and share computer resources among mainly scientific users at the connected institutions. In the beginning it was connected four universities and enabled scientists to share resources.

It was headed by Dr. J.C.R. Licklider.

CS101 Paper#14 (Solved

1. For what purposes FTP is used in networks? (2 marks)

Answer:

FTP is a service of internet. FTP was to transfer files between computers on ECP/IP network e.g.:-simple commands allows the user to list, creators on a remote computer upload or downloads .Typical we transferring web content from the developers PC to the web servers.

2.What is the Data Normalization? Also define its goal.(2 marks)

Answer:

It is to sort complex data into simple from. It uses to simplify the complex information to make it more users friendly.

3.Define the key weakness of the web?(3marks)

Answer:

A Web was designed for humans to read, not for computers to understand and manipulate meaningfully. As, computers language is different from human language, computer face great problems in dealing with the current text and graphics-based contact of the web.

4.What kind of new jobs are created because of computing? And which old

professions are being eliminated? (3 marks)

Answer:

Due to computing where people are getting benefits from automated system on the other hand the people that are with KHATA system or manual system and they do not now anything about computer are eliminated due to reasons before computer 4 people required in a office and now only 1 person required and in old system many people are writing the data in a registers and then its abosvery difficult to find the specific record but with the help of database we can store more than 1000 of information and only one person is managing the whole data that is DBA.

5.What is the difference between Internet and Intranet ? (5 marks)

Answer:

Intranet and internet are 2 domains that are very a like but often segregated in order to maintain security. Internet is where I am having exam now it provides access to the rest of digital world e.g:- world wide web .Intranet is a small varsim of this used by companies and is normally local, e.g:- only the people who work those have access to the information being shared on its seriver.There is one major distination between an intranet and the internet the internet is an open, public places while intranet is in only in pravite places.

6.Differentiate between on Load and on Unload(3 marks)

Answer:

On load executes the specified JavaScript code when a new document is loaded into windows.

ON Unload executes he specified JavaScript code when a user exits a document.

7. Mention any five applications of Artificial Intelligent System.(3 marks)

Answer:

1)Medical Diagnosis 2)Robots 3) Games 4) Business intelligence 5)Image Recognition.

8 What is an IP address? (1 mark)

Answer:

Every machine on the Internet has a unique identifying number, called an IP

Address. A typical IP address looks like this:

216.27.61.137

9 What is internet? (2 marks)

Answer:

The Internet, sometimes called simply “the Net,” is a worldwide system of computer networks – a network of networks in which users at any one computer can, if they have permission, get information from any other computer (and sometimes talk directly to users at other computers).

10Define semantic web with respect to the present web? (2 marks)

Answer:

In the Semantic Web data itself becomes part of the Web and is able to be

processed independently of application, platform, or domain. This is in contrast to the World Wide Web as we know it today, which contains virtually boundless information in the form of documents. We can use computers to search for these documents, but they still have to be read and interpreted by humans before any useful information can be extrapolate

 

 

VU CS101- Introduction To Computing FinalTerm Solved Unsolved Past Papers

ALL NEW RESULTS
Educational News

Updated Educational News

Categories
POSTS BY DATE
December 2016
M T W T F S S
« Sep    
 1234
567891011
12131415161718
19202122232425
262728293031