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 ‘past papers Fall 2009’

VU CS201- Introduction to Programming FINALTERM solved unsolved past papers Fall 2009

VU CS201- Introduction To Programming FINALTERM Solved Unsolved Past Papers Fall 2009

FINALTERM  EXAMINATION

Fall 2009

CS201- Introduction to Programming

Time: 120 min

Marks: 75

If we write a statement like s2 = s1; ___ will be the calling object and ____ will be passed to the = operator as an argument.

       ► s1, s1

       s1, s2

       s2, s1

       ► s2, s2

What will be the output of following statement?

cout << setfill(‘0’) << setw(7) << 128 ;

       0000128

       ► 0128128

       ► 1280000

       ► 0012800

The stream insertion and extraction operators are not already overloaded for _______

       Built-in data types

       ► User-defined data types

       ► Both built-in and user-defined types

       ► None of the given options

Constructors can not be overloaded like ordinary functions.

       True

       ► False

Overloaded new operator function takes parameter of type size_t and returns

       ► void (nothing)

       void pointer

       ► object pointer

       ► int pointer

Which of the following is the correct way to declare a variable x of integer type?

       ► x int ;

       ► integer x ;

       int x;

       ► x integer

Reserve words cannot be used as a variable name.

       True

       ► False

A template function must have at least ———- generic data type

       ► Zero

       ► One

       Two

       ► Three

Template functions can also be overloaded

       True

       ► False

We can not make a member function of a class as template function.

       True

       False

When break statement is encountered in switch statement, it

       ► Stops the entire program

       Stops the execution of current statement

       Exits from switch statement

       ► None of the given options

We can also define a variable of user define data type (object) as static.

       True

       ► False

The declarator of Plus (+) member operator function is

       ► Class-Name  operator + (Class-Name  rhs)

       operator Class-Name + ( )

       ► operator Class-Name + ( rhs)

       ► Class-Name  operator + ( )

Let suppose

    int a, b, c, d, e;
  a = b = c = d = e = 42;

This can be interpreted by the complier as:

       a = (b = (c = (d = (e = 42))));

       ► (a = b = (c = (d = (e = 42))));

       ► a = b = (c = (d = (e = 42)));

       ► (a = b) = (c = d) = (e = 42);

What will be the range of numbers generated by function rand () % 9?

       0 to 9

       ► 1 to 9

       ► 0 to 8

       ► 1 to 8

Which of the following is the correct function call having array named student of 10 elements as a parameter.

       ► addRecord(student[]) ;

       ► addRecord(student) ;

       addRecord(student[10]) ;

       ► addRecord(*student) ;

Declaring structures does not mean that memory is allocated.

       ► True

       False

Identifier is a name that can be given to variables, labels and functions.

       True

       ► False

If a class A declares itself a friend of class B and a class B declares itself a friend of class C then

       Class A is also a friend of class C.

       ► Class B is also a friend of class A.

       ► Class A is also a friend of class C if A declares C as its friend.

       ► Class A is also a friend of class C if C declares A as its friend.

Which of the following statement is best regarding declaration of friend function?

       Friend function must be declared after public keyword.

       ► Friend function must be declared after private keyword.

       ► Friend function must be declared at the top within class definition.

       ► It can be declared anywhere in class as these are not affected by the public and private keywords.

A pointer is a special type of variable that contain ___________

       Memory Address

       ► Data values

       ► Both Values and Memory

       ► None of given of options

When memory for a program is allocated at run time then it is called ________

       ► static memory allocation

       dynamic memory allocation

       ► stack memory allocation

       ► virtual memory allocation

What purpose do classes serve?

       ► Data encapsulation

       ► Providing a convenient way of modeling real-world objects

       ► Simplifying code reuse

       All of the given options

Which of the following function cannot be overloaded?

       ► Member functions

       Utility functions

       ► Constructor

       ► Destructor

The following prototype of unary operator function indicates that it is ____________ .

Date operator++(int )

       Member functions of post increment operator

       Member functions of  pre increment operator

       ► Non-member functions of post increment operator

       ► Non-member functions of  pre increment operator

Static variable which is defined in a function is initialized __________.

       Only once during its life time

       ► Every time the function call

       ► Compile time of the program

       ► None of the above

In the member initializer list, the data members are initialized,

       From left to right

       ► From right to left

       ► In the order in which they are defined within class

       ► None of the given options

If we do not indent the code properly it will __________________

       ► Be a syntax error

       ► Be a logical error

       Not be an error at all

       ► None of the given options

Truth tables are used for analyzing ___________.

       ► logical expressions

       arithmetic expressions

       ► both logical and arithmetic expressions

       ► none of the given options.

Static memory allocation is also known as ____________

       ► Dynamic allocation

       Compile time allocation

       Run time allocation

       ► None of the given options

( Marks: 1 )

What does getline() member function of cin stream do?

   ( Marks: 1 )

When memory is allocated dynamically using new operator within the constructor of class then what is an appropriate place to de-allocate the memory?

 ( Marks: 2 )

What will be the output of following code, if user input a number 123?

int input ;

cin >> oct >> input;

cout << hex << input ;

( Marks: 2  

 

What is memory leak?

( Marks: 3 )

When we call calloc function to allocate memory and its return a NULL pointer what does it mean?

( Marks: 3 )

Read the given code and explain code functionality.

Matrix :: Matrix ( const Matrix & m )

{

numRows = m.numRows ;

numCols = m.numCols ;

elements = new ( double * ) [ numRows ] ;

for ( int  i = 0 ; i < numRows ; i ++ )

{

elements [ i ] = new double [ numCols ] ;

for ( int j = 0 ; j < numCols ; j ++ )

elements [ i ] [ j ] = m.elements [ i ] [ j ] ;

}

}

 ( Marks: 3 )

What is the keyword ‘this’ and what are the uses of ‘this’ pointer?

 ( Marks: 5 )

What do you mean by garbage collection and how it works in JAVA and C++ ?

( Marks: 5 )

Explain the concept of separation of interface from the implementation in the context of classes, using a real world example.

( Marks: 10 )

 Write a simple program using the get() member function of cin object reading a text of 30 characters from the keyboard, store them in an array and then using put() member function of cout object to display them on the screen.

( Marks: 10 )

Overload the Binary Assignment (=) Operator.

Write a program which has a class List, This class should have Two data members, an array of integers list[] and an integer variable length (i.e. number of elements in the list).The class should further contain a default  constructor,  a Print() function which display the list and a Function insert() which insert an element in the list and  Assignment (= ) Operator function, which contain code for the assignment of one object to other. .

In main function define two objects list1 and list2 and use the statement list2 = list1; and use (call ) print function with both objects

VU CS201- Introduction To Programming FINALTERM Solved Unsolved Past Papers Fall 2009

VU CS101- Introduction to Computing (Session – 2) FINALTERM solved unsolved past papers Fall 2009

VU CS101- Introduction To Computing (Session – 2) FINALTERM Solved Unsolved Past Papers Fall 2009

FINALTERM EXAMINATION

Fall 2009

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

Question No: 31 ( Marks: 1 )

What is the out put of the following JavaScript code ?

name=”Ali Akbar”;

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

Question No: 32 ( Marks: 1 )

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

nodes ?

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

1. LAN

2. WAN

Question No: 33 ( Marks: 2 )

What is meant by universal access of internet services ?

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

Question No: 34 ( Marks: 2 )

What is output of the following JavaScript code ?

Str=”Virtual University of Pakistan”;

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

Question No: 35 ( Marks: 3 )

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

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.

Question No: 36 ( Marks: 3 )

Define Primary key and Queries

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 )

What is a compound condition? Give example.

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

Question No: 38 ( Marks: 5 )

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

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

Question No: 39 ( Marks: 5 )

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

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

Question No: 40 ( Marks: 10 )

How education is changed because of advancements in the field of computing?

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.

Question No: 41 ( Marks: 10 )

Answer the following questions by looking at the code given below.

1- Which alert box will be displayed if variable ‘marks’ has value 75?

2- What is the range of the marks when the alert box displays the message

“Average performance”?

3- What is the range of the marks when the alert box displays the message

“That’s poor performance”?

4- Which alert box will be displayed if variable ‘marks’ has the value 100?

1. if (marks == 100)

2. {

3. alert(“You’ve touched a century”);

4. }

5. else if (marks >= 80 && marks < 100)

6. {

7. alert(“That’s good”);

8. }

9. else if (marks >= 60 && marks < 80)

10. {

11. alert(“Above average performance”);

12. }

13. else if (marks > 50 && marks < 60)

14. {

15. alert(“Average performance”);

16. }

17. else

18. {

19. alert(“That’s poor performance”);

20. }

Answer

1. alert(“Above average performance”);

2. else if (marks >= 60 && marks < 80)

3. else if (marks <=50)

4. alert(“You’ve touched a century”);

FINALTERM EXAMINATION

Fall 2009

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

► Type integrity

► Limit integrity

► Physical Integrity

Referential Integrity

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

Ada is a programming language specifically designed for

Analytical Engine

► Difference Engine

► Harvard Mark 1

► Mechanical engine

Question No: 31 ( Marks: 1 )

What are the elements of website design? Any one

Question No: 32 ( Marks: 1 )

What does TCP/IP stand for?

Question No: 33 ( Marks: 2 )

What is the database?

Question No: 34 ( Marks: 2 )

What is the use of Default keyword in switch structure?

Question No: 35 ( Marks: 3 )

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

Question No: 36 ( Marks: 3 )

Where “While” loop is more preferable than “For” loop and vice versa ? , explain with the

help of example.

Question No: 37 ( Marks: 3 )

What do you mean by FTP or File Transfer Protocol?

Question No: 38 ( Marks: 5 )

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

Question No: 39 ( Marks: 5 )

Write JavaScript code for the following:

Make a function compareWithTen(value)

Compare the function argument with ‘10’ and display a message whether the value is less

than, equal to or greater than 10.

Question No: 40 ( Marks: 10 )

What is the problem with Relational Database and what solution you can suggest for it?

Question No: 41 ( Marks: 10 )

Develop a web page that displays six thumbnail images. A main image should change to a

larger version of the thumbnail as soon as the mouse moves over a thumbnail image. Write

complete HTML and JavaScript code.

 

 

 

 

fINALTERM EXAMINATION

Spring 2009

CS101- Introduction to Computing (Session – 2)

Note:- MCQs in Blue are the sure answers and Yellow highlighted are Quarantined

ExamDate:7/2/2009 12:00:00 AM

Time 120

Marks: 75

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

__________ breaks down the message to be sent over the internet into packets.

FTP

HTTP

TCP (page.no.317)

IP

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

A protocol used for receiving email messages is called ____________.

URL

Telnet

POP3 (page.no.213)

SMTP

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

Aliasing problem can be managed by ____________the size of pixels.

Reducing (page.no.236)

Increasing

Gaining

Modifying

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

Variables allow us to manipulate data through the ___________.

Actual Value

Reference (page.no.143)

Length

Name

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

The __________ reserved word allows a determined action to be taken if the first

condition is false.

For

While

Else

Switch

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

ERP is a type of __________________ .

Entertainment software

Productivity software

Business software

Scientific software

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

What is/are the use/uses of Word processor?

To write a letter

To write Research paper or report

To create address labels

All of the given

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

Command that allows you to recover form mistakes is called __________.

Clear

Edit

Undo

Break

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

Automatic machines performing various tasks that were previously done by

humans, are called ____________.

Robotics (page.no.244)

Computers

Decision Making Systems

Autonomous Web Agents

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

The ______ is connected to all other modules of the microprocessor.

Control unit

Memory unit

Floating Point unit

Arithmetic and Logic unit

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

Database consisting of two or more related tables, is called _____________.

Flat file database

Object oriented database

Tabular storage database

Relational database (page.no.263)

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

_________ can be used for entering, editing, or viewing data, one record at a time.

Queries

Forms (page.no.263)

Reports

None of the given option

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

Distance learning has got a boost due to the ___________.

Easy communication

Online interactive contents

Flexibility

All of the given options

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

____________ DBMS supports data in terabytes.

Personal

Desktop

Enterprise

Single-user

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

After the DoS attack in year 2000, Yahoo servers were recovered in __________.

1 hour

2 hours

3 hours

4 hours

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

When web server is busy it gives the following message to the user :

Time out

Waiting

Server busy

None of the given options

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

To stop industrial espionage, we use__________.

Private network

Encryption

Network sniffer

All of the given options (page.no.277)

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

_______________ based communication allows business entities to coordinate the

activities of their globally spread units with greater accuracy.

Intranet

Internet

Home

LAN

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

onAbort , onError are the _______________ of the image object.

Event Handler (page.no.286)

Properties

Methods

None of the given options

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

Processed data is called ________.

Information

Data

Entity

Attribute

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

______ is a client program that uses HTTP to make requests to Web servers

throughout the internet on behalf of the user.

Web Application

Web Browser (page.no.18)

Internet Application

HTML

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

_______ consists of cells arranged in rows & columns

Spreadsheets Software

Word processor

Presentation Software

Microsoft Paint Software

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

Flow control constructs in JavaScript includes:

If-Else

Loops and If -Else

Switch and If-Else

All of the given choices

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

Which is NOT true for JavaScript variable name ?

Student

Roll_no_1111

For

_schedule

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

In JavaScript, second element of an array has the index:

2

0

1

3

JavaScript Array Basics

5 May 2008 … In this tutorial you learn what a JavaScript array is, … The first

element hasan index of 0, the second element has an index of 1, …

www.elated.com/articles/javascript-array-basics/ – Cached - Similar -

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

Which protocol is used to control other computer from our own computer ?

FTP

NNTP

TELNET (page.no.211)

None of the given choices

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

______ occurs when a function calls itself.

Recursion

Call by value

Call by reference

Parsing

Recursion – Wikipedia, the free encyclopedia

The function calls itself recursively on a smaller version of the input (n – 1) and

multiplies the result of the recursive call by n, until reaching the …

en.wikipedia.org/wiki/Recursion – Cached – Similar -

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

Which function returns a randomly selected floating point number between 0 and 1

?

floor(x)

ceil(x)

random()

round(x)

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

Using Java Script you can write a character at random location on screen

By applying randomCh() method

With the help of String object

With the help of random character property

There is no built in approach in Java Script

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

The most used form tag is the <input> tag.

True

False

Question No: 31 ( Marks: 1 )

What are the elements of website design? Any one

Question No: 32 ( Marks: 1 )

What kind of information can be stored in a database ?

Question No: 33 ( Marks: 2 )

What is meant by universal access of internet services ?

Question No: 34 ( Marks: 2 )

What is the database?

Question No: 35 ( Marks: 3 )

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

Question No: 36 ( Marks: 3 )

What is difference between Design and System Architecture?

Question No: 37 ( Marks: 3 )

What are Trojan Horses ?

Question No: 38 ( Marks: 5 )

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

Question No: 39 ( Marks: 5 )

Suppose we have a big project. Draw hierarchy of the people involved in the project?

Question No: 40 ( Marks: 10 )

Write down output for the following JavaScript code.

a) <script type=”text/javascript”>

document.write(Math.sqrt(25)); // output ?

</script>

b) <script type=”text/javascript”>

document.write(Math.pow(5, 3)); // output ?

</script>

c) <script type=”text/javascript”>

document.write(Math.min(5, 3)); // output ?

</script>

d) <script type=”text/javascript”>

document.write(Math.max(5, 3)); // output ?

</script>

e) <script type=”text/javascript”>

document.write(Math.floor(9.87)); // output ?

</script>

Question No: 41 ( Marks: 10 )

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

 

 

 

 

FINALTERM EXAMINATION

Spring 2009 Final

CS101- Introduction to Computing (Session – 2)

 

 

 

The transistor is a solid state semiconductor device used for amplification and

switching, and has __________ terminals.

one

two

three

four

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

Blue Pacific is a name of _____ computer.

Mini

Desktop

Micro

Super

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

Monte Carlo algorithm is an example of __________

Randomized algorithm (page.no.102)

Greedy algorithm

both greedy and randomized

Heuristics

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

A set of stand alone productivity applications designed to work together known as

______.

Productivity software suites

Compiled software

Secure software

Intelligent software

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

The most used form tag is the <input> tag.

True

False

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

What is the key feature of computer which is against human nature.?

Can’t get bored.

Can’t get bored.

Pattern recognition

Repetition

None

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

_____ was designed as a replacement for typewriter

Spreadsheet Software

Word Processor Software

Presentation Software

Database Software

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

Forms can be submitted by using _________ different methods

2

3

4

5

Methods are GET and POST

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

To display a checkbox on the web page, we use ___ tag

CHECKBOX

CHECK

INPUT

INPUTBOX

Checkbox is not not a tag, input is a tag,

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

_____ attribute of FORM tag is used to mention a URL when the form is being

submitted

name

action

method

submit

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

You can ________ from/to a website containing interactive forms.

Only read

Only write

Read and write

Not read and write

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

Using COLSPAN, number of rows of the current cell should extend itself None of the

given choices

Upward

Downward (page.no.56)

Both Upward and Downward

None of the given choices

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

ASCII WHITE is the fastest Super computer which can perform ___ calculations in

one second.

1.3 billion

1.3 trillion

1.3 miillion

1.3 thousand

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

____ is a related collection of WWW files that includes a beginning file called a

homepage

HTML

Website

HTTP

Web page

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

If a computer could pass the Turing test then it would be able to:

think like human beings

do the things faster

win a million dollar prize

store more information

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

The key strengths of computers are -

Speed

Storage

Do not get bored

All of the given choices

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

Compared to vacuum tubes, Transistors offer:

Much smaller size

Better reliability

Much lower cost

All of the given choices

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

Which of the following is NOT a component of IC?

Transistors

Diodes

Resistors

Vacuum tubes

Visit this Group of vuZs

http://groups.google.com/group/vuZs

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

When we use <INPUT type=“password”>, what will happen?

Text will not be visible

Text will be in normal format

Text will be in **** format

Text will be in #### format

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

Spread sheet is a type of _ Mathematical software ________.

Productivity software

Engineering software

Mathematical software

Business software

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

Word Processor is a ____ Application Software__

System Software

Application Software

Device

Utility

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

_ Utility Program refers to the firmware code which is run by an IBM compatible PC

when first powered on.

DOS

BIOS

Utility Program

None of these

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

A computer program that facilitates the communication between the computer and a

peripheral device is called____ Language Translator _______

Operating system

Utilities

Language Translator

Device Drives

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

In JavaScript, what will be the result of the following operation 79%3

0

1

2

3

if we divide 79 by 3 ,we will get remainder=1 ,

Visit this Group of vuZs

http://groups.google.com/group/vuZs

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

Which of the following number system is used by microprocessor?

Binary

Decimal

Octal

Hexadecimal

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

Web site is collection of related ______

Web pages

Information

Search Engines

None of the given choices

Question No: 27 ( Marks: 1 )

What BIOS stands for? – Binary Input Output System

Question No: 28 ( Marks: 1 )

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

Answer : Google & Netscape,

Question No: 29 ( Marks: 2 )

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

Answer : By only uploading webpage we could place our information in order the

other can reach up to ready what we load, upload means make available our data or

information for the world web browsers

Question No: 30 ( Marks: 3 )

What is the difference between microprocessors and microcontrollers? Give one

example of both.

Answer : The microprocessor is electronic equipment which can perform several

function and also processing of data and information present in a computer, while

microcontroller can only perform one function for that its design

Example

Microprocessors _ Pentium 4

Microcontroller _ can be a switch in side the washing machine

Question No: 31 ( Marks: 5 )

Differentiate uni-Processor OS from Multi-Processor OS.

Answer : The Multiprocessors is when more than one processor is under operation it

can be several or may hundreds of the kind to perform one great operation or

calculation, while our PC is a kind of uni-processor

Question No: 32 ( Marks: 5 )

Why do we call JavaScript an Object-based Language?

Answer : Java Script is a language by which we are writing our web-pages, this

language is designed to work for web pages

 

 

 

FINALTERM EXAMINATION

Fall 2009

CS101- Introduction to Computing

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

Which of the following hardware component of a computer can also be

called as engine?

► Bus

► Storage

► Memory

► Processor

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

To improve the time for scannig a web page, text should be ___________.

► Centered

► Left Aligned

► Right Aligned

► Staggered

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

__________% of the users have left websites in frustration due to poor

navigation.

► 40

► 62

► 83

► 91

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

Logical operation that is performed on single input variable is —————

► AND

► OR

► NOT

► NOR

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

Which one is correct for JavaScript?

► onMouseOver

► OnMouseOver

► onmouseover

► All of the given

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

A group of statements that are put together (or defined) once and then can be

used (by reference) repeatedly is called ____________.

► Repeater

► Array

► Function

► Pointer

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

Which one of the following is NOT a primary color?

► Red

► Green

► Yellow

► Blue

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

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

Due to working at home, lack of interaction may result in ___________

professional growth.

► Slower

► Faster

► Higher

► Improved

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

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

► Architecture

► Business Development

► Configuration Management

► Developer

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

Smart editors can automatically color different parts of statements in different

colors e.g. comments in ____________ color.

► Green

► Grey

► Blue

► Red

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

When the packets reach at destination, __________ reassembles them into

original message.

► Protocol

► TCP

► IP

► NIC

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

Heuristics _______ lead to the best results.

► Sometimes

► Do not

► Occasionally

► Not always

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

One can run a program on a remote computer using ________ protocol.

► HTTP

► SMTP

► FTP

► TELNET

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

Which event handler executes the specified JavaScript code when a window/form

element loses focus ?

► onBlur

► onLoad

► onUnload

► onFocus

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

Which is the user-friendly way of presenting data ?

► Query

► Form

Report

► All of the given options

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

JavaScript is an ______________________

language.

► Markup language

► Structured language

► Object based language

► None of the Given options

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

In latest computers, ___________ are used instead of a vacuum tube

► Diodes

► Triodes

► ICs

► Transistors

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

—————is the process of starting or restarting a computer.

BIOS

Refreshing

Booting

None of given

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

Java script supports drawing of objects.

► True

► False

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

Computer programmer that perform various actions continuously, autonomously

on behalf of their principal is known as ______________ .

► Robotics

► Mobile agents

► Decision Support System

► None of above

Question No: 27 ( Marks: 2 )

What is internet?

The Internet is a global system of interconnected computer networks that use the

standard Internet Protocol Suite (TCP/IP) to serve billions of users worldwide. It is

a network of networks that 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. The Internet carries

a vast array of information resources and services, most notably the inter-linked

hypertext documents of the World Wide Web (WWW) and the infrastructure to

support electronic mail.

Question No: 28 ( Marks: 2 )

Write names of the DoS attack’s phases?

Question No: 29 ( Marks: 2 )

Write HTML format to include gif and jpg images in a web page.

Question No: 30 ( Marks: 2 )

What is best algorithm?

Question No: 31 ( Marks: 3 )

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

professions are being eliminated?

Question No: 32 ( Marks: 3 )

Briefly mention any three problems in old modes of presentation development

Lack of resolution

Low color configuration

No graphic animation

Question No: 33 ( Marks: 3 )

Differentiate between onLoad and onUnload

Question No: 34 ( Marks: 5 )

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

Question No: 35 ( Marks: 5 )

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

your answer..

Question No: 36 ( Marks: 5 )

How many members are in the Process Team? What are the responsibilities of the

Process Team?

FINALTERM EXAMINATION

Fall 2009

CS101- Introduction to Computing

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

Cray-1 was first commercial _________ computer

Super

► Mini

► Micro

► Personal

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

URL is a/an ________

► Device

► Component

Address

► Tool

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.

► Freeware

► Shareware

Firewire

► Firmware

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: 27 ( Marks: 1 )

What is the basic difference between ‘magnetic tapes’ and ‘floppy disks’ ?

Question No: 28 ( Marks: 1 )

What was the name of first microprocessor built by Intel ?

Question No: 29 ( Marks: 2 )

What was the name of first super computer. When it was introduced?

Question No: 30 ( Marks: 3 )

Write a short note on blue pacific Super Computer.

Question No: 31 ( Marks: 5 )

What are JavaScript literal and what are its types?

Question No: 32 ( Marks: 5 )

Can you say that URL and semantic web sites are same? Justify your answer by

defining the both terms?

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

► onUNLOAD

► All of the above

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

► Loop

► Sequence

► Condition

► Array

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

► Application Software

► Device

► Utility

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

► TransferCenter protocol

► Transmission Control Protocol

► TransmissionCenter Protocol

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

Question No: 31 (Marks: 1)

What does TCP/IP stand for?

Transmission Control Protocol/Internet Protocol

Question No: 32 (Marks: 1)

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

it is used to uniquely identify the records in the database.

Question No: 33 (Marks: 2)

What is image processing?

It field of computer where we enhance and manipulate the graphics.

Like it is used to recover old photograph and by processing we can revive them like

original form.

Question No: 34 (Marks: 2)

Define testing with respect to programming.

Testing is the process by which we try to determine the presence defects in a program.

Question No: 35 (Marks: 3)

How can we define a computer screen?

Use to display output of computer to the user. Computer screen is consists of pixels.

Question No: 36 (Marks: 3)

What is difference between Design and System Architecture?

System Architecture It is structure of a product or process

Design: It is start of the process of developing structure of system or product or we can its

basic planning of making a system or product.

Question No: 37 (Marks: 3)

Write JavaScript code to convert the number 236.2363611111556 into currency format

and JavaScript statement to show output.

Var input_amt = 236.2363611111556;

mid_data = input_amt.toString ( );

DecimalPos = mid_data.indexOf (“.”, 0);

final_amt = mid_data.substring (0, decimalPos + 3);

document.write (final_amt + “Rs.”);

Question No: 38 (Marks: 5)

Show output of the following code:

for (i=0; i<=10; i++)

{

document.write (“The number is” + i);

document.write (“<br />”);

}

The number is 0

The number is 1

The number is 2

The number is 3

The number is 4

The number is 5

The number is 6

The number is 7

The number is 8

The number is 9

The number is 10

Question No: 39 (Marks: 5)

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

Database consists of two or more then two tables are called Relational database.

Oracle database

Sql Server

Access

Question No: 40 (Marks: 10)

Define the following terms.

Object

They are foundation of object oriented lanauge.They are data structure

contains data fields and properties and methods

  • Ø
  • Event Handler
  • An event handler is a command which is used to call a function when an event

happens, such as the user clicking a button or mouse.

  • Ø
  • Local Variable
  • Declaring variables within a function, makes them local .They are available only

within that function and hold no meaning outside of it

  • Ø
  • Scope of Variable
  • Space in which a variable is effective is known as the scope of a variable. In other

words we can say area where that variable is available for the use

  • Array

Indexed collections of variable of same data types or we can say a Set of organized

variables of same type.

  • Ø

Question No: 41 (Marks: 10)

What is the problem with Relational Database and what solution you can suggest for it?

When we store object orientated data into RDBMS it need to translate in to other form

which is readable to that RDBMS. While we need that data back or we needed to get data

from that stored data. Again it required to be translating back into readable form.

These dual processing processes reduce the speed of reading back the data.

It required large knowledge base to implement.

Its implementation in small business it bit complex due to its complexity.

VU CS101- Introduction To Computing (Session – 2) FINALTERM Solved Unsolved Past Papers Fall 2009

VU CS101- Introduction to Computing (Session – 4) FINALTERM solved unsolved past papers Fall 2009

VU CS101- Introduction To Computing (Session – 4) FINALTERM Solved Unsolved Past Papers Fall 2009

*FINALTERM  EXAMINATION *

Fall 2009

CS101- Introduction to Computing (Session – 4)

 

 

 

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

 Success of a website is defined by ____________.

►             User                                         correct is user

►             Designer                                 x

► Developer

► Programmer

 

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

 Which one is correct for JavaScript?

 

►                         onMouseOver

► OnMouseOver

► onmouseover

► All of the given

 

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

 An indexed list of elements is called _____________.

► Collection

►                         Array

► Set

► Group

 

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

 ________ is the way that internet domain names are located and translated into IP addresses.

► FTP

► VoIP

►                         DNS

► TCP

 

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

 The browser breaks down the URL into ________ parts.

► 2

►             3

► 4

► 5

 

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

 Which one of the following is not an event handler’s attribute?

► Function

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

► Architect

► Team Lead

►             Project Manager

►                         Chief Executive Officer

 

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

 _____________ team is responsible for a project after the specification’s stage till the very end.

►             Executive

► Architect

►                         Development

► HR

 

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

 A large number of networks interconnected physically is called ______

► LAN

       ► MAN                         

►             Internet

► Network collection

 

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

 Efficiency is ______ to universality

► Equal

►                         Direct proportional

► Inversely proportional

► Not proportional

 

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

 There are _________ ways of calling functions.

► One

►                         Two

► Three

► Four

 

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

 Which protocol is use to transfer a file over the network ?

► UDP

►                         FTP

► TCP

► OSI

 

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

 Writing a response, multiple statements are separated from each other with the help of

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

► Dependent

►                         Independent

► Complex

► All of the above

 

Question No: 31    ( Marks: 1 )

 What is the out put of the following JavaScript code ?

name=”Ali Akbar”;

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

 

Ans. A

 

 

Question No: 32    ( Marks: 1 )

 What does WAN stand for?

 

Wide Area Network – A network in which computers are separated by great distances typically across cities or even continents.

 

Question No: 33    ( Marks: 2 )

 Why hub is used in networks?

 

The network traffic controller – components of convential computer networks. Hub is used to connect the different computers in the network i.e. to the server.

 

Question No: 34    ( Marks: 2 )

 What is output of the following JavaScript code ?

Str=”Virtual University of Pakistan”;

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

 

Question No: 35    ( Marks: 3 )

 Explain how many ways businesses monitor their employees?

 

Systems are available that monitor or most every key stroke that an employee makes on computer. Systems are available that read and sensor all incoming and outgoing email. It is quite straight forward to monitor where you surf and when.

 

 

 

 

 

Question No: 36    ( Marks: 3 )

 Diffentiate Local and Global Variables.

 

Local or function level variable effective only in the function in which they are declared while globale variables visible everywhere on the webpage. Declaration variables using the var keyword within a function makes them local. They are available only within the function and hold no meaning outside of vs global.

 

Question No: 37    ( Marks: 3 )

 Elaborate Vector or Object oriented graphics with atleast one example.

 

Treats everything that is drawn an object. Objects retain their identity after their drawn. These objects can later be easily moved stretched duplicated deleted etc are resolution independent relatively small size. e. g. swf, wmf,

 

 

 

Question No: 38    ( Marks: 5 )

 Show output of the following code:

 

for (i=0; i<=10; i++)

{

document.write(“The number is ” + i);

document.write(“<br />”);

}

 

The number is 0

The number is 1

The number is 2

The number is 3

The number is 4

The number is 5

The number is 6

The number is 7

The number is 8

The number is 9

The number is 10

 

 

 

 

 

 

 

 

Question No: 39    ( Marks: 5 )

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

 

This is imp. Because of keeping the track of money wise while implementation actually and see the results. This fits with the organization or no. to check there is any side effects morally or no. we have to be very careful while creation of any system., error free, data loose recovery. Etc.

 

 

 

 

 

Question No: 40    ( Marks: 10 )

 Write responsibilities of the followings

 

 

  1. Developer

 

a)      Module level design.

b)      Coding

c)      Unit testing

 

 

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

 

 

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

 

 

 

 

 

 

VU CS101- Introduction To Computing (Session – 4) FINALTERM Solved Unsolved Past Papers Fall 2009

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