Come & Join Us at VUSTUDENTSapi.ning.com/files/b2fCCqmJhBnFdWhfY1HigTTE1DAMSBzIq2j5r... ·...
Transcript of Come & Join Us at VUSTUDENTSapi.ning.com/files/b2fCCqmJhBnFdWhfY1HigTTE1DAMSBzIq2j5r... ·...
Come & Join Us at VUSTUDENTS.net
For Assignment Solution, GDB, Online Quizzes, Helping Study material, Past Solved Papers, Solved MCQs, Current Papers, E-Books & more.
Go to http://www.vustudents.net and click Sing up to register.
VUSTUENTS.NET is a community formed to overcome the disadvantages of distant learning and virtual environment, where pupils don’t have any formal contact with their mentors, This community provides its members with the solution to current as well as the past Assignments, Quizzes, GDBs, and Papers. This community also facilitates its members in resolving the issues regarding subject and university matters, by providing text e-books, notes, and helpful conversations in chat room as well as study groups. Only members are privileged with the right to access all the material, so if you are not a member yet, kindly SIGN UP to get access to the resources of VUSTUDENTS.NET » » Regards » » VUSTUDENTS.NET TEAM. Virtual University of Pakistan
Come & Join Us at www.vustudents.net
MAGA file of CS101 Midterm solved papers by Zindagi Rocx
Question No: 1 (Marks: 1) - Please choose one
i i li i i lifi i i i i►
► ►
►
i ( ) lBl ific i
Mini► ►
Mi► ►
i ( ) ll i i l i ii l i►
i► i►
i i►
i ( ) livi li i i
ivi i► il►
► lli►
i ( ) li i
►l►
i ( ) li i i
►
The trans stor s a so d state sem conductor dev ce used for amp cat on and sw tch ng, and has ____ term nals. one
two three
four
Quest on No: 2 Marks: 1 - P ease choose one ue Pac s a name of ____computer.
Desktop
cro Super
Quest on No: 3 Marks: 1 - P ease choose one
Monte Car o algor thm s an examp e of Random zed algor thm Random zed a gor thm
Greedy algor thm both greedy and random zed
Heur st cs
Quest on No: 4 Marks: 1 - P ease choose one A set of standalone product ty app cat ons des gned to work together known as __ Product ty software su tes Comp ed software
Secure software Inte gent software
Quest on No: 5 Marks: 1 - P ease choose one
The most used form tag s the < nput> tag. True
Fa se
Quest on No: 6 Marks: 1 - P ease choose one What s the key feature of computer wh ch s against human nature.? 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
Come & Join Us at www.vustudents.net
► Database Software
Question No: 8 ( Marks: 1 ) - Please choose one Forms can be submitted by using ______different methods► 2 ► 3
► 4 ► 5
►
►
il►
lll l i
i i►
( ) li
illiilli►
iilli►
i ( )i l ll i
►
INPUT
tted name
nteract ve forms. On y read
ease choose one
shou d extend tse
None of the g ven cho ces
Marks: 1 - P ease choose oneASCII WHITE s the fastest Super computer wh
1.3 b on 1.3 tr on
1.3 m on 1.3 thousand
Quest on No: 14 Marks: 1
____ s a re ated co ect HTML
Question No: 9 ( Marks: 1 ) - Please choose one
To display a checkbox on the web page, we use ____ tag ► CHECKBOX
► CHECK
► INPUTBOX Question No: 10 ( Marks: 1 ) - Please choose one
_____ attribute of FORM tag is used to mention a URL when the form is being submi
► action ► method
► submit
Question No: 11 ( Marks: 1 ) - Please choose one You can __ ______ from/to a website containing i
► Only write
► Read and write ► Not read and write
Question No: 12 ( Marks: 1 ) - PUsing COLSPAN, number of rows of the current ce lf ► Upward
► Downward ► Both Upward and Downward
Question No: 13 ich can perform ______ calculations in one second.
►
►
- Please choose one
on of WWW files that includes a beginning file called a homepage
► 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
Come & Join Us at www.vustudents.net
► 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
i ( ) li
l i►
liabili► l►
All i i►
i ( ) li ll i i
i► Di►
i► ►
i ( ) lill
ill isible►
ill i►ill i►
ill i►
i ( ) li
ivi► i i►
i l► i►
i ( ) li
►li i► i►
ili►
i ( ) li i i ibl i
Quest on No: 17 Marks: 1 - P ease choose one
Compared to vacuum tubes, Trans stors offer: Much smal er s ze
Better re ty Much ower cost
of the g ven cho ces
Quest on No: 18 Marks: 1 - P ease choose one Wh ch of the fo ow ng s NOT a component of IC?
Trans stors odes
Res stors Vacuum tubes
Quest on No: 19 Marks: 1 - P ease choose one
When we use <INPUT type=“password”>, what w happen? -Text w not be vText w be n normal format Text w be n **** format
Text w be n #### format
Quest on No: 20 Marks: 1 - P ease choose one Spread sheet s a type of ________.
Product ty software Eng neer ng software
Mathemat ca software Bus ness software
Quest on No: 21 Marks: 1 - P ease choose one
Word Processor s a ______ System Software
App cat on Software Dev ce
Ut ty
Quest on No: 22 Marks: 1 - P ease choose one _ ____ refers to the f rmware code wh ch s run by an IBM compat e PC when f rst 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_________
► Operating system
Come & Join Us at www.vustudents.net
► 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%
► 0 ► 1
► 2 3►
i ( ) li ll i i i i
Bi►
i► ►
i► i ( ) li i ll i l i
►i►
i►
i i►
i ( )
i
i ( ) Li l i i ( )
l
i ( ) l i is i i i li
l l i l l i i il l labl i i l
i ( ) i i i i ll i l
i i l i i i l i ii i i il i ll l i i i
le
Mi iMi ll i i i i i
Quest on No: 25 Marks: 1 - P ease choose one
Wh ch of the fo ow ng number system s used by m croprocessor? B narynary
Dec mal Octal Hexadec mal
Quest on No: 26 Marks: 1 - P ease choose one
Web s te s co ect on of re ated ___ Informat on___ Web pages
Informat on Search Eng nes
None of the g ven cho ces
Quest on No: 27 Marks: 1 What BIOS stands for? –
Answer: B nary Input Output System
Quest on No: 28 Marks: 1 st down the Ana yt cal Eng ne's components name any two
Answer : Goog e & Netscape,
Quest on No: 29 Marks: 2 Why up oad ng a web page mportant? Descr be n 2 – 3 nes. Answer : By on y up oad ng webpage we cou d p ace our nformat on n order the other can reach up to ready what we oad, up oad means make avai e our data or nformat on for the wor d web browsers
Quest on No: 30 Marks: 3
What s the d fference between m croprocessors and m crocontro ers? G ve one examp e of both. Answer : The m croprocessor s e ectron c equ pment wh ch can perform severa funct on and also process ng of data
and nformat on present n a computer, wh e m crocontro er can on y perform one funct on for that ts des gn Examp
croprocessors _ Pent um 4 crocontro er _ can be a sw tch n s de the wash ng mach ne
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 webpages
Come & Join Us at www.vustudents.net
MIDTERM EXAMINATION Spring 2010
CS101- Introduction to Computing Question No: 1 ( Marks: 1 ) - Please choose one
Vacuum tubes were replaced by ___ ► Punch cards
► iTrans stors ► Mi► ii ( ) l
i i igi► 2
► 8 ►
► i ( ) - P l
i i i► i l ► l► l► i i i
i ( ) - P li i i► ►
► ► All i
i ( ) li i i ii i►
Cli i i► i►
i►
i ( ) li ll l i
l it► it►
Fl i i it► i i i it►
i ( ) l
cro Processors
Res stors Quest on No: 2 Marks: 1 - P ease choose one
Hexadec mal number system s based on -------------------- d ts
12
16 Quest on No: 3 Marks: 1 ease choose one
Java scr pt nteract w th user through______________ Spec al controInternet exp orer Event hand ers
Java scr pt does not nteract w th user
Quest on No: 4 Marks: 1 ease choose one Wh ch one s correct for JavaScr pt?
onMouseOver OnMouseOver
onmouseover of the g ven
Quest on No: 5 Marks: 1 - P ease choose one
Programs that res de on Web servers and rece ve nfo that a user enters n a form, are known as: Server-S de Scr pts
ent-S de Scr pts Super Scr pts
Form Scr pts
Quest on No: 6 Marks: 1 - P ease choose one The ______ s connected to a other modu es of the m croprocessor.
Contro unMemory un
oat ng Po nt unAr thmet c and Log c un
Quest on No: 7 Marks: 1 - P ease choose one
WWW stands for:
► Wide World Web ► World Wide Web
► World White Web ► World Web Wide
Question No: 8 ( Marks: 1 ) - Please choose one
Supercomputers are used in: ► Weather forecasting
► Aeroplane mnufacturing
Come & Join Us at www.vustudents.net
► Atomic bomb experiments ► All of the given choices
Question No: 9 ( Marks: 1 ) - Please choose one
Which one of these is NOT an example of storage devices? ► Tape
► RAM ► Floppy
► DVD
►
►
►
l i i►
) li l
Pi►
►i i►
i ( od __________te►► ►
CHECKBOX
ded by the OS. True
Objects
oped by
Wor d W de Web Consort umMarks: 1 - P ease choose one
ng parts of a who
e Charts
Bar Charts None of the opt ons descr bed
Quest on No: 15 Marks: 1A di e is a
Three
Two One
Question No: 10 ( Marks: 1 ) - Please choose one To display a checkbox on the web page, we use ___ tag
► CHECK
► INPUT ► INPUTBOX
Question No: 11 ( Marks: 1 ) - Please choose one Users communicate with the computer using a consistent user interface provi
► False
Question No: 12 ( Marks: 1 ) - Please choose one
OO software is all about _____________. ► Behaviors
► Methods ► Properties
Question No: 13 ( Marks: 1 ) - Please choose one Web standards are being devel
► Mozilla ► Microsoft
► IBM
Question No: 14 (_____are great for show e that are generally expressed in percentages.
► Line Charts
) - Please choose one
rminal device
► None of above
Question No: 16 ( Marks: 1 ) - Please choose one Select the attribute of the <form> tag
► Method ► Action
► Value ► A ll of above
Come & Join Us at www.vustudents.net
Question No: 17 ( Marks: 2 )Explain briefly the different techniques that are used to embed JavaScript code in a web page?
Answer:Client-side JavaScript code is embedded within HTML documents in a number of ways:
Between a pair of <script> and </script> tags From an external file specified by the src attribute of a <script> tag
In an event handler, specified as the value of an HTML attribute such as onclick or onmouseover As the body of a URL that uses the special javascript: protocol
i
h
il ltipl
li i l
i l
lii i i
i ( l i
Quest on No: 18 Marks: 2
anguage and passes that mach
s t an that of RAM?
C3 to C10 we can wr teue of C4 and than mu
n more than one ne n an htm form?
mportant to th nk about alI. Concept
II. Deve opmentIII. Operat on and maintenanceIV. Decomm ss on ng
Quest on No: 23 Marks: 5 aborate greedy a gor
( ) What is an interpreter? Write its one benifit over compiler.
Answer: Interpreter translates the HLL program one statement at time.Benefit over compiler: It reads a single statement, translates it into machine l ine
language code to the uP and then translates the next statement
Question No: 19 ( Marks: 2 )Whether response time of a microprocessor is greater or les
Question No: 20 ( Marks: 3 ) Write formula for the following expression.
1. If we want to add the value from cell2. If we want to add the value of C2 to the va y by C6 , the formula is written
for Answer: 1. =C3+C10
2. =(C2+C4)*C6
Question No: 21 ( Marks: 3 ) How can we enter data i
Question No: 22 ( Marks: 5 ) What is software life cycle?
Answer: The sequence of phases a SW goes through from the concept to decommissioning
It is i those phases before the design work starts
) El thm definition with solid example in favour and one counter example?
Answer:
An algorithm that always takes the best immediate, or local solution while finding an answer. Greedy algorithms may find the overall or globally optimal solution for some optimization problems, but may find less-than-optimal solutions for
some instances of other problems. Greedy Algorithm: Counter Example
During one of the international cricket tournaments, one of the teams intentionally lost a match, so that they could qualify for the next round. If they had won that particular match, some other team would have qualified
Greedy Algorithm: Example A skier skiing downhill on a mountain wants to get to the bottom as quickly as possible. What sort of an algorithm
should the skier be using?
Come & Join Us at www.vustudents.net
The greedy-algorithm approach will be to always have the skies pointed towards the largest downhill slope (dy/dx), atall times;What is the problem with that approach?In what situations that will be the best algorithm?
In which situations would it perform poorly?
MIDTERM EXAMINATION Spring 2009
CS101- Introduction to Computing
i ( ) li i l i i l►
► ►
►
i ( ) li i i i► Al i► i l i► i► Al i i
i ( ) ll
►
►
i ( ) li ll i l
► ►
► i► Mi
i ( ) li l i
►
► ► i►
i (
Quest on No: 1 Marks: 1 - P ease choose oneA d ode funct ons as the e ectron c vers on of a __________-way va ve.
one
two three
four
Quest on No: 2 Marks: 1 - P ease choose oneWhat s name of book from wh ch word algor thm s taken ?
gebra and tr gonometry Introduct on to a gor thms
Research for new hor zons gor tm de numero Indorum
Quest on No: 3 Marks: 1 - P ease choose one<form> Tags always p aced between the <BODY> and </BODY> tags of a Web page
True
False
Quest on No: 4 Marks: 1 - P ease choose one_______ cons sts of ce s arranged n rows & co umns
Spreadsheets Software Word processor
Presentat on Software crosoft Paint Software
Quest on No: 5 Marks: 1 - P ease choose one_____ was des gned as a rep acement for typewr ter
Spreadsheet Software
Word Processor Software Presentat on Software
Database Software
Quest on No: 6 Marks: 1 ) - Please choose one _________ manages the HW and SW resources ( memory, disk drives etc) of the computer system, often invisibly.
► Explorer.exe ► System Files
► Operating System ► Application Software
Question No: 7 ( Marks: 1 ) - Please choose one
To display a radio button on the web page, we use ___ tag ► INPUTBUTTON
► INPUT
Come & Join Us at www.vustudents.net
____
_________
► RADIOBUTTON ► RADIO
Question No: 8 ( Marks: 1 ) - Please choose one
Machine language is also called ► Assembly Language
► Bi► Hi l ►
i ( ) li i i i i
►
► ► li i► i
i ( ) ll i l i i l ible
► ►
► ►
i ( ) li i
► ►
► ►
i ( ) l
► Wi l► l i► l i► l i
i ( ) ll i l l l ( i ) i l
►
► i► il
nary Language gh Leve Language
HTML Language
Quest on No: 9 Marks: 1 - P ease choose one When the user needs someth ng to be done by the computer, he/she g ves nstruct ons n the form of _____ to
computer Software, Hardware
Hardware, Software System Software, App cat on Software
Graph, Mon tor
Quest on No: 10 Marks: 1 - P ease choose one A truth tab e def nes the _________of a og c funct on for al poss
Input -- Outputs Output -- Inputs
Process -- Inputs Input -- Processes
Quest on No: 11 Marks: 1 - P ease choose one
Wh ch one s correct?
<BODY></BODY> <body></body> Both <BODY></BODY> and <body></body> <BODY/>
Quest on No: 12 Marks: 1 - P ease choose one
WWW stands for: de Wor d Web
Wor d W de Web Wor d Wh te Web
Wor d Web W de
Quest on No: 13 Marks: 1 - P ease choose one A _________trans ates a h gh- eve anguage that s easy to understand for humans nto a anguage that the
computer can understand Computer
Trans stor Comp er
► Device
Question No: 14 ( Marks: 1 ) - Please choose one Deep Blue was the name of
► computer ► human
► city ► game
Come & Join Us at www.vustudents.net
Question No: 15 ( Marks: 1 ) - Please choose one Data travels through bus in the form of ---------------------------
► Packets ► Bits
► Bytes ► Word
Question No: 16 ( Marks: 1 ) - Please choose one
►
► i i li i
ll i
► l
ltiple li i
► //
( ) li
► iliti► i► l►
i ( i i lar
i
Copy
Eng neer ng App cat ons
p between two ce s by us ng _____.
Formu as
s used for mu ne comments
Marks: 1 - P ease choose one____________ s a system software that converts the source code wranguage code.
Ut es Dr vers
Language Trans ator None of the these
Quest on No: 21 Marks: 1__________ s a part cu
Command which saves the selected text before deleting is
► Delete ► Cut
► Undo
Question No: 17 ( Marks: 1 ) - Please choose one AutoCAD falls in the category of _________________
► Graphics Applications
► Scientific Applications ► Business Applications
Question No: 18 ( Marks: 1 ) - Please choose one
In Spreadsheets, you can create a relationshi► Numbers
► Text
► None of the given choices
Question No: 19 ( Marks: 1 ) - Please choose one Which of the following symbol i n JavaScript?
► /
► /* ► //*
Question No: 20
itten in high level language into machine l
) - Please choose one
ly good language for processing numerical data, but it does not lend itself very well to large bus ness programs
► BASIC ► PASCAL
► JAVA ► FORTRAN
Question No: 22 ( Marks: 1 ) - Please choose one
Which of the following number system is used by microprocessor? ► Binary
► Decimal
Come & Join Us at www.vustudents.net
► Octal ► Hexadecimal
Question No: 23 ( Marks: 1 ) - Please choose one
The __________Processor is specially designed for PDA? ► PowerPC
► StrongARM ► Crusoe
► SPARC
i ( ) ll
► i►
► i► Wi
i ( ) li► i► ►
► l
i ( ) ll l i
► ► i► ► l i i
i ( ) i l i
i l l i i l wi i li i
i ( ) i i i i i i
i i i i i i
i ( ) i i i l
Quest on No: 24 Marks: 1 - P ease choose one Mainframe Computers are also cal ed _____
Enterpr se Servers Personal Servers
Enterpr se Managers ndow Servers
Quest on No: 25 Marks: 1 - P ease choose one
URL s a/an ________ Dev ce
Component Address
Too
Quest on No: 26 Marks: 1 - P ease choose one Ada, Countess of Love ace deve oped f rst:
Computer Webs te
Computer Program Ana yt cal eng ne
Quest on No: 27 Marks: 1What s the prob em w th Brute Force Strategy approach? Answer: Brute Strength Strategy nvo ves a ack of th nk ng. The average person on the street can dea th BSA s mp y by
th nk ng of a better way.
Quest on No: 28 Marks: 1What was the name of f rst computer n wh ch b nary numbers were used nstead of dec mal numbers ? Answer: ENIAC was the f rst computer n wh ch b nary numbers were used nstead of dec mal numbers.
Quest on No: 29 Marks: 2How can we say that JavaScr pt s Not Object-Or ented anguage? Answer: JavaScript supports a data type we call an object, it does not have a formal notion of a class. This makes it quite different from classic object-oriented languages such as C++ and Java. The common conception about object-oriented
programming languages is that they are strongly typed and support class-based inheritance. By these criteria, it is easy to dismiss JavaScript as not being a true object-oriented language.
Question No: 30 ( Marks: 3 ) List down the names of any three parameters on which we analyze an algorithm.
Question No: 31 ( Marks: 5 )
Come & Join Us at www.vustudents.net
Write differences between Shareware and Trialware software. Answer:
Both shareware and freeware are terms that are used to describe software that can be downloaded from the Internet. The basic difference between shareware and freeware stems from whether the person downloading the software must
pay for it at some time. Freeware is just that, free software, while shareware means that payment will eventually be necessary. When someone downloads freeware, they are often getting software without paying for it. With some freeware downloads, there is an optional charge. This charge may be in the form of a donation or to upgrade the freeware to the
full version of the program. While this software is free, it is still subject to license terms and conditions to protect
l il
latiit i ibl i
l l il i
l l will i
ii i ( i - 6 )
►
) - P l
► i► i ii ( ) - P l
► Fl i► ►
►
as based on var ousnterest rate you are ab e to calcu
ons e.g., to fmes s poss e to f
th comp ex formu as containSeek. It enab es you to f
a value but Exce do
EXAMINATIONSpr ng 2009on to Comput ng Sess on
computer Super
ease choose one __________________ used for brows
Dev ce
None of the g ven cho ces Quest on No: 3 Marks: 1
It represents the _____________ow L ne
Connector Off-page connector
Start or Stop
the intellectual rights of the software developers
Question No: 32 ( Marks: 5 ) What is function of Goal Seek command in Excel? Answer:
Microsoft Excel gives you a feature to calculate the values according to different formu input parameters; e.g., if you know the amount of the credit, the credit period and the i late
the monthly assessments on the credit. But sometimes you need to do the inverse calcu ind the credit amount by the interest rate, credit period and monthly assessments. Someti nd the parameter
value mathematically but it is no easy task when you deal wi ng a number of parameters. In order to do it Excel has an efficient function called Goal nd a parameter value with the trial-and-error method. You can spend minutes to calculate the formu t for you in no time!
MIDTERM
CS101- IntroductTime: 60 min
Marks: 43 Question No: 1 ( Marks: 1 ) - P lease choose one
Cray-1 was first commercial _________
► Mini ► Micro
► Personal Question No: 2 ( Marks: 1Browser is a ing.
► Tool ► Component
ease choose one
f low chart element.
Question No: 4 ( Marks: 1 ) - P lease choose one
► Object-based JavaScript is an example of _____________ language.
► Object-oriented ► Machine
► Assembly Question No: 5 ( Marks: 1 ) - P lease choose one
The set of rules and guidelines a team of developers follow to construct reasonably complex SW systems is called ► Object Oriented Design
Come & Join Us at www.vustudents.net
► Object Oriented Software ► Design Methodology
► Programming language Question No: 6 ( Marks: 1 ) - P lease choose one
Waterfall is a _________ life-cycle model. ► i l ► ial Sp ra Sequent
► Circular
► Spherical -i ( ) Pl
i li i l i igi► ill ► l i ill► i li ill ill ► i ill i ( ) - P l
lati i ll i►
► ► l► i ii ( ) - P l
Visi i l li i► S► ► i► i ( ) - P l
Fii i i►
► ►
► i ( ) - P l
i l► i► i► i i► i ( ) - P l
i i i l i►► Wi►
► ii ( ) - P l
Quest on No: 7 Marks: 1 ease choose one
What happens f I start a new st w thout c os ng the or nal one? An error w be generated
A nested st w be created Prev ous st w end and a new w start. Noth ng w happen
Quest on No: 8 Marks: 1 ease choose one
In Spreadsheets, you can create a re onsh p between two ce s by us ng _____. Numbers
Text Formu as
None of the g ven cho ces Quest on No: 9 Marks: 1 ease choose one
Calc was the f rst popu ar _______app cat on on PC’s. preadsheet
Word processor Presentat on
Database Quest on No: 10 Marks: 1 ease choose one
ns are used to --------------Commun cate w th m croprocessor
Increase surface area of Fan Decrease surface area of Fan
Speed up the Fan. Quest on No: 11 Marks: 1 ease choose one
Us ng on y HTML we can create Dynam c web pages
Stat c web pages Both Stat c and Dynam c pages
None of these Quest on No: 12 Marks: 1 ease choose one
Everyth ng that JavaScr pt man pu ates s treated as: Object
ndow Text
Scr pt Quest on No: 13 Marks: 1 ease choose one
► l it Contro unThe ______ is connected to all other modules of the microprocessor.
► Memory unit ► Floating Point unit
► Arithmetic and Logic unit Question No: 14 ( Marks: 1 ) - P lease choose one
Communication protocol is a __________that governs the flow of information over a network ► Set of protocols
► l Set of ru es
Come & Join Us at www.vustudents.net
► Device ► Set of methods
Question No: 15 ( Marks: 1 ) - P lease choose one _________ 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
Question No: 16 ( Marks: 1 ) - P lease choose one
►
►
ini i i
► Si l ici
► l i l i
) - P li i
► i► lli►
i (i
►►
i (li
Word Processor Software
Interpreter
st c algor thms for the same prob
mp er and more eff ent
ease choose one
Ana yt ca Eng ne
Marks: 1ne f a computer has the ab
ng test Turn ng test
Inte gence test None
Quest on No: 21 Marks: 1The most used form tag s the <
True False
Quest on No: 22 Marks: 1When the user c
_____ was designed as a replacement for typewriter
► Spreadsheet Software
► Presentation Software ► Database Software
Question No: 17 ( Marks: 1 ) - P lease choose one
Which one of these translates the program once at a time ?
► Compiler ► Operating system
► Translator Question No: 18 ( Marks: 1 ) - P lease choose one
Randomized algorithms are often ________ than determ lem. ► Simpler and more slow
► Complex and more efficient
► Complex and more slow
Question No: 19 ( Marks: 1 ) - P lAda written a computer programme for ?
► Difference Engine
► Harvard Mark 1 ► Mechanical engine
Question No: 20 ( ease choose one A test proposed to determ ility to think. It is called?
► Turi
) - P lease choose one input> tag.
) - P lease choose one cks on the "Submit" button, the content of the form is sent to the server.
► True ► False
Question No: 23 ( Marks: 1 ) - P lease choose one Extension for saving web page is / are;
► l ►
*.htm*.htm
► *.html and *.htm both are in use ► None of These
Question No: 24 ( Marks: 1 ) - P lease choose one
Come & Join Us at www.vustudents.net
In spread sheet a cell may contain ► Numbers
► Text ► Formulas
► All of the given Question No: 25 ( Marks: 1 ) - P lease choose one
Programs where no user interaction found during program execution are called __________. ► Batch programs
► Event-driven programs ► i► ii ( ) - P l
i l ► i► ► i► i ( ) i
i i i il i ii ( )
l i li i i i
ii
i ( ) i
i i i l li
i ( ) i i
i i i i l i lii i l
i l i i l il i
i ( ) i i i
i i l i l i ( ) i i i li i
Graph cs based programs
None of the g ven Quest on No: 26 Marks: 1 ease choose one
OO software s al about _____________. Behav ors
Methods Propert es
Objects Quest on No: 27 Marks: 1What s the key feature of batch programs? Answer:
No user nteract on w th the computer wh e the program s runn ng Quest on No: 28 Marks: 1Name two anguages wh ch are used for c ent s de scr pt ng? Answer:
1. JavaScr pt
2. VBScr pt
Quest on No: 29 Marks: 2What s the purpose of MODEM ? Answer: It s a dev ce used for connect ng two computers over te ephone nes
Quest on No: 30 Marks: 3What s Home Page of a web s te?
Answer: 1. For a Web user, the home page s the f rst Web page that s d sp ayed after start ng a Web browser ke
Netscape's Nav gator or M crosoft's Internet Exp orer. 2. For a Web s te deve oper, a home page s the f rst page presented when a user se ects a s te or presence on
the Wor d W de Web. Quest on No: 31 Marks: 5Why m croprocessor uses the b nary number system and not the dec mal or any other number system? Because th s system s natura for dig ta computers Quest on No: 32 Marks: 5What s the d fference between Interact ve-mode and Batch-mode App cat on Software?
MIDTERM EXAMINATION
Spring 2010 CS101- Introduction to Computing
Question No: 1 ( Marks: 1 ) - Please choose one
Vacuum tubes were replaced by ___ ► Punch cards
► iTrans stors ► Micro Processors
► Resistors
Come & Join Us at www.vustudents.net
Question No: 2 ( Marks: 1 ) - Please choose one
Hexadecimal number system is based on -------------------- digits ► 2
► 8► 12
► 16
Question No: 3 ( Marks: 1 ) - Please choose one i i i
► i l ► l► l► i i i
i ( ) li i i►
► ►
► All i
i ( ) li i i i
► i i► Cli i i► i► i
i ( ) li ll l i
► l it
► it ► Fl i i it
► i i i it
i ( ) l
► Wi l► l i► l i► l i
i ( ) - P li
► i► l i► i i► All i i
Java scr pt nteract w th user through______________
Spec al controInternet exp orer
Event hand ers Java scr pt does not nteract w th user
Quest on No: 4 Marks: 1 - P ease choose one
Wh ch one s correct for JavaScr pt? onMouseOver
OnMouseOver onmouseover
of the g ven
Quest on No: 5 Marks: 1 - P ease choose one Programs that res de on Web servers and rece ve nfo that a user enters n a form, are known as:
Server-S de Scr pts ent-S de Scr pts
Super Scr pts Form Scr pts
Quest on No: 6 Marks: 1 - P ease choose one
The ______ s connected to a other modu es of the m croprocessor. Contro un
Memory unoat ng Po nt un
Ar thmet c and Log c un
Quest on No: 7 Marks: 1 - P ease choose one WWW stands for:
de Wor d Web Wor d W de Web
Wor d Wh te Web Wor d Web W de
Quest on No: 8 Marks: 1 ease choose one
Supercomputers are used n: Weather forecast ng
Aerop ane mnufactur ng Atom c bomb exper ments
of the g ven cho ces
Question No: 9 ( Marks: 1 ) - P lease choose one Which one of these is NOT an example of storage devices?
► ►
Tape RAM
► Floppy
Come & Join Us at www.vustudents.net
_________
► DVD
Question No: 10 ( Marks: 1 ) - P lease choose one To display a checkbox on the web page, we use ___ tag
► CHECKBOX ►
► ►
i ( ) - P li i i i i i
►
►
i ( ) - P li l
► i►
► i►
i ( ) - P li l
► illa
► Mi►
► l i i
i ( ) - P li l l i
► Li► Pi► ► i i
i ( ) - P lode i _________termina evice ►
► ►
►
i ( ) - P ll i► ► i
CHECK
INPUT INPUTBOX
Quest on No: 11 Marks: 1 ease choose one
Users commun cate w th the computer us ng a cons stent user nterface prov ded by the OS. True
False
Quest on No: 12 Marks: 1 ease choose one OO software s al about _____________.
Behav ors Methods
Propert es Objects
Quest on No: 13 Marks: 1 ease choose one
Web standards are be ng deve oped by Moz
crosoft IBM
Wor d W de Web Consort um
Quest on No: 14 Marks: 1 ease choose one are great for show ng parts of a who e that are general y expressed n percentages.
ne Charts e Charts
Bar Charts None of the opt ons descr bed
Quest on No: 15 Marks: 1 ease choose one
A di s a _ l dThree
Two One
None of above
Quest on No: 16 Marks: 1 ease choose one Se ect the attr bute of the <form> tag
Method Act on
► Value ► All of above
MIDTERM EXAMINATION
Spring 2010 CS101- Introduction to Computing (Session - 2 )
Time: 60 min Marks: 38
Question No: 1 ( Marks: 1 ) - P lease choose one
Come & Join Us at www.vustudents.net
-------------
_____
Detailed plan, specifying the required resources and expected deliverables, is done in ________ phase. ► Planning
► User Requirements ► Design
► Developer Specification
Question No: 2 ( Marks: 1 ) - P lease choose one A combination of word processing and graphic design is
► Corel Draw ► li i► ►
i ( ) - P li l i i i i i i
►
► Sl►
►
i ( ) - P l
► ►
► ► All i i
i ( ) - P ll i i i
►
► l► l► l
i ( ) - P li i lati i
► illi► illi► iilli►
i ( ) - P li l i i i
► ►
Desktop Pub sh ng
Paint WordPad
Quest on No: 3 Marks: 1 ease choose one
s an e ectron c path w th n a Computer System along wh ch b ts are transm tted. Port
ots Bus
Modem
Quest on No: 4 Marks: 1 ease choose one The key strengths of computers are
Speed Storage
Do not get bored of the g ven cho ces
Quest on No: 5 Marks: 1 ease choose one
We can change the background co or n HTML, us ng ___ attr bute of <body> background
bgco or backco or
backgroundco or
Quest on No: 6 Marks: 1 ease choose one
ASCII WHITE s the fastest Super computer wh ch can perform __________ calcu ons n one second. 1.3 b on
1.3 tr on 1.3 m on
1.3 thousand
Quest on No: 7 Marks: 1 ease choose one s the examp e of server-s de scr pts on Un x servers.
ASP CGI
► VBScript ► JavaScript
Question No: 8 ( Marks: 1 ) - P lease choose one
We need _____________ for memory management in computer ► Software
► Hardware ► Operating System
► Application Software
Come & Join Us at www.vustudents.net
Question No: 9 ( Marks: 1 ) - P lease choose one
Data was stored and counted mechanically using ----------- decimal storage wheels, --------------------- rotary dial switches.
► 300,400 ► 1300,1400
► 30100,14100 ► 3000 , 1400
-i ( ) Pli i► l► i lin ► l ►
i ( ) - P li l
► ► i► iable ►
i ( ) - P li i li i i lifi i i i
i► ►
► ►
i ( ) - P li i l i i l►
► ►
►
i ( ) - P l
i l l i l► ►
► isi►
Quest on No: 10 Marks: 1 ease choose one
The f rst spread sheet program was nvented by Char es Babbage
Dan Br ckPau Graham
John von Neumann
Quest on No: 11 Marks: 1 ease choose one In x = x + 20, x s cal ed a __________.
Constant Str ng
VarNumber
Quest on No: 12 Marks: 1 ease choose one
The trans stor s a so d state sem conductor dev ce used for amp cat on and sw tch ng, and has __________ term nals.
one two
three four
Quest on No: 13 Marks: 1 ease choose one
A d ode funct ons as the e ectron c vers on of a __________-way va ve. one
two three
four
Quest on No: 14 Marks: 1 ease choose one
Th s e ement of F ow Chart s cal ed_____________. Process
Off page connector
Dec on Connector
Question No: 15 ( Marks: 1 ) - P lease choose one
Choose the correct html format to create a checkbox. ► <checkbox> ► <input type=”checkbox”> ► <check> ► <input type=”check”>
Question No: 16 ( Marks: 1 ) - P lease choose one
Come & Join Us at www.vustudents.net
---------------is the process of starting or restarting a computer. ►BIOS
►Refreshing ► iBoot ng
►None of given
Question No: 17 ( Marks: 2 ) What is the Title of the web page for following code segment?
<Head>
i ( )
i i icl i i
i ( ) i i ll
i l l i ili i i
ibly li i i i allit ici ly
i ( ) i l li i i i
l li i i ili i l i l le i i i l i i i li i i i l l i lially i i l i i iviti
i li li i l l l l l i iiki l i i i l i i i l
i i i l i i lli i i l i i l li l
i i i iti l ic initiati ii l i i
l
<TITLE> VU Web <\TITLE> <TITLE> Page </TITLE> </Head>
Answer: VU Web <TITLE>Page</TITLE>
Quest on No: 18 Marks: 2What do you mean by Comments?
Answer: Comments mean to say someth ng about the top c, art e, p cture, v deo etc.
Quest on No: 19 Marks: 2How can an operat ng system be v ewed as a resource a ocator? Answer: A computer system has many resources that may be requ red to so ve a prob em: CPU t me, memory space, f e-storage space, I/O dev ces, and so on. The operat ng system acts as the manager of these resources. Fac ng numerous and
poss conf ct ng requests for resources, the operat ng system must dec de how to ocate them to specprograms and users so that can operate the computer system eff ent and
Quest on No: 20 Marks: 3What s the ro e of app cat on software n Educat on?
Answer: The ro e of App cat on software n educat on:
App cat on software p ays a v ta ro n the era of nformat on techno ogy. The comb nat on of educat on and techno ogy has been cons dered the main key to human progress. Informat on and Commun cat on Techno ogy p ays an mportant ro e, espec n the process of empower ng the techno ogy nto the educat onal act es. Industry observers expect IT to have profound mpact on de very & qua ty of educat on at every eve , from pre-schoo and e ementary schoo to heducat on & corporate train ng. The str ng acce erat on of soc al, econom c, and techno og cal change n the modern era s a powerfu force for the
ascendancy of teach ng methods s nce these can convey nstant y updated nformat on everywhere on the g obe, de ver ng t to earners when and where they want, n the r homes and workp aces for purposes of fe ong educatInst tut ons, un vers es must deve op strateg ves to ensure h gh standards are maintained and students guaranteed a super or earn ng exper ence. Examp es:
MATLAB
ific fairly.
igher
ion.
Encarta Question No: 21 ( Marks: 3 ) Give four properties and two methods of window object ? Properties:
Opener; Contains the name of the window from which a second window was opened.Closed; Specifies if the window instance has been closed.History; References the URLs the user has visited. This property was added in JavaScript 1.1.Menubar; Refers to the browser's menu bar. This property was added in JavaScript 1.2.
Come & Join Us at www.vustudents.net
Methods: alert(); Displays an alert dialog box with the text string passed.back(); Loads the previous page in place of the window instance. This method was added in JavaScript 1.2.clearTimeout (); Clears the timeout set with the setTimeout() method.
Question No: 22 ( Marks: 5 ) What is the difference between High-level and Low-level programming languages? Answer:
High level programming languages are more structured, are closer to spoken language and are more intuitive than low
l i
i ifi
iti
ifi
le i
l l iimi i l
e
ii l
ill l
i l ii i ill i
i i i ld i
fferentc, COBOL, BASIC, C++, and
ne spec c.
ons. Rather than wr ngnto the zeros and ones that computers
c to each processor and assemb
n favour and one counter examp
ate, or ocal so utzat on prob
cket tournaments, one of the teamscu
on a mountain wants to get to the bottom as qu
thm approach w be to a
What s the prob em w th that approach?In what s tuat ons that w be the best algor thm?In wh ch s tuat ons wou t perform poor
evel languages. Higher level languages are also easier to read and can typically sometimes work on many d
computer operating systems. Some examples of higher level languages are Java, Visual BasiPascal to name only a few. Lower level languages are typically assembly languages that are mach
Computers run instructions at the binary level, interpreting zeros and ones as instructiprogramming code at this level, we've developed languages that compile iunderstand. As these languages become more robust, they get further and further way from zeros and ones, becominghigher level languages.
Examples of high level languages include C, C++, Java, etc.Examples of low level languages include machine language spec ly language specific toeach processor.
Question No: 23 ( Marks: 5 ) Elaborate greedy algorithm definition with solid examp le?Answer:An algorithm that always takes the best immedi on while finding an answer. Greedy algorithms mayfind the overall or globally optimal solution for some opt ems, but may find less-than-optimal solutions for
some instances of other problems.Greedy Algorithm: Counter ExamplDuring one of the international cr intentionally lost a match, so that they could qualify for the next round. If they had won that part ar match, some other team would have qualified
Greedy Algorithm: Example A skier skiing downhill ickly as possible. What sort of an algorithm
should the skier be using? The greedy-algori ways have the skies pointed towards the largest downhill slope (dy/dx), at
all times;
ly?
MIDTERM EXAMINATION
Spring 2010 CS101- Introduction to Computing (Session - 4 )
Time: 60 min Marks: 38
Question No: 1 ( Marks: 1 ) - P lease choose one
Ada, Countess of Lovelace developed first: ► Computer
►Website ► Computer Program
► Analytical engine
Come & Join Us at www.vustudents.net
Question No: 2 ( Marks: 1 ) - P lease choose one
Charles Babbage was a/an ► Mathematician
► Computer Scientist ► Physician
► Analyst
Question No: 3 ( Marks: 1 ) - P lease choose one
i►
i l i
i i►
i
=►
) - P lil
►
i ( ) - P li►► ►
i►
i (i
User Requ rements
phera dev ce
Dev ce Dr ves
wr te
<OL start “20">
ease choose one der for supercomputers.
Cray Research
Quest on No: 7 Marks: 1ng COLSPAN, number of rows of the current ce
Upward
Downward Both Upward and Downward
None of the g ven cho
Quest on No: 8 Marks: 1
Detailed plan, specifying the required resources and expected deliverables, is done in ________ phase. ► Planning
► Design ► Developer Specification
Question No: 4 ( Marks: 1 ) - P lease choose one
A computer program that facilitates the communication between the computer and a per is called___________________
► Operating system ► Utilities
► Language Translator
Question No: 5 ( Marks: 1 ) - P lease choose one
To start an ordered list from 20 instead of 1, we will ► <OL begin = “20"> ► <OL initiate = “20">
► <OL from = “20">
Question No: 6 ( Marks: 1_________ is the best known bu
► Sun
► Microsoft ► Apple
ease choose one
Us ll should extend itself
ices
) - P lease choose one Interact ve forms are always placed between ___ tag-set
► TITLE ► HEAD
► BODY ► HTML
Question No: 9 ( Marks: 1 ) - P lease choose one
_________ manages the HW and SW resources ( memory, disk drives etc) of the computer system, often invisibly. ► Explorer.exe
► System Files
Come & Join Us at www.vustudents.net
► Operating System ► Application Software
Question No: 10 ( Marks: 1 ) - P lease choose one
Speakers fall into the hardware category.► True
► False
Question No: 11 ( Marks: 1 ) - P lease choose one
►
0523 =+− xx ?
l►
i
►
) - P li
All i i►
( ) - P li
Li► Pi►
► i►
i (l
System software
on
=Goa Seek
ng.
Undo
ease choose one
pt objects may have___________ propert es.
of the g ven opt ons
on No: 15 Marks: 1_________ are great for show ng parts of a who
ne Charts e Charts
Bar Charts None of the opt ons descr
Quest on No: 16 Marks: 1Smal Computer System Interface
______________ software directly interacts with the hardware. ► Application software
► Dynamic software ► Distributed software
Question No: 12 ( Marks: 1 ) - P lease choose one
In spreadsheet, which of the following function is used to solve the equati 3
► =COUNTIF
► None of the above
► =Sum
Question No: 13 ( Marks: 1 ) - P lease choose one _______ is known as the best feature in word process
► Cut ► Copy
► Paste
Question No: 14 ( Marks: 1In java scri
► Single
► Several ► Multiple
Questi ease choose one le that are generally expressed in percentages.
ibed
) - P lease choose one
is ► Slower and harder to configure then serial and parallel ports
► Faster then USB ► Both first choices
► S lower then USB but Faster then serial and parallel
Question No: 17 ( Marks: 2 ) Write the major types of softwares with examples? Answer:
Come & Join Us at www.vustudents.net
Software is the set of instructions which guides the computer hardware through their jobs. A computer is useless without software. We use different software to solve different problems. The types of software we need depend on
the job we want to do.
There are basically two types of software; 1. System software: Application software are programs that interact directly with the user for the performance
of a certain type of work. That work generally falls into one of the following usage areas
2. Application software: Application software are programs that interact directly with the user. They generally
do not talk directly to the hardware.
Question No: 18 ( Marks: 2 ) What is the major difference between paragraph <p> and Line Break <BR> tags? Answer:
p> tag is use to Insert paragraph breaks into the text of your HTML document. Note that this tag is special in that it does not require an ending tag. The <br> tag inserts a single line break. The <br> tag is an empty tag which means that it has no end tag.
Question No: 19 ( Marks: 2 ) Why PASCAL was designed and what is the problem with PASCAL? Answer: Pascal was originally intended primarily as a teaching language. It is very good for writing well-structured and readable
programs, but it is not as flexible as the C programming language
Question No: 20 ( Marks: 3 ) What are the key requirements of E-commerce Software?
Answer: Reliability
Security Ability to handle 1000’s of transactions, simultaneously
Question No: 21 ( Marks: 3 ) Write down the pseudo code for the following flow chart.
Do it by yourself :P
Come & Join Us at www.vustudents.net
Question No: 22 ( Marks: 5 ) (a) Write down two positive features of client-side scripting. (b) Discuss two deficiencies of JavaScript. Answer (a): 1. Reduced server load as it does not have to send messages to the user’s browser about missing or incorrect data
2. Reduced network traffic as the form’s data is sent only once instead of many to’s and fro’s
Answer (b): 1. It's either embedded in an HTML page or included in an HTML page so it's open source. Anyone can view your code. This can be a bad thing if you have proprietary algorithms. 2. There are no libraries. You can't draw a mass of library functionality to support complex programs. As before
everything is included as ascii text and is downloaded to the client at connect time so large programs are awkward at best. Question No: 23 ( Marks: 5 )
What are the key features of a word processor?
Answer:
Insert text: Allows you to insert text anywhere in the document.delete text: Allows you to erase characters, words, lines, or pages as easily as you can cross them out on paper.cut and paste : Allows you to remove (cut) a section of text from one place in a document and insert (paste) itsomewhere else.copy : Allows you to duplicate a section of text.graphics: Allows you to embed illustrations and graphs into a document. Some word processors let you create the
illustrations within the word processor; others let you insert an illustration produced by a different program.headers , footers , and page numbering: Allows you to specify customized headers and footers that the word processor
will put at the top and bottom of every page. The word processor automatically keeps track of page numbers so thatthe correct number appears on each page.print: Allows you to send a document to a printer to get hardcopy.search and replace : Allows you to direct the word processor to search for a particular word or phrase. You can also
direct the word processor to replace one group of characters with another everywhere that the first group appears.
Come & Join Us at www.vustudents.net