Professional Documents
Culture Documents
Combined
Combined
com
Total Marks:60
Please read the following instructions carefully before attempting any question:
**WARNING: Please note that Virtual University takes serious notice of using unfair means.
www.vu786.com
Anyone found involved in cheating will get `F` grade in this course.
Marks:10
Question No: 1
www.vu786.com
Write down the code, to take two input numbers from user (As shown in Fig 5.1 and 5.2), compare them
and show results, whether they are same or not (As shown in fig 5.3). View the given below Image very
carefully and try to fulfill all requirements given in image.
(Hint: Make web page using Use JavaScript to Compare two numbers)
Fig 5.1
Fig 5.2
www.vu786.com
Fig 5.3
initialize x to 10
initialize y to 0
initialize sum to 0
Repeat while (y <= 6)
{
Add x and y and put results into sum
decrement x by 2
increment y by 3
}
www.vu786.com
print sum
Stop
What will be the value of the variables “sum, x and y”, each time after the loop
is executed?
Question No: 6
What is database? Describe Data Integrity?
Question No: 7
Web server:
A. Input devices
B. Output devices
C. Used to allow I/O devices to communicate with the CPU
D. Able to process incoming data
A. RAM
B. ROM
C. Cache
D. Pre-fetch buffer
FINALTERM EXAMINATION
FALL 2007 Marks: 45
CS101 - INTRODUCTION TO COMPUTING (Session - 7 Time: 150min
)
om
StudentID/LoginID: ______________________________
Please read the following instructions carefully before attempting any of the
questions:
6 .c
1. Attempt all questions. Marks are written adjacent to each question.
2. Do not ask any questions about the contents of this examination from anyone.
a. If you think that there is something wrong with any of the questions, attempt it to the best
of your understanding.
b. If you believe that some essential piece of information is missing, make an appropriate
assumption and use it to solve the problem.
78
3. Write all steps, missing steps may lead to deduction of marks.
4. Choose the most appropriate choice (among the given) while answering the MCQs.
5. Use of cell phone during the examination is strictly prohibited; otherwise strict disciplinary
action will be taken as per university rules.
**WARNING: Please note that Virtual University takes serious note of unfair means. Anyone
om
What will be the result of a?
a = Math. abs(-23)
► 23
► -23
► 23.0
► 2.3
Question No: 3
6
►
►
( Marks: 1 )
Sub-program
Procedure
.c
- Please choose one
78
► Sub-routine
► Device
► Component
► Address
► Tool
► Copy
► Delete
om
► Cut
► Undo
Can a human doctor be replaced by an Expert System? Give reasons to support your answer. (2+6)
6
Question No: 9 ( Marks: 6 )
m
► Flow Line
► Connector
co
► Off-page connector
► Start or Stop
6.
► User-friendly
► Consistency
► Complexity
► Optional
► Mandatory
► Not allowed
► None of the given
w.
► SMTP
► onUnload
► onUnLoad
m
► onUNLOAD
co
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
6.
► Condition
► Array
► System Software
► Application Software
ww
► Device
► Utility
Question No: 11 ( Marks: 1 ) - Please choose one
In the old days, databases did NOT support ____________.
► Number
► Boolean
m
► Video
► Text
co
► Independent
► Dependent
► Interrelated
► Inconsistent
6.
Due to working at home, lack of interaction may result in ___________ professional
growth.
► Slower
► Faster
► Higher
► Improved
78
Question No: 14 ( Marks: 1 ) - Please choose one
Distance learning has got a boost due to the ___________.
► Easy communication
► Online interactive contents
► Flexibility
vu
► All of the given options
► Image uploading
► Image postloading
m
► Computer Science
► Information Technology
co
► LAN
► MAN
► Internet
► Network collection
6.
TCP stands for ________.
► Shareware
► Firewire
► Firmware
► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists
m
► All of the given choices
co
► MS PowerPoint
► MS Excel
► MS Access
6.
► Data updates
► Data security
► Data integrity
► Data accessibility 78
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
vu
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
w.
m
► Limited
► Versatile
► Medium
co
► Not at all
6.
Question No: 32 ( Marks: 1 )
Why there is a need to use primary key in database ?
{
document.write("The number is " + i);
document.write("<br />");
}
m
Object
Event Handler
Local Variable
Scope of Variable
co
Array
6.
78
vu
w.
ww
MIDTERM EXAMINATION
Fall 2008
CS101- Introduction to Computing (Session - 2)
m
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
co
► Logarithm
► Heuristic
► Methodology
6.
Which of the following is NOT an Application Software.
► Word Processor
► Web Browser
► Windows XP
78
► MS Excel
vu
Question No: 3 ( Marks: 1 ) - Please choose one
► Device Driver
► Only write
► Read and write
► Not read and write
m
► System Software, Application Software
► Graph, Monitor
co
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
6.
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
78
► Firmware
► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
w.
► <BODY/>
m
► All of the given choices
co
► <HEAD> </HEAD>
► <HEAD> <END>
► <HEAD> </END>
► <HEAD> <\HEAD>
6.
Question No: 12 ( Marks: 1 ) - Please choose one
► Window
78
► Text
► Script
vu
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
w.
► Client-Side Scripting
► Bowser Scripting
► Form Scripting
ww
m
► CD ROM
co
► What you say is what you get
What you say is what you get
► Where you see is where you go
6.
► When you see is when you get
► Compiler
► Operating system
m
► Application software
► Assembler
co
Question No: 19 ( Marks: 1 ) - Please choose one
Which of the following symbol is used for multiple line comments in JavaScript?
►/
► //
► /*
6.
► //*
__________ give us the ability to manipulate data through reference instead of actual value.
w.
► Constants
► Variables
► Data Types
► Operators
ww
► Integration
► Merging
► Splitting
► Operation & Maintenance
m
Question No: 23 ( Marks: 1 ) - Please choose one
► Viability
co
► Feasibility
► Specification
► Integration
6.
Algorithm gives us:
► Definition of a problem
► Sequence of steps to solve a problem
► Proper understanding of a problem
► Solution to a problem
78
Question No: 25 ( Marks: 1 ) - Please choose one
What is coding?
WYSIWYG
Question No: 28 ( Marks: 1 )
Define URL
m
What is Deterministic Algorithm?
co
How can we calculate total number of rows in the truth table?
6.
Question No: 32 ( Marks: 5 )
m
Question No: 1 ( Marks: 1 ) - Please choose one
co
► Presentation Software
► Microsoft Paint Software
_________ manages the HW and SW resources ( memory, disk drives etc) of the computer
6.
system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software
► INPUT
► INPUTBOX
► Only read
► Only write
► Read and write
► Not read and write
m
► Save information when computer is on
► Give power to the motherboard
co
can change the background color in HTML, using ___ attribute of <body>
► background
► bgcolor
6.
► backcolor
► backgroundcolor
______ is a client program that uses HTTP to make requests to Web servers throughout the
internet on behalf of the user.
► Web Application
w.
► Web Browser
► Internet Application
► HTML
m
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage
co
Floating point unit is also known as _________ unit
► Real
► Integer
► Numeric
6.
► Fractional
Programs that reside on Web servers and receive info that a user enters in a form, are known as:
► Server-Side Scripts
78
► Client-Side Scripts
► Super Scripts
vu
► Form Scripts
► RAM
► ROM
► Hard Disk
► CD ROM
► 25
► 50
► 75
► 100
m
VisiCalc was the first popular _______application on PC’s.
► Spreadsheet
► Word processor
co
► Presentation
► Database
____________ is a system software that converts the source code written in high level language
6.
into machine language code.
► Utilities
► Drivers
► Language Translator
► None of the these
What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created
vu
► Previous list will end and a new will start.
__________ is a program that executes instructions line by line written in a high-level language.
► Interpreter
► Compiler
► Predictor
► Executor
ww
m
Question No: 21 ( Marks: 1 ) - Please choose one
co
► Sequences
► Repetitions
► Conditionals
6.
flow charts, there is only one entry point in conditions while there is/are__________ exit points.
►1
►2
►3
►4
78
Question No: 23 ( Marks: 1 ) - Please choose one
A
procedure that usually but not always works or that gives nearly the right answer is
called_____________
vu
► Deterministic Algorithm
► Heuristic Algorithm
► Greedy Algorithm
► Randomized Algorithm
w.
► Storage device
► Input and Output device
m
Question No: 26 ( Marks: 1 ) - Please choose one
-----
----- was known as “mill” in Analytical engine.
► Memory
co
► Processor
► Monitor
► Mouse
6.
What is the key feature of object-oriented design?
ANSWER: The key feature of object-oriented design is that it treats every thing as object
having properties and methods. These objects are separately treated and designed and once
designed it can be used in any other system. So once designed can be used many times.
ANSWER:
VECTOR GRAPHICS BIT MAPPED IMAGES
m
2. Is resolution independent 2. Resolution dependent
co
Question No: 32 ( Marks: 5 )
6.
ANSWER:
SHAREWARE TRIALWARE
1. These are shared freely. 1. Software is offered for a trial
2. It is given without payment ahead period.
of time. 2. When the period is expired it is no
78 more in use.
vu
w.
ww
MIDTERM EXAMINATION
Fall 2008
CS101- Introduction to Computing (Session - 2)
m
Question No: 1 ( Marks: 1 ) - Please choose one
co
► Presentation Software
► Microsoft Paint Software
_________ manages the HW and SW resources ( memory, disk drives etc) of the computer
6.
system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software
► INPUT
► INPUTBOX
► Only read
► Only write
► Read and write
► Not read and write
m
► Save information when computer is on
► Give power to the motherboard
co
can change the background color in HTML, using ___ attribute of <body>
► background
► bgcolor
6.
► backcolor
► backgroundcolor
______ is a client program that uses HTTP to make requests to Web servers throughout the
internet on behalf of the user.
► Web Application
w.
► Web Browser
► Internet Application
► HTML
m
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage
co
Floating point unit is also known as _________ unit
► Real
► Integer
► Numeric
6.
► Fractional
Programs that reside on Web servers and receive info that a user enters in a form, are known as:
► Server-Side Scripts
78
► Client-Side Scripts
► Super Scripts
vu
► Form Scripts
► RAM
► ROM
► Hard Disk
► CD ROM
► 25
► 50
► 75
► 100
m
VisiCalc was the first popular _______application on PC’s.
► Spreadsheet
► Word processor
co
► Presentation
► Database
____________ is a system software that converts the source code written in high level language
6.
into machine language code.
► Utilities
► Drivers
► Language Translator
► None of the these
What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created
vu
► Previous list will end and a new will start.
__________ is a program that executes instructions line by line written in a high-level language.
► Interpreter
► Compiler
► Predictor
► Executor
ww
m
Question No: 21 ( Marks: 1 ) - Please choose one
co
► Sequences
► Repetitions
► Conditionals
6.
flow charts, there is only one entry point in conditions while there is/are__________ exit points.
►1
►2
►3
►4
78
Question No: 23 ( Marks: 1 ) - Please choose one
A
procedure that usually but not always works or that gives nearly the right answer is
called_____________
vu
► Deterministic Algorithm
► Heuristic Algorithm
► Greedy Algorithm
► Randomized Algorithm
w.
► Storage device
► Input and Output device
m
Question No: 26 ( Marks: 1 ) - Please choose one
-----
----- was known as “mill” in Analytical engine.
► Memory
co
► Processor
► Monitor
► Mouse
6.
What is the key feature of object-oriented design?
ANSWER: The key feature of object-oriented design is that it treats every thing as object
having properties and methods. These objects are separately treated and designed and once
designed it can be used in any other system. So once designed can be used many times.
ANSWER:
VECTOR GRAPHICS BIT MAPPED IMAGES
m
2. Is resolution independent 2. Resolution dependent
co
Question No: 32 ( Marks: 5 )
6.
ANSWER:
SHAREWARE TRIALWARE
1. These are shared freely. 1. Software is offered for a trial
2. It is given without payment ahead period.
of time. 2. When the period is expired it is no
78 more in use.
vu
w.
ww
MIDTERM EXAMINATION
Spring 2009
CS101- Introduction to Computing
m
Time: 60 min
Marks: 43
Student Info
StudentID:
co
Center:
ExamDate:
6.
No.
Marks
Q No. 9 10 11 78 12 13 14 15 16
Marks
Q No. 17 18 19 20 21 22 23 24
Marks
Q No. 25 26 27 28 29 30 31 32
vu
Marks
w.
ww
Question No: 1 ( Marks: 1 ) - Please choose one
A diode functions as the electronic version of a __________-way valve.
► one
m
► two
► three
► four
co
What is name of book from which word algorithm is taken ?
► Introduction to algorithms
6.
► Research for new horizons
m
► INPUTBUTTON
► INPUT
► RADIOBUTTON
► RADIO
co
Question No: 8 ( Marks: 1 ) - Please choose one
Machine language is also called
► Assembly Language
► Binary Language
► High Level Language
► HTML Language
6.
Question No: 9 ( 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
78
► System Software, Application Software
► Graph, Monitor
► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>
ww
m
► Computer
► Transistor
► Compiler
► Device
co
Question No: 14 ( Marks: 1 ) - Please choose one
Deep Blue was the name of
► computer
► human
► city
► game
6.
Question No: 15 ( Marks: 1 ) - Please choose one
Data travels through bus in the form of ---------------------------
► Packets
► Bits
► Bytes
► Word
78
Question No: 16 ( Marks: 1 ) - Please choose one
Command which saves the selected text before deleting is
► Copy
vu
► Delete
► Cut
► Undo
w.
► Engineering Applications
ww
► Graphics Applications
► Scientific Applications
► Business Applications
Question No: 18 ( Marks: 1 ) - Please choose one
In Spreadsheets, you can create a relationship between two cells by using _____.
m
► Numbers
► Text
► Formulas
► None of the given choices
co
Question No: 19 ( Marks: 1 ) - Please choose one
Which of the following symbol is used for multiple line comments in JavaScript?
►/
► //
► /*
6.
► //*
► BASIC
► PASCAL
► JAVA
► FORTRAN
w.
► Binary
► Decimal
► Octal
ww
► Hexadecimal
m
Mainframe Computers are also called _____
► Enterprise Servers
► Personal Servers
► Enterprise Managers
► Window Servers
co
Question No: 25 ( Marks: 1 ) - Please choose one
URL is a/an ________
► Device
► Component
► Address
6.
► Tool
m
Marks: 43
co
► Super
► Mini
► Micro
► Personal
6.
Browser is a __________________ used for browsing.
► Tool
► Component
► Device
► None of the given choices
► Connector
► Off-page connector
► Start or Stop
w.
► Object-based
ww
► Object-oriented
► Machine
► Assembly
m
► Object Oriented Design
► Object Oriented Software
► Design Methodology
► Programming language
co
Question No: 6 ( Marks: 1 ) - Please choose one
► Spiral
► Sequential
6.
► Circular
► Spherical
What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created
78
► Previous list will end and a new will start.
► Numbers
w.
► Text
► Formulas
► None of the given choices
► Spreadsheet
► Word processor
► Presentation
► Database
Question No: 10 ( Marks: 1 ) - Please choose one
Fins
are used to --------------
m
► Communicate with microprocessor
► Increase surface area of Fan
► Decrease surface area of Fan
► Speed up the Fan.
co
Question No: 11 ( Marks: 1 ) - Please choose one
6.
► Static web pages
► None of these
► Text
► Script
w.
► Control unit
► Memory unit
ww
m
Question No: 15 ( Marks: 1 ) - Please choose one
_________ is the interface in computer that supports transmission of multiple bits at the
same time.
co
► Serial Port
► Parallel Port
► Universal Serial Bus
► None of the given choices
6.
_____ was designed as a replacement for typewriter
► Spreadsheet Software
► Word Processor Software
► Presentation Software
► Database Software
Randomized algorithms are often ________ than deterministic algorithms for the same
problem.
w.
► Analytical Engine
► Difference Engine
► Harvard Mark 1
► Mechanical engine
m
Question No: 20 ( Marks: 1 ) - Please choose one
A
test proposed to determine if a computer has the ability to think. It is called?
co
► Turing test
► Turning test
► Intelligence test
6.
► None
► True
► False
When the user clicks on the "Submit" button, the content of the form is sent to the
server.
► True
w.
► False
m
► All of the given
Programs where no user interaction found during program execution are called
co
__________.
► Batch programs
► Event-driven programs
► Graphics based programs
► None of the given
6.
Question No: 26 ( Marks: 1 ) - Please choose one
OO
software is all about _____________. 78
► Behaviors
► Methods
► Properties
► Objects
vu
Question No: 27 ( Marks: 1 )
Name two languages which are used for client side scripting?
m
Question No: 32 ( Marks: 5 )
co
6.
78
vu
w.
ww
www.vu786.com
MIDTERM EXAMINATION
StudentID/LoginID: ______________________________
Please read the following instructions carefully before attempting any of the questions:
**WARNING: Please note that Virtual University takes serious note of unfair means. Anyone found
involved in cheating will get an `F` grade in this course.
Question 1 2 3 4 5 6 7 8 9 Total
Marks
underline text
Component
Tool
None of these
Device
RAM
ROM
Hard Disk
CD ROM
None of these
Undo
Break
What makes System Software different from Application software? Explain the attributes of
good application software. Please write down the concise and to the point answer.(4+4)
Draw the OS components diagram? What are the main responsibilities that Kernel plays in
Operating system? Please write down in 6-7 lines max.(3 + 4)
How you can enhance the capability of a micro processor? Write down the answer in
maximum 5-6 lines
Create the following page using html and javascript as shown in the image below. If someone
press “Ok” (submit) button without entering “age”, it should show a message “Please enter
your age”.
Please read the following instructions carefully before attempting any of the questions:
1. The duration of this examination is 1.5 hours.
2. This examination is closed book, closed notes, closed neighbors; any one found cheating
will get zero grade in the course CS101 Introduction to Computing.
3. Answer all questions.
a. There is no choice .
b. You will have to correctly answer all questions in this examination to receive the
maximum possible marks.
4. Unless stated otherwise, all questions carry two marks. Each MCQ has 5 choices.
5. Do not ask any questions about the contents of this examination from anyone.
a. If you think that there is something wrong with any of the questions, attempt it to
the best of your understanding.
b. If you believe that some essential piece of information is missing, make an
appropriate assumption and use it to solve the problem.
6. Most, but not all, of the examination consists of multiple-choice questions. Choose only
one choice as your answer.
a. If you believe that two (or more) of the choices are the correct ones for a
particular question, choose the best one.
b. On the other hand, if you believe that all of the choices provided for a particular
question are the wrong ones, select the one that appears to you as being the least
wrong.
7. All Web development questions should be answered using the HTMLsyntax.
CS101 Introduction to Computing
Page 2 of 7
www.vu786.com
Total Questions 25
Q.No 1
An object can be defined as
o Collection of integers and floats
o Collection o of integers and properties
o Collection of While loops and variables
o Collection of properties and methods
o Combination of sequential and conditional structures
Q.No 2
During the integration and testing phase of software development life cycle
o User documents the work that he thinks the system does
o Developer analyzes user's requirements, and perform further
investigation to write the specifications for the system
o Bring the subsystem together to form the systems and test them
o Detailed plan specifying the required resources and expected
deliverables
o Providing the feasibility of the system
Q.No 3
The advantage of client side scripting is
o All browsers support it
o Decreases the complexity of web page
o Reduces network traffic
o Increases server load
o User cannot see your code
Q.No 4
Spreadsheet software
o Is the replacement of ledgers
o Is a replacement of encyclopedia
o Are not used for business calculations and charts
o Is a sub category of science, engineering and graphics software
o Is a sub category of entertainment software.
Q.No 5
Decision support systems are sometimes called
o ERP
o Document-centered computing
o E-commerce software
CS101 Introduction to Computing
Page 3 of 7
www.vu786.com
o Electronic Encyclopedia
o Expert Systems
Q.No 6
ASP script is
o A data base management system
o Not a server side script
o Linux based server script
o Window based server script
o Unix based server script
Q.No 7
Software that directly interact with the user is called
o System software
o Application software
o Low level languages
o Machine language
o Compilers
Q.No 8
In the AND operation output is true if
o All input variables have true state
o Some of the input variables have true state
o None of the input variables have true state
o All the input variables have false state
o Only one of the input has false state
Q.No 9
Semantic web pages
o Are also called static web pages
o Are not understood by computers
o Are understood by computers
o Are not the extension of today's web pages
o Correct the semantics of the web page
Q.No 10
Two major types of software are
o Application Software, System Software
o Application Software , Database Software
o System Software , Database Software
CS101 Introduction to Computing
Page 4 of 7
www.vu786.com
o Database Software , Embedded Software
o Database Software , Embedded Software
Q.No 11
Language that is understood by computer hardware is called
o High level language
o Firmware
o Machine language
o Assembly language
o System software
Q.No 12
Microprocessor are made up of semiconductor material called
o Aluminum
o Copper
o Ferrous oxide
o Silicon
o Silicon dioxide
Q.No 13
The following code will
<Html><HEAD>
<TITLE>
My new Web Page
</TITLE>
</HEAD></Html>
Q.No 14
In an HTML file, it is essential to have
o <Head> tag
o </Body> tag
o <Body> tag
o <B> tag
CS101 Introduction to Computing
Page 5 of 7
www.vu786.com
o None of above
Q.No 15
A unique identifier for the location of a specific Web page is called a
o FTP
o FAQ
o URL
o http://
o IRC
Q.No 16
Search engines
o Cannot search the entire web
o Are built to facilitate the scientists
o Make the list of images that are available on the net
o Search the news groups for the required information
o Scan the entire web for the desired information
Q.No 17
A web site
o Does not have a unique identifier
o Is accessible to limited user
o Is a collection of related documents on the internet
o Is a place where we can only read information on the internet
o Is a place on the net where we can only write inform ation
Q.No 18
Vacuum Tubes are
o Smaller then transistors
o Developed for military applications
o Made up of two or more electrodes in a glass metal tube
o Used in IBM PC
o Invented by Tim Burners lee
Q.No 19
BASIC stands for
o Basic American Standard Information Code
o Beginners All purpose Symbolic Instruction Code
o Brother and Sisters In Christ
o British American Scientific International Commercial
CS101 Introduction to Computing
Page 6 of 7
www.vu786.com
o Badminton And Swimming Including Cycling
Q.No 20
JavaScript
Q.No 21
World's first program was written by
o Charles Babbage
o Alfred Tennyson
o Ada Lovelace
o Bernouli
o Newton
Q.No 22
What would be the output of the following Pseudo Code? (3 Marks)
Start
Initialize x to 4
Initialize y to 1
Initialize Result to 0
While (y<=x)
Result=x+y
Y=y+1
Loop
Print Result
End
o4
o8
o 10
o1
o None of the above
CS101 Introduction to Computing
Page 7 of 7
www.vu786.com
Q.No 23
Convert binary number 100100 into equivalent Decimal number. (5 Marks)
Q.No 24
Write the truth table for Boolean Expression. ( 5 Marks)
Z= x + (x. y)'
Q.No 25
Take a look at the image of the browser screen shown below. Write down the
HTML code that will produce this screen. (15 Marks)
www.vu786.com
MIDTERM EXAMINATION
StudentID/LoginID: ______________________________
Please read the following instructions carefully before attempting any of the questions:
**WARNING: Please note that Virtual University takes serious note of unfair means. Anyone found
involved in cheating will get an `F` grade in this course.
Question 1 2 3 4 5 6 7 8 9 Total
Marks
underline text
Component
Tool
None of these
Device
RAM
ROM
Hard Disk
CD ROM
None of these
Clear
Edit
Undo
Break www.vu786.com
Question No: 6 ( Marks: 8 )
What makes System Software different from Application software? Explain the attributes of
good application software. Please write down the concise and to the point answer.(4+4)
Draw the OS components diagram? What are the main responsibilities that Kernel plays in
Operating system? Please write down in 6-7 lines max.(3 + 4)
How you can enhance the capability of a micro processor? Write down the answer in
maximum 5-6 lines
Create the following page using html and javascript as shown in the image below. If someone
press “Ok” (submit) button without entering “age”, it should show a message “Please enter
your age”.
► Word Processor
► Web Browser
► Windows XP
► MS Excel
______ is simply a fast port that lets you connect computer peripherals and consumer electronics
to your computer without restart.
► Freeware
► Shareware
► Firewire
► Firmware
► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>
► <HEAD> </HEAD>
► <HEAD> <END>
► <HEAD> </END>
► <HEAD> <\HEAD>
► Window
► Text
► Script
► Server-Side Scripting
► Client-Side Scripting
► Bowser Scripting
► Form Scripting
► Operating system
► Application software
► Assembler
Which of the following symbol is used for multiple line comments in JavaScript?
►/
► //
► /*
► //*
► Hello + World
► It will result in error
__________ give us the ability to manipulate data through reference instead of actual value.
► Constants
► Variables
► Data Types
► Operators
► Integration
www.vu786.com
► Merging
► Splitting
► Operation & Maintenance
► Viability
► Feasibility
► Specification
► Integration
► Definition of a problem
► Sequence of steps to solve a problem
► Proper understanding of a problem
► Solution to a problem
What is coding?
WYSIWYG
www.vu786.com
Question No: 28 ( Marks: 1 )
Define URL
_________ manages the HW and SW resources ( memory, disk drives etc) of the computer
system, often invisibly.
► Explorer.exe
► System Files
► Operating System
► Application Software
► background
► bgcolor
► backcolor
► backgroundcolor
______ 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
► Internet Application
► HTML
► Real
► Integer
► Numeric
► Fractional
Programs that reside on Web servers and receive info that a user enters in a form, are known as:
► Server-Side Scripts
► Client-Side Scripts
► Super Scripts
► Form Scripts
► RAM
► ROM
► Hard Disk
► CD ROM
► 25
► 50
www.vu786.com
► 75
► 100
► Spreadsheet
► Word processor
► Presentation
► Database
____________ is a system software that converts the source code written in high level language
into machine language code.
► Utilities
► Drivers
► Language Translator
► None of the these
What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created
__________ is a program that executes instructions line by line written in a high-level language.
► Interpreter
► Compiler
► Predictor
► Executor
►1
►2
►3
►4
► Deterministic Algorithm
► Heuristic Algorithm
► Greedy Algorithm
► Randomized Algorithm
ANSWER: The key feature of object-oriented design is that it treats every thing as object
having properties and methods. These objects are separately treated and designed and once
designed it can be used in any other system. So once designed can be used many times.
ANSWER:
www.vu786.com
VECTOR GRAPHICS BIT MAPPED IMAGES
Time: 60 min
Marks: 43
Student Info
StudentID:
Center:
ExamDate:
Q No. 9 10 11 12 13 14 15 16
Marks
Q No. 17 18 19 20 21 22 23 24
Marks
Q No. 25 26 27 28 29 30 31 32
Marks
www.vu786.com
Question No: 1 ( Marks: 1 ) - Please choose one
A diode functions as the electronic version of a __________-way valve.
► one
► two
► three
► four
► Introduction to algorithms
► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>
► Packets
► Bits
► Bytes
► Word
► Delete
► Cut
► Undo
► Engineering Applications
► Graphics Applications
► Scientific Applications
► Business Applications
www.vu786.com
Question No: 18 ( Marks: 1 ) - Please choose one
In Spreadsheets, you can create a relationship between two cells by using _____.
► Numbers
► Text
► Formulas
► None of the given choices
►/
► //
► /*
► //*
► BASIC
► PASCAL
► JAVA
► FORTRAN
► Binary
► Decimal
► Octal
► Hexadecimal
Time: 60 min
Marks: 43
Student Info
StudentID:
Center:
ExamDate:
Q No. 9 10 11 12 13 14 15 16
Marks
Q No. 17 18 19 20 21 22 23 24
Marks
Q No. 25 26 27 28 29 30 31 32
Marks
www.vu786.com
Question No: 1 ( Marks: 1 ) - Please choose one
A diode functions as the electronic version of a __________-way valve.
► one
► two
► three
► four
► Introduction to algorithms
► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>
► Packets
► Bits
► Bytes
► Word
► Delete
► Cut
► Undo
► Engineering Applications
► Graphics Applications
► Scientific Applications
► Business Applications
www.vu786.com
Question No: 18 ( Marks: 1 ) - Please choose one
In Spreadsheets, you can create a relationship between two cells by using _____.
► Numbers
► Text
► Formulas
► None of the given choices
►/
► //
► /*
► //*
► BASIC
► PASCAL
► JAVA
► FORTRAN
► Binary
► Decimal
► Octal
► Hexadecimal
► Flow Line
► Connector
► Off-page connector
► Start or Stop
► Object-based
► Object-oriented
► Machine
► Assembly
► Spiral
► Sequential
► Circular
► Spherical
What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created
► Numbers
► Text
► Formulas
► None of the given choices
► Spreadsheet
► Word processor
► Presentation
► Database
www.vu786.com
Question No: 10 ( Marks: 1 ) - Please choose one
Fins
are used to --------------
► None of these
► Window
► Text
► Script
► Control unit
► Memory unit
► Floating Point unit
► Arithmetic and Logic unit
_________ is the interface in computer that supports transmission of multiple bits at the
same time.
► Serial Port
► Parallel Port
► Universal Serial Bus
► None of the given choices
Randomized algorithms are often ________ than deterministic algorithms for the same
problem.
► Simpler and more slow
► Simpler and more efficient
► Complex and more efficient
► Complex and more slow
► Analytical Engine
www.vu786.com
► Difference Engine
► Harvard Mark 1
► Mechanical engine
► Turing test
► Turning test
► Intelligence test
► None
► True
► False
When the user clicks on the "Submit" button, the content of the form is sent to the
server.
► True
► False
► Numbers
► Text
► Formulas
► All of the given
Programs where no user interaction found during program execution are called
__________.
► Batch programs
► Event-driven programs
► Graphics based programs
► None of the given
► Behaviors
► Methods
► Properties
► Objects
Name two languages which are used for client side scripting?
Why microprocessor uses the binary number system and not the decimal or any other
number system?
m
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
co
► Logarithm
► Heuristic
► Methodology
6.
Which of the following is NOT an Application Software.
► Word Processor
► Web Browser
► Windows XP
78
► MS Excel
vu
Question No: 3 ( Marks: 1 ) - Please choose one
► Device Driver
► Only write
► Read and write
► Not read and write
m
► System Software, Application Software
► Graph, Monitor
co
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
6.
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
78
► Firmware
► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
w.
► <BODY/>
m
► All of the given choices
co
► <HEAD> </HEAD>
► <HEAD> <END>
► <HEAD> </END>
► <HEAD> <\HEAD>
6.
Question No: 12 ( Marks: 1 ) - Please choose one
► Window
78
► Text
► Script
vu
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
w.
► Client-Side Scripting
► Bowser Scripting
► Form Scripting
ww
m
► CD ROM
co
► What you say is what you get
What you say is what you get
► Where you see is where you go
6.
► When you see is when you get
► Compiler
► Operating system
m
► Application software
► Assembler
co
Question No: 19 ( Marks: 1 ) - Please choose one
Which of the following symbol is used for multiple line comments in JavaScript?
►/
► //
► /*
6.
► //*
__________ give us the ability to manipulate data through reference instead of actual value.
w.
► Constants
► Variables
► Data Types
► Operators
ww
► Integration
► Merging
► Splitting
► Operation & Maintenance
m
Question No: 23 ( Marks: 1 ) - Please choose one
► Viability
co
► Feasibility
► Specification
► Integration
6.
Algorithm gives us:
► Definition of a problem
► Sequence of steps to solve a problem
► Proper understanding of a problem
► Solution to a problem
78
Question No: 25 ( Marks: 1 ) - Please choose one
What is coding?
WYSIWYG
Question No: 28 ( Marks: 1 )
Define URL
m
What is Deterministic Algorithm?
co
How can we calculate total number of rows in the truth table?
6.
Question No: 32 ( Marks: 5 )
om
Student Info
Student ID:
Center:
Exam Date:
Marks
Q No.
Marks
Q No.
6
Marks
17
9 10
18
11
19
.c
12
20
13
21
14
22
15
23
16
78
vu
Question No: 1 ( Marks: 1 ) - Please choose one
om
► Punch cards
► Transistors
► Micro Processors
► Resistors
►8
6
► 12
► 16
.c
Hexadecimal number system is based on -------------------- digits
►2
78
Question No: 3 ( Marks: 1 ) - Please choose one
► Special control
► Internet explorer
► Event handlers
om
Which one is correct for JavaScript?
► onMouseOver
► OnMouseOver
► onmouseover
Question No: 5
.c
( Marks: 1 ) - Please choose one
Programs that reside on Web servers and receive info that a user enters in a form, are
known as:
6
► Server-Side Scripts
78
► Client-Side Scripts
► Super Scripts
► Form Scripts
vu
► Memory unit
om
► Arithmetic and Logic unit
► Aeroplane mnufacturing
► RAM
► Floppy
om
► DVD
► CHECKBOX
► CHECK
► INPUT
► INPUTBOX
6
Question No: 11
.c
( Marks: 1 ) - Please choose one
Users communicate with the computer using a consistent user interface provided by the OS.
78
► True
► False
► Behaviors
► Methods
► Properties
► Objects
om
Question No: 13 ( Marks: 1 ) - Please choose one
► Mozilla
► Microsoft
► IBM
Question No: 14
6 .c
( Marks: 1 ) - Please choose one
_________ are great for showing parts of a whole that are generally expressed in
percentages.
78
► Line Charts
► Pie Charts
► Bar Charts
vu
► Three
om
► Two
► One
► None of above
► Method
6
► Action
► Value
.c
78
► All of above
Explain briefly the different techniques that are used to embed JavaScript code in a
vu
web page?
om
Question No: 20 ( Marks: 3 )
.c
How can we enter data in more than one line in an html form?
6
Question No: 22 ( Marks: 5 )
Elaborate greedy algorithm definition with solid example in favour and one counter
example?
vu
MIDTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing (Session - 2)
Ref No:
Time: 60 min
Marks: 38
om
Student Info
StudentID:
Center:
Marks
Q No.
Marks
Q No.
Marks
6 17
9 10
18
11
19 .c
12
20
13
21
14
22
15
23
16
78
vu
Question No: 1 ( Marks: 1 ) - Please choose one
Detailed plan, specifying the required resources and expected deliverables, is done in
________ phase.
► Planning
om
► User Requirements
► Design
► Developer Specification
► Corel Draw
► Desktop Publishing
► Paint
► WordPad
transmitted.
6
► Port
► Slots
.c
Question No: 3 ( Marks: 1 ) - Please choose one
------------- is an electronic path within a Computer System along which bits are
► Bus
► Modem
78
Question No: 4 ( Marks: 1 ) - Please choose one
The key strengths of computers are
► Speed
► Storage
► Do not get bored
► All of the given choices
We can change the background color in HTML, using ___ attribute of <body>
► background
► bgcolor
► backcolor
► backgroundcolor
om
calculations in one second.
► 1.3 billion
► 1.3 trillion
► 1.3 miillion
► 1.3 thousand
► Operating System
► Application Software
6 .c
Question No: 8 ( Marks: 1 ) - Please choose one
We need _____________ for memory management in computer
► Software
► Hardware
► 1300,1400
► 30100,14100
► 3000 , 1400
vu
► Constant
► String
► Variable
om
► Number
Question No: 14
6 ( Marks: 1 ) .c
- Please choose one
► <checkbox>
► <input type=”checkbox”>
vu
► <check>
► <input type=”check”>
►R
efreshing
►B ooting
om
►N one of given
.c
How can an operating system be viewed as a resource allocator?
om
Student Info
StudentID: MC100200513
Center: OPKST
Q No.
Marks
Q No.
Marks
6 9
17
10
18
11
19 .c
12
20
13
21
14
22
15
23
16
78
vu
Question No: 1 ( Marks: 1 ) - Please choose one
Ada, Countess of Lovelace developed first:
► Computer
► Website
► Computer Program
om
► Analytical engine
om
Using COLSPAN, number of rows of the current cell should extend itself
► Upward
► Downward
► Both Upward and Downward
► None of the given choices
► Application software
vu
► System software
► Dynamic software
► Distributed software
Question No: 12 ( Marks: 1 ) - Please choose one
In spreadsheet, which of the following function is used to solve the
3x 3 2 x 5 0
equation ?
► =COUNTIF
► =GoalSeek
om
► None of the above
► =Sum
► Several
► Multiple
► All of the given options
► Pie Charts
► Bar Charts
om
Question No: 17 ( Marks: 2 )
Write the major types of softwares with examples?
( Marks: 3 )
.c
What are the key requirements of E-commerce Software?
Question No: 21
Write down the pseudo code for the following flow chart.
6
78
vu
om
6 .c
78
vu
MIDTERM EXAMINATION
Spring 2010
CS101- Introduction to Computing (Session - 4)
Ref No: 1341159
Time: 60 min
Marks: 38
om
Student Info
StudentID: MC100201286
Center: OPKST
Marks
Q No.
Marks
Q No.
Marks
6 17
9 10
18
11
19
12
20 .c 13
21
14
22
15
23
16
78
vu
Question No: 1 ( Marks: 1 ) - Please choose one
om
► User interaction
► Graphics
► Network operations
► Both Graphics and Network operations
__________ language is very good for writing well-structured and readable programs, but it is
not as flexible as the C programming language
► BASIC
► PASCAL
► JAVA
► FORTRAN
___________ refers to the firmware code which is run by an IBM compatible PC when first
powered on.
► DOS
► BIOS
► Utility Program
► None of these
vu
om
► Port
► Slots
► Bus
► Modem
► Clock frequency
► Word length
► Clock frequency and Word length
► None of above
Question No: 8
► Compiler
6 ( Marks: 1 )
► Operating system
► Translator
►R AM
►R OM
►H ard Disk
►C D ROM
British scientist named John A. Fleming made a vacuum tube known today as a diode. Then the
diode was known as a "valve," Is it true?
►
►
om
_____________ is generally measured in terms of the number of steps required to execute an
algorithm.
► Space
► Time
► Memory and time
► Bandwidth
Question No: 13
►G
6 ( Marks: 1 )
vent-driven programs
raphics based programs
► None of the given
Programs where no user interaction found during program execution are called __________.
►B
►E
atch programs
►R
ectangle
►D
iamond
►C
ircle
►Kernel
om
►L
oader
►D
evice manager
6
Question No: 16 ( Marks: 1 )
.c
- Please choose one
78
"Every minute dies a man, And one and a sixteenth is born" said by?
►C
harles Babbage
►B
abbage and Lord Tennyson
vu
om
Question No: 20 ( Marks: 3 )
List
down the names of any three parameters on which we analyze an algorithm.
Which two phases of the SW lifecycle do you think are the most important and effort consuming
steps? Explain with reasons.