Collection of Cs101 Old Papers
-
Upload
majidvacom -
Category
Documents
-
view
234 -
download
0
Transcript of Collection of Cs101 Old Papers
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 1/68
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 2/68
Question No: 1 Marks:10
Write down the code, to take two input numbers from user (As shown in Fig 5.1 and 5.2), compare themand show results, whether they are same or not (As shown in fig 5.3). View the given below Image verycarefully 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
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 3/68
Fig 5.3
Question No: 2 Marks:9
Describe the following terms?• FTP.• Telnet Protocol.• IP Address.
Question No: 3 Marks:6
What are local variables? Compare them with global variables?
Question No: 4 Marks:10
Examine the logic of following pseudo code:
initialize x to 10initialize y to 0initialize sum to 0Repeat while (y <= 6){
Add x and y and put results into sumdecrement x by 2increment y by 3
} print sumStopWhat will be the value of the variables “sum, x and y”, each time after the loopis executed?
Question No: 5 Marks: 10
Write down a JavaScript function with the name “ BinConvert( ) ” that takes adecimal number and converts it into its equivalent binary number and displaysthe result in browser. Call that function in the body of the web page.
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 4/68
Question No: 6 Marks: 5
What is database? Describe Data Integrity?
Question No: 7 Marks: 2
Web server:
A. Is a software to deliver e-mailB. Is a computer that store and deliver web pagesC. Does not allow electronic chattingD. Does not have a Domain name
Question No: 8 Marks: 2
Ports are:
A. Input devicesB. Output devicesC. Used to allow I/O devices to communicate with the CPUD. Able to process incoming data
Question No: 9 Marks: 2
A Hyperlink is a:
A. Connection between two computersB. Connection between two countries on the net
C. Gateway to the next web pageD. Gateway between five continents
Question No: 10 Marks: 2
Vacuum Tubes are:
A. Smaller then transistorsB. Made up of two or more electrodes in a glass metal tubeC. Used in IBM PCD. Invented by Tim Berners lee
Question No: 11 Marks: 2
Memory inside a microprocessor is called
A. RAMB. ROMC. CacheD. Pre-fetch buffer
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 5/68
WWW.vujannat.ning.COM
www.vujannat.ning.com
Instructions
CS101 Introduction to ComputingFinal Term Examination - February 2005
Time Allowed: 150 Minutes
Please read the following instructions carefully before attempting any question:
1. This examination is closed book, closed notes, closed neighbors.2. Answer all questions.
a. There is no choice.b. You will have to answer all questions correctly in this examination to get the
maximum possible marks.3. 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 tothe best of your understanding.
b. If you believe that some essential piece of information is missing, make anappropriate assumption and use it to solve the problem.
4. Examination also consists of multiple-choice questions [MCQs]. Choose or Highlightonly 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 or highlight 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, choose or highlight the one that appears to you asbeing the least wrong.
5. All Web development questions should be answered using the HTML/JavaScript syntax.
**WARNING: Please note that Virtual University takes serious note of unfairmeans. Anyone found involved in cheating will get an `F` grade in this course.
Total Marks: 50 TotalQuestions: 14
Question No. 1 Marks : 2
Micro controller
1 Are faster then microprocessor2 Is another name for microprocessor?
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 6/68
3 Are complete computer on a chip4 Cost thousands of dollar per piece
Question No. 2 Marks : 2
Two major types of software are
1 Application Software , System Software2 Application Software , Database Software3 System Software , Database Software4 Database Software , Embedded Software
Question No. 3 Marks : 5
How Operating System software does manage a device when a particular application isexecuted? Explain with at least one example?
Question No. 4 Marks : 2
Word representing the protocol in URL http://www.microsoft.com is
1 www2 Microsoft3 microsoft.com4 http
Question No. 5 Marks : 5
What do you know about WWW and what are the basic elements of web design?
Question No. 6 Marks : 5
What do you know about Neural Networks and give any two examples.
Question No. 7 Marks : 5
Define and explain Greedy Algorithm briefly. You are also required to give key advantage andan example of Greedy Algorithm.
Question No. 8 Marks : 6
Determine the correct reserved words of JavaScript from the following list and explain thembriefly.
1 document2 read3 alert4 delete5 function6 comment
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 7/68
+
Question No. 9 Marks : 6
Discuss any three issues/characteristics of Data Management.
Question No. 10 Marks : 11
Write function using JavaScript. The name of function will be " display( ) ". The " display( ) "function will display the following string as shown below:
3 2X Y
[Hint: Use string methods sub( ) and sup( )]The "display( ) " function should be called at onLoad event.
Question No. 11 Marks : 2
Consider the following codepitch = "hard"bowler="slow"if ( (pitch == "hard") || (bowler == "fast") )
myStatus = "Bouncer" ;else
myStatus = "Short Pitch" ;
Variable myStatus will contain the value:
1 Bouncer
2 Short Pitch3 Hard4 Slow
Question No. 12 Marks : 2
What does the following JavaScript code
function changeBgcolor(){
oldColor = window.document.bgColor;window.document.bgColor = "pink";
window. alert("The old color was " + oldColor);}
1 Change the Color of Window document to pink and nothing else2 Change the Color of Window document to pink and display the name of old Color in a
dialogue box3 Change the Color of Window document to Blue and displays name of old color in a
dialogue box4 Create a form in window document
Question No. 13 Marks : 10
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 8/68
Examine and explain the logic of following pseudo code:
Let the decimal number be an integer x, x > 0Let the binary equivalent be an empty string yRepeat while x > 0{
Determine the quotient & remainder of x ÷ 2y = CONCATENATE( remainder, y )x = quotient
}Print yStop
Question No. 14 Marks : 12
You are required to develop a web page using HTML and JavaScript. First page should taketwo inputs as maximum and minimum limit as shown in Fig 1.1. The first input must begreater than or equal to 1 and the second input must be less than or equal to 6. Minimumlimit should be less than the Maximum limit. Generate Headings by this minimum andmaximum limit as shown in Fig 1.2. The Headings must be generated when Submit button isclicked.[Example: Min Limit: 3 and Max Limit: 5, So the heading H3, H4 and H5 will be generated.]
Fig: 1.1
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 9/68
Fig: 1.2
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 10/68
vujannat.ning.comhttp://vujannat.ning.com
Largest Online Community of VU StudentsFINAL TERM EXAMINATION
SEMESTER FALL 2005
CS101-INTRODCUTION TO COMPUTING [Session-3]
Total Marks:60
Duration: 120 min
StudentID/LoginID
Name
PVC Name/Code
Date 17 - 3 - 2006
Maximum Time Allowed: (2 Hour)
Please read the following instructions carefully before attempting any question:
1. This examination is closed book, closed notes, closed neighbors.
2. Answer all questions.
a. There is no choice.b. You will have to answer correctly all questions in this examination to get the maximum
possible marks.
3. 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 appropriateassumption and use it to solve the problem.
4. All Web development questions should be answered using the HTML/JavaScript syntax.
**WARNING: Please note that Virtual University takes serious notice of using unfair means.Anyone found involved in cheating will get `F` grade in this course.
For Teachers Use OnlyQuestions Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q9 Total
Marks
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 11/68
Question No: 1 Marks:10
Write down the code, to take an input numbers from user (As shown in Fig 5.1), Check it, whether it’s aneven number or odd, and display the results as alert (As shown in fig 5.2). View the given below Imagevery carefully and try to fulfill all requirements given in image.
(Hint: Make web page using Use JavaScript to check whether its an even number or odd)
(Fig 5.1)
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 12/68
(Fig 5.2)
Question No: 2 Marks:9
Describe the following terms?• Instant messaging.• VoIP.• Domain Names.
Question No: 3 Marks:6Define function, and its advantages?
Question No: 4 Marks:10
Write down Pseudo Code in which there are two variables named as "x", "y" and "z". Multiply these twovariables "x" and "y" with each other. Store result in variable "z". Print the value of "z".
Question No: 5 Marks: 10
View the following JavaScript Code:<body><html><a ref=”www.yahoo.com”><img = “Hello.gif”><td>
</td>
<tr>First</tr><tr>Second</tr><tr>Third</tr>
</html>Identify the errors
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 13/68
x=1;while (x>6000);
document.write(x)x=x+1
1. Identify the errors2. How many times the while loop will be executed.
Question No: 6 Marks: 5
Describe Payload and Transmission mechanism of virus?
Question No: 7 Marks: 2
Which of the following cannot come between the <Body></Body> tag
A. <P>B. <A HERF></A>C. <Title></Title>D. <BR></BR>
Question No: 8 Marks: 2Modem is used:
A. Only to enter data into computerB. For calculating huge numbersC. For communication of data between internet and your computerD. To write information on the world wide web
Question No: 9 Marks: 2
Search engines:
A. Scan the entire web for the desired informationB. Search the news groups for the required informationC. Make the list of images that are available on the netD. Are built to facilitate the scientists
Question No: 10 Marks: 2
ARPANET is a:
b) View the following Ja W vaScW ript W Cod .eV :
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 14/68
A. World’s firW st neW tworW k B. Network protocolC. Latest Internet siteD. Internet game
Question No: 11 Marks: 2
A group of binary digits that a computer manipulate as a unit is called
A. ByteB. WordC. BitD. Hertz
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 15/68
WWW.vujannat.ning.COM LargestOnline Community of VU Students
FINALTERM EXAMINATION
FALL 2006
CS101 - INTRODUCTION TO COMPUTING
Marks: 60
Time: 120min
StudentID/LoginID:
Student Name:
Center Name/Code:
Exam Date:
Please read the following instructions carefully before attempting anyof the questions:
1. Attempt all questions. Marks are written adjacent to each question.
2. Do not ask any questions about the contents of this examinationfrom anyone.
a . If you think that there is something wrong with any of thequestions, attempt it to the best of your understanding.
b . If you believe that some essential piece of information ismissing, make an appropriate assumption and use it to solve theproblem.
c . Write all steps, missing steps may lead to deduction of marks.
3. You can consult your handouts while solving the paper.4. The paper is tool independent.
**WARNING: Please note that Virtual University takes serious note ofunfair means. Anyone found involved in cheating will get an `F` grade
in this course.
For Teacher's use onlyQuestion 1 2 3 4 5 6 7 8 9 10 Total
MarksQuestion 11 12 13 14 15
MarksQuestion
Marks
Question No: 1 ( Marks: 1 ) - Please choose one
What computer hardware is essential for connecting two computers in Local Area Network?
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 16/68
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 17/68
► .doc
► .mdb
► .gif
► .tmp
Question No: 5 ( Marks: 1 ) - Please choose one
A hardware device that stores data and programs, executes program instructions, andperforms arithmetic/logic operations is known as the .
► CPU
► Integrated Circuit
► Main Storage
► Memory
Question No: 6 ( Marks: 1 ) - Please choose one
The input device that reads printed characters, symbols, or graphical images into thecomputer is the:
► Sensors
► Spee ch recognition
► Mouse.
► Scanner
Question No: 7 ( Marks: 1 ) - Please choose one
The component of the central processing unit that holds instructions, stores data and keepsresults during the processing is called the:
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 18/68
► Arithmetic/Logic unit.
► Control unit.
► Main memory.
► Micro processing chip.
Question No: 8 ( Marks: 1 ) - Please choose one
The software that is used to write/send/receive an e-mail is called
► Web browser
► Mail Binder
► E-mail Handler
► E-mail Client
Question No: 9 ( Marks: 1 ) - Please choose one
A computer virus is a
► Software that saves the computer from being damaged.
► Application software that helps to make different type of viruses and worms
► Program that spreads itself and destroys other program
► Program that corrects the problems in your computer
Question No: 10 ( Marks: 1 ) - Please choose one
What does internet service provider mean?
► A software that helps you to connect to internet
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 19/68
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 20/68
Give at least one example for each the following?
1. Word Processor2. Spreadsheet Software3. Presentation software4. Database software
5. Antivirus-software6. Email Program7. Search Engines8. IP Address
Question No: 14 ( Marks: 12 )
What is Network Topology? Discuss advantages and disadvantages of the following networkdesign topologies with the help of diagram.
1- Bus Topology
2- Star Topology
Question No: 15 ( Marks: 12 )
Define the following terms: (Marks: 3*4=12)
a) Firewallb) Artificial Neural Networkc) Animationd) Denial of Service (DoS )
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 21/68
WWW.vujannat.ning.COM WWW.vujannat.ning.COM Connecting
VU Students
FINALTERM EXAMINATION
FALL 2007
CS101 - INTRODUCTION TO COMPUTING (Session - 7)
Marks: 45
Time: 150min
StudentID/LoginID:
Student Name:
Center Name/Code:
Exam Date: Monday, March 03, 2008
Please read the following instructions carefully before attempting any of the
questions:
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.
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
found involved in cheating will get an `F` grade in this course.
For Teacher's use onlyQuestion 1 2 3 4 5 6 7 8 9 10 Total
Marks
Question No: 1 ( Marks: 1 ) - Please choose one
FTP stands for
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 22/68
► File transmission protocol
► File transmission path
► File transfer protocol
► Fine Transfer path
Question No: 2 ( Marks: 1 ) - Please choose one
What will be the result of a?
a = Math. abs(-23)
► 23
► -23
► 23.0
► 2.3
Question No: 3 ( Marks: 1 ) - Please choose one
A function is also called
► Sub-program
► Procedure
► Sub-routine
► All of the these
Question No: 4 ( Marks: 1 ) - Please choose one
URL is a/an .
► Device
► Component
► Address
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 23/68
► Tool
Question No: 5 ( Marks: 1 ) - Please choose one
Command that allows you to remove mistakes
► Copy
► Delete
► Cut
► Undo
Question No: 6 ( Marks: 9 )
What is the impact of web on our Society and Business?(4.5 + 4.5)
Question No: 7 ( Marks: 10 )
What are the Key Characteristics of Internet? Write any five of them.(2+2+2+2+2)
Question No: 8 ( Marks: 8 )
Can a human doctor be replaced by an Expert System? Give reasons to support your answer. (2+6)
Question No: 9 ( Marks: 6 )
What is function of Goal Seek command in Excel? How to use it?(3+3)
Question No: 10 ( Marks: 7 )
What is function ? Explain it with an example. (2+5)
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 24/68
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 25/68
Question No. 1 Marks : 02is the protocol used for file transfer.
o wwwo smtpo ftpo http
Question No. 2 Marks : 06
What is difference between SMTP and POP?
Question No. 3 Marks : 02
is the correct JavaScript syntax.
o while{a<=b}o while{a<=b};o while(a<=b);o while(a<=b)
Question No. 4 Marks : 02
You are required to develop a web page using HTML and JavaScript. Pageshould have 4 buttons. Three buttons have different color(Red,Green,Blue).Fourth button is used as "Refresh" button. Finally the page should berepresented as given in Fig.Develop a function in JavaScript that changes the color of the back groundaccording to the button clicked. "Refresh" buttons is use to reset the colorof page.Hint: Refresh button is used to set the background color of the pageto white.[Example: When Green button is clicked the back ground color will be set to
"Green" and so on.]
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 26/68
Question No. 5 Marks : 02
Examine and write down the value printed after execution of followingstatements.
1. document.write( 2 + Math.PI ) ; (Math.PI=3.141)2. document.write( "2" + "3" ) ;
3. document.write( "2" + Math.PI ) ;
4. document.write( "Yes" + false ) ;
5. document.write( 2 + 3 ) ;
Question No. 6 Marks : 02
Applications talk to devices through the OS and OS talks to and managesdevices through_ .
o Application Interfaceo File Systemo Device Drivero Kernel
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 27/68
Question No. 7 Marks : 02
How Data Security can be improved in Database Management System?
Question No. 8 Marks : 02
is readily understood by microprocessors and thislanguage is very difficult to write in for human programmers.
o Low Level Languageo Machine Languageo High Level Languageo Assembly Language
Question No. 9 Marks : 08
a) Write an Inline JavaScript code that prompts the message "Welcometo VU" when button is clicked.
b) Convert the binary number 1110011 into decimal number System.Mention each step.
Question No. 10 Marks : 02
Examine the syntax carefully and determine the output:name = "virtual university" ;
document.write( name.toUpperCase( ) ) ;
o virtual university
o Virtual Universityo Virtual universityo VIRTUAL UNIVERSITY]
Question No. 11 Marks : 08
Define AI (Artificial Intelligence) in one line. Name sub categories of AI.
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 28/68
WWW. vujannat.ning.comhttp:// vujannat.ning.com
Largest Online Community of VU Students
FINALTERM EXAMINATION
SPRING 2006CS101 - INTRODUCTION TO COMPUTING (Session - 3
)
Marks: 50Time: 120min
StudentID/LoginID:
Student Name:
Center Name/Code:
Exam Date: Saturday, August 05, 2006
Please read the following instructions carefully before attempting anyof the questions:
1. Attempt all questions. Marks are written adjacent to each question.
2. Do not ask any questions about the contents of this examinationfrom anyone.
a . If you think that there is something wrong with any of thequestions, attempt it to the best of your understanding.
b . If you believe that some essential piece of information ismissing, make an appropriate assumption and use it to solve theproblem.
c . Write all steps, missing steps may lead to deduction of marks.3. The paper is tool independent.
**WARNING: Please note that Virtual University takes serious note of
unfair means. Anyone found involved in cheating will get an `F` gradein this course.
For Teacher's use onlyQuestion 1 2 3 4 5 6 7 8 9 Total
Marks
Question No: 1 ( Marks: 2 ) - Please choose one
Whichstatement is wrong for naming an identifier?
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 29/68
► Identifiers are names used by JavaScript to refer to variables, objects, properties,methods, and functions.
► An identifier must begin with an alphabetical character (a-z or A-Z), underscore“_” character or $ character.
► Subsequent characters can be an alphabetical (a-z or A-B) or numeric character(0-9) or an underscore
Question No: 2 ( Marks: 2 ) - Please choose one
Which of the following words can’t be used for naming an identifier in JavaScript?
► struct
► plugin
► parent
► package
Question No: 3 ( Marks: 2 ) - Please choose one
Data Management comes up with different issues except one:
► Data entry
► Data updates
► Data integrity
► Data security
► Data presentation
Question No: 4 ( Marks: 2 ) - Please choose one
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 30/68
Choose correct statement.
► The value of a variable can not be changed during execution of the script.
► In JavaScript a variable’s type is defined before usage.
► The untyped feature makes JavaScript simpler to program in when developing shortprograms.
► The untyped feature makes JavaScript simpler to program in when developing bigprograms.
Question No: 5 ( Marks: 10 )
What kind of operations take place inside Microprocessors Building Blocks? Enlist them with brief description.
Question No: 6 ( Marks: 8 )
Is there any way to call multiple functions with a single event in JavaScript? Give an example.
Question No: 7 ( Marks: 8 )
a) Differentiate between SMTP and POP3 server. (3 marks)
b) How can you justify that a DBMS is better to use than Flat-file database? (5 marks)
Question No: 8 ( Marks: 8 )
What will be the output of this programme? Write comments where you find “//” symbol in thefollowing code.
<html><head><script language="JavaScript">function doSo mething() { // 1
setTimeout('doSomething()',10000); // 2}</script></head>
<body onLoad="doSomething()"> // 3document.write(“Virtual University of Pakistan”);
</body>
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 31/68
</html>
Question No: 9 ( Marks: 8 )
a) How Trojan Horses and Worms affect a computer system? What guidelines should be adoptedto troubleshoot with malicious softwares? (6 marks)
b) Which part of a virus consists of malicious computer instructions? (2 marks)
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 32/68
WWW.vujannat.ning.COM
vujannat.ning.COMConnecting VU Students
FINALTERM EXAMINATIONSPRING 2007
CS101 - INTRODUCTION TO COMPUTING (Session - 3)
Marks: 60
Time: 150min
StudentID/LoginID:
Student Name:
Center Name/Code:
Exam Date: Wednesday, July 11, 2007
Please read the following instructions carefully before attempting any of thequestions:
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, makean appropriate assumption and use it to solve the problem.
c. Write all steps, missing steps may lead to deduction of marks.
d. Cutting and over-writing is not allowed in MCQs.
3. Use of cell phone during the examination is strictly prohibited, otherwise strictdisciplinary action will be taken as per university rules.
**WARNING: Please note that Virtual University takes serious note of unfairmeans. Anyone found involved in cheating will get an `F` grade in this course.
For Teacher's use onlyQuestion 1 2 3 4 5 6 7 8 9 10 Total
MarksQuestion 11 12 13 14 15Marks
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 33/68
QuestionMarks
Question No: 1 ( Marks: 1 ) - Please choose one
In Spreadsheets, you can create a relationship between two cells by using .
► Numbers
► Text
► Formulas
► None of given option
Question No: 2 ( Marks: 1 ) - Please choose one
An algorithm that always takes the best immediate or local solution while finding an answer iscalled .
► Deterministic Algorithm
► Non deterministic Algorithm
► Greedy Algorithm
► Randomized Algorithm
Question No: 3 ( Marks: 1 ) - Please choose one
Which of the following command allows you to recover form mistakes in MS Word?
► Clear
► Edit
► Undo
► Break
Question No: 4 ( Marks: 1 ) - Please choose one
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 34/68
A operating system allows many users to take advantage of the computer'sresources, simultaneously
► Single user
► Multi- user
► Single tasking
► Multi tasking
Question No: 5 ( Marks: 1 ) - Please choose one
Network Interface Card is an device
► Input
► Output
► Input/Output
► Storage
Question No: 6 ( Marks: 1 ) - Please choose one
The decimal equivalent of binary 1000 is
► 7
► 8
► 9
► 10
Question No: 7 ( Marks: 1 ) - Please choose one
Which of the following is NOT RDBMS software?
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 35/68
► MySql
► MS Excel
► Oracle
► SQL Server
Question No: 8 ( Marks: 1 ) - Please choose one
A computer virus is a
► Software that saves the computer from being damaged.
► Application software that helps to make different type of viruses and worms
► Program that spreads itself and destroys other program
► Program that corrects the problems in your computer
Question No: 9 ( Marks: 1 ) - Please choose one
What will be the result of a?a = Math.abs(-23)
► 23
► -23
► 23.0
► 2.3
Question No: 10 ( Marks: 1 ) - Please choose one
A Special program required to view swf (Shockwave Flash) files in web Browser is called
► TFlash
► Vflash
► plug-in
► None of the given options
Question No: 11 ( Marks: 8 )
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 36/68
Column 1 Column 2 Column 3
1. MainframeComputers
2. Mosaic3. Operating System4. Router5. Spread Sheet6. Mobile Computer7. Intel 40048. CyberCrime
A. Network Trafficcontroller
B. LaptopC. Micro ProcessorD. Software PiracyE. Windows XPF. Enterprise ServersG. VisiCalcH. Web Browser
Match the relevant options from the given two columns and write the correct options inColumn 3.
Question No: 12 ( Marks: 12 )
(a) What is the difference between Wisdom and Heuristic?
(b) Differentiate between Cyber crime and Cyber warfare.
(c) What is a Relational Database? Give the names of any three RDBMS softwares?
Question No: 13 ( Marks: 8 )
What do you know about the following ? Describe briefly.
a) Enterprise Resource Planning (ERP) Software
b) Spread Sheet
c) Network Topology
d) SMTP
Question No: 14 ( Marks: 10 )
(a) What is the difference between High level and Low level programming languages?(Marks: 4)
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 37/68
(b)Whatare the following abbreviations stands for(Marks: 3)
1- VoIP
2- DNS
3- DOS
(c) Name three operations that you can perform on a database(Marks: 3)
Question No: 15 ( Marks: 12 )
a) Develop a Web page that prompts the user to enter a name and then print that name fivetimes by using loop. A sample is shown in the figures below.
(Marks: 6)
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 38/68
b) Write down the JavaScript function that is equivalent to the following HTML code?(Marks: 3)
HTML code JavaScript function<FONT size=18>…</FONT>
<FONT color= ”blue” >…</FONT><PRE> … </PRE>
(c) Suggest any three guidelines to make a website more readable?(Marks: 3)
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 39/68
WWW.vujannat.ning.COM
vujannat.ning.com
CS101 Introduction to ComputingMid Term Examination - November 2004
Time Allowed: 90 Minutes
InstructionsPlease read the following instructions carefully before attempting any question:
1. This examination is closed book, closed notes, closed neighbors.2. Answer all questions.
a. There is no choice.b. You will have to answer correctly all questions in this examination to get the
maximum possible marks.3. 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 tothe best of your understanding.
b. If you believe that some essential piece of information is missing, make anappropriate assumption and use it to solve the problem.
4. All Web development questions should be answered using the HTML/JavaScript syntax.
**WARNING: Please note that Virtual University takes serious notice of usingunfair means. Anyone found involved in cheating will get `F` grade in this course.
Total Marks: 45 Total Questions: 12
Question No. 1 Marks : 2
WYSIWYG is:
1 Software2 The abbreviation of "what you see is what you get"3 A Network company in Japan4 The abbreviation of "word you see is what you get"
Question No. 2 Marks : 3
What do you know about structured design methodology?
Question No. 3 Marks : 2
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 40/68
BASIC stands for:1 Basic American Standard Information Code2 Beginners All purpose Symbolic Instruction Code3 Brother and Sisters In Christ4 British American Scientific International Commercial
Question No. 4 Marks : 4
Write down code for drop down list having options Cricket, Hockey and Soccer.
Question No. 5 Marks : 4
What are the basic steps to write pseudo code? Write any four.
Question No. 6 Marks : 2
Microprocessor are made up of semiconductor material called1 Aluminum2 Copper3 Silicon dioxide4 Silicon
Question No. 7 Marks : 10
a) Make truth table for the following Boolean expression z=(x XOR y).y'b) Convert 1011 binary number to equivalent decimal number. Show each step ofConversion.
Question No. 8 Marks : 3
What do you know about Mobile Computers? Explain Briefly.
Question No. 9 Marks : 2
World's first program was written by
1 Charles Babbage2 Alfred Tennyson3 Ada Lovelace4 Bernoulli
Question No. 10 Marks : 6
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 41/68
What is difference between Literals, Identifiers and Variables in JavaScript? Give at least oneexample of each.
Question No. 11 Marks : 15
a) Take a look at the image of the browser screen s hown below. Write down the HTML codethat will produce this screen. View the given below Image very carefully and try to fulfillall requirements given in image.
b) Write down a function in JavaScript that compares two inputs taken from HTML Form shown above and as a result display any one of the following message:
"First number is greater than the second " OR " Second number is greater than the first ".
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 42/68
Question No. 12 Marks : 2
Batch programs do not
1 Print or store the results2 Get input data3 Execute programs without the interference of user4 Provide event handling
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 43/68
StudentID/LoginID
Name
PVC Name/Code
Date 16 - 1 - 2006
vu annat.n ng.comhttp://vujannat.ning.com
Largest Online Community of VU Students
MID TERM EXAMINATION
SEMESTER FALL 2005CS101-INTRODCUTION TO COMPUTING [Session-3]
Total Marks:50
Duration: 60 min
Maximum Time Allowed: (1 Hour)
Please read the following instructions carefully before attempting any question:
1. This examination is closed book, closed notes, closed neighbors.
2. Answer all questions.
a. There is no choice.
b. You will have to answer correctly all questions in this examination to get the maximumpossible marks.
3. 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 appropriateassumption and use it to solve the problem.
4. All Web development questions should be answered using the HTML/JavaScript syntax.
**WARNING: Please note that Virtual University takes serious notice of using unfair means.Anyone found involved in cheating will get `F` grade in this course.
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 44/68
Question No: 1 Marks:14
You are required to develop a web page using HTML and JavaScript. The first page contains a button asshown in fig1.1. When the button is clicked an input prompt is opened as shown in fig 1.2. By using javascript show either the input value is a binary number or not as shown in fig 1.3.
Fig 1.1
Fig 1.2
Fig 1.3
Question No: 2 Marks:10
(a). (5 marks) x, y and z are Boolean variables. Determine the truth tables for the following combinations:• ( y + x) . z
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 45/68
(b). (5 marks) Convert the following binary number into decimal number.• 111011 (2)
Question No: 3 Marks:8
(a) What is High Level and Low Level Programming?
(b) Difference between Assembly languages and Machine languages?
Question No: 4 Marks:8
− What is software development life cycle? Write down the names of different phases of systemdevelopment life cycle?
Question No: 5 Marks: 2
A program that translates the source code written in a High Level Language in one go, is called.
1. Compiler2. Interpreter3. Device Driver4. None of above.
Question No: 6 Marks: 2
A special type gateway that can keep external users from accessing resources on the LAN while letting
LAN users access the external info is called
1. Repeater2. Firewall3. Encryption4. Hub
Question No: 7 Marks: 2
What does the following JavaScript code
function changeBgcolor() {oldColor = window.document.bgColor;window.document.bgColor = “pink”;window. alert("The old color was " + oldColor);
}
1. Change the Color of Window document to pink and nothing else2. Change the Color of Window document to pink and display the name of old Color in a dialogue box3. Change the Color of Window document to Blue and displays name of old color in a dialogue box4. Create a form in window document
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 46/68
Question No: 8 Marks: 2
can also be improved through Encryption.
1. Data Integrity2. Data Accessibility3. Data Security4. Data Entry
Question No: 9 Marks: 2
The collection of 4 bits is called .
1. Nibble2. Byte3. Word4. Double-Word
WWW.vujannat.ning.COM
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 47/68
WWW.vujannat.ning.COM
WWW. vujannat.ning.comhttp:// vujannat.ning.com
Largest Online Community of VU Students
MIDTERM EXAMINATION
FALL 2006
CS101 - INTRODUCTION TO COMPUTING
Marks: 40
Time: 60min
StudentID/LoginID:
Student Name:
Center Name/Code:
Exam Date:
Please read the following instructions carefully before attempting any of thequestions:
1. Attempt all questions. Marks are written adjacent to each question.
2. Do not ask any questions about the contents of this examination fromanyone.
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, makean appropriate assumption and use it to solve the problem.
c. Write all steps, missing steps may lead to deduction of marks.
**WARNING: Please note that Virtual University takes serious note of unfairmeans. Anyone found involved in cheating will get an `F` grade in this course.
For Teacher's use onlyQuestion 1 2 3 4 5 6 7 8 9 Total
Marks
Question No: 1 ( Marks: 1 ) - Please choose one
Computeruses the scanner to input
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 48/68
WWW.vujannat.ning.COM
► Voice.
► Images.
► Voice and text.
► None of these
Question No: 2 ( Marks: 1 ) - Please choose one
Software is
► Something that can be touched
► Something that cannot be touched
► Something used only as an output device
► Something used only as an input device
Question No: 3 ( Marks: 1 ) - Please choose one
What is internet?
► A global network of networks
► A Software used to connect to some network
► A group of users
► Any network of more than two computers
Question No: 4 ( Marks: 1 ) - Please choose one
Which of the following is a type of system software?
► Devicedriver
► Word processor
► Write once read -only- memory
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 49/68
WWW.vujannat.ning.COM ► Anti-Virus
Question No: 5 ( Marks: 1 ) - Please choose one
HTTP is the abbreviation for:
► Hyper text transfer protocol
► Hyper text terminal protocol
► Hyper text transmit protocol
► Hyper terminal text protocol
Question No: 6 ( Marks: 1 ) - Please choose one
Which of the following is called the brain of computer?
► Motherboard
► Slots
► Processor
► Power supply
Question No: 7 ( Marks: 12 )
a) Convert the following numbers from decimal numbers into binary numbers:(Marks: 6)
1. 24Answer =
2. 55Answer =
3. 84Answer =
b) X, Y is Boolean variables. Determine the truth tables for the following combinations:
(X . Y)’(Marks: 6)
Question No: 8 ( Marks: 12 )
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 50/68
WWW.vujannat.ning.COM a) What is the difference between Desktop Computer and Super Computer? Give at leastthree differences (Marks: 6 )
b) Write an Algorithm to compute the final price of the item. It will ask two inputs from the
user i.e. Price of item and the sales tax rate. You have to calculate the final price of the item.The formulas for calculating the sales tax and final price are as follows:Sales tax = (price of item) * (sales tax rate)Final price = (price of item) + (sales tax)
(Marks: 6 )
Question No: 9 ( Marks: 10 )
Write the HTML code that will generate the similar page as shown below. You have to putthe form elements with in the table.
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 51/68
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 52/68
WWW.vujannat.ning.COM
► create ordered list
► create unordered list
Question No: 2 ( Marks: 1 ) - Please choose one
Browser is a used for browsing.
► Component
► Tool
► None of these
► Device
Question No: 3 ( Marks: 1 ) - Please choose one
------------ is volatile memory
► RAM
► ROM
► Hard Disk
► CD ROM
Question No: 4 ( Marks: 1 ) - Please choose one
Usingonly Html we can create
► Dynamic web pages
► Static web pages
► Both Static and Dynamic pages
► None of these
Question No: 5 ( Marks: 1 ) - Please choose one
Command that allows you to recover form mistakes is
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 53/68
► Clear
► Edit
► Undo
► Break
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)
Question No: 7 ( Marks: 7 )
Draw the OS components diagram? What are the main responsibilities that Kernel plays inOperating system? Please write down in 6-7 lines max.(3 + 4)
Question No: 8 ( Marks: 6 )
How you can enhance the capability of a micro processor? Write down the answer inmaximum 5-6 lines
Question No: 9 ( Marks: 9 )
Create the following page using html and javascript as shown in the image below. If someonepress “Ok” (submit) button without entering “age”, it should show a message “Please enteryour age”.
Options in drop down menu are1) Chocolate2) Vanilla3) Cherry Garcia4) Pizza Pancake5) None of the above!
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 54/68
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 55/68
vujannat.ning.COMConnecting VU Students
MIDTERM E AMINATION
FALL 2007
CS101 - INTRODUCTION TO COMPUTING (Session - 1 )
Marks: 35
Time: 120min
StudentID/LoginID:
Student Name:
Center Name/Code:
Exam Date: Monday, November 19, 2007
Please read the following instructions carefully before attempting any of the questions:
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.
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 found
involved in cheating will get an `F` grade in this course.
For Teacher's use onlyQuestion 1 2 3 4 5 6 7 8 9 Total
Marks
Question No: 1 ( Marks: 1 ) - Please choose one
<UL> tag is used to
► underline text
► end the line
► create ordered list
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 56/68
WWW.vujannat.ning.COM ► create unordered list
Question No: 2 ( Marks: 1 ) - Please choose one
Browser is a used for browsing.
► Component
► Tool
► None of these
► Device
Question No: 3 ( Marks: 1 ) - Please choose one
------------ is volatile memory
► RAM
► ROM
► Hard Disk
► CD ROM
Question No: 4 ( 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: 5 ( Marks: 1 ) - Please choose one
Command that allows you to recover form mistakes is
► Clear
► Edit
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 57/68
► Break
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)
Question No: 7 ( Marks: 7 )
Draw the OS components diagram? What are the main responsibilities that Kernel plays inOperating system? Please write down in 6-7 lines max.(3 + 4)
Question No: 8 ( Marks: 6 )
How you can enhance the capability of a micro processor? Write down the answer inmaximum 5-6 lines
Question No: 9 ( Marks: 9 )
Create the following page using html and javascript as shown in the image below. If someonepress “Ok” (submit) button without entering “age”, it should show a message “Please enteryour age”.
Options in drop down menu are1) Chocolate
2) Vanilla3) Cherry Garcia4) Pizza Pancake5) None of the above!
► Undo WWW.vujannat.ning.COM
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 58/68
WWW.vujannat.ning.COM CS101 Introduction to Computing Page 1 of 7
vujannat.ning.com
CS101 Introduction to ComputingMid Term Examination - April 2003
Session-1
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 tothe best of your understanding.
b. If you believe that some essential piece of information is missing, make anappropriate assumption and use it to solve the problem.
6. Most, but not all, of the examination consists of multiple-choice questions. Choose onlyone choice as your answer.
a. If you believe that two (or more) of the choices are the correct ones for aparticular question, choose the best one.
b. On the other hand, if you believe that all of the choices provided for a particularquestion are the wrong ones, select the one that appears to you as being the leastwrong.
7. All Web development questions should be answered using the HTML syntax.
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 59/68
WWW.vujannat.ning.COM CS101 Introduction to Computing Page 2 of 7
Q.No1An object can be defined as
o Collection of integers and floatso Collection o of integers and propertieso Collection of While loops and variableso Collection of properties and methods
Total Questions 25
o Combination of sequential and conditional structures
Q.No2During the integration and testing phase of software development life cycle
o User documents the work that he thinks the system doeso Developer analyzes user's requirements, and perform further
investigation to write the specifications for the systemo Bring the subsystem together to form the systems and test themo Detailed plan specifying the required resources and expected
deliverableso Providing the feasibility of the system
Q.No3The advantage of client side scripting is
o All browsers support ito Decreases the complexity of web pageo Reduces network traffico Increases server loado User cannot see your code
Q.No4
Spreadsheet softwareo Is the replacement of ledgerso Is a replacement of encyclopediao Are not used for business calculations and chartso Is a sub category of science, engineering and graphics softwareo Is a sub category of entertainment software.
Q.No5Decision support systems are sometimes called
o ERPo Document-centered computingo E-commerce software
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 60/68
WWW.vujannat.ning.COM CS101 Introduction to Computing Page 3 of 7
o Electronic Encyclopediao Expert Systems
Q.No6ASP script is
o A data base management systemo Not a server side scripto Linux based server scripto Window based server scripto Unix based server script
Q.No7Software that directly interact with the user is called
o System softwareo Application softwareo Low level languageso Machine languageo Compilers
Q.No8In the AND operation output is true if
o All input variables have true stateo Some of the input variables have true stateo None of the input variables have true stateo All the input variables have false stateo Only one of the input has false state
Q.No9
Semantic web pageso Are also called static web pageso Are not understood by computerso Are understood by computerso Are not the extension of today's web pageso Correct the semantics of the web page
Q.No10Two major types of software are
o Application Software, System Softwareo Application Software , Database Softwareo System Software , Database Software
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 61/68
WWW.vujannat.ning.COM CS101 Introduction to Computing Page 4 of 7
o Database Software , Embedded Softwareo Database Software , Embedded Software
Q.No11Language that is understood by computer hardware is called
o High level languageo Firmwareo Machine languageo Assembly languageo System software
Q.No12Microprocessor are made up of semiconductor material called
o Aluminumo Coppero Ferrous oxideo Silicono Silicon dioxide
Q.No13The following code will
<Html><HEAD><TITLE>
My new Web Page</TITLE>
</HEAD></Html>
o Display "My new Web Page " As a heading on my Web pageo Display "My new Web Page " On the title bar of the browsero Display "My new Web Page " as a hyper linko Make "My new Web Page " appear in bold letterso Not display "My new Web Page
Q.No14In an HTML file, it is essential to have
o <Head> tago </Body> tago <Body> tago <B> tag
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 62/68
WWW.vujannat.ning.COM CS101 Introduction to Computing Page 5 of 7
o None of above
Q.No15A unique identifier for the location of a specific Web page is called a
o FTPo FAQ o URLo http://o IRC
Q.No16Search engines
o Cannot search the entire webo Are built to facilitate the scientistso Make the list of images that are available on the neto Search the news groups for the required informationo Scan the entire web for the desired information
Q.No17A web site
o Does not have a unique identifiero Is accessible to limited usero Is a collection of related documents on the interneto Is a place where we can only read information on the interneto Is a place on the net where we can only write information
Q.No18Vacuum Tubes are
o
Smaller then transistorso Developed for military applicationso Made up of two or more electrodes in a glass metal tubeo Used in IBM PCo Invented by Tim Burners lee
Q.No19BASIC stands for
o Basic American Standard Information Codeo Beginners All purpose Symbolic Instruction Codeo Brother and Sisters In Christo British American Scientific International Commercial
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 63/68
WWW.vujannat.ning.COM CS101 Introduction to Computing Page 6 of 7
o Badminton And Swimming Including Cycling
Q.No20JavaScript
o is an Object based Languageo is an interpreted languageo Both first and secondo is an Object-Oriented Languageo Both second and fourth
Q.No21World's first program was written by
o Charles Babbageo Alfred Tennysono Ada Lovelaceo Bernoulio Newton
Q.No22Whatwould be the output of the following Pseudo Code? (3 Marks)
StartInitialize x to 4Initialize y to 1Initialize Result to 0While (y<=x)
Loop
Result=x+yY=y+1
Print ResultEnd
o 4o 8o 10o 1o None of the above
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 64/68
WWW.vujannat.ning.COM CS101 Introduction to Computing Page 7 of 7
Q.No23Convert binary number 100100 into equivalent Decimal number. (5 Marks)
Q.No24Write the truth table for Boolean Expression. ( 5 Marks)
Z=x + (x. y)'
Q.No25Take a look at the image of the browser screen shown below. Write down theHTML code that will produce this screen. (15 Marks)
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 65/68
WWW.vujannat.ning.COM Connecting VU
Students
FINALTERM EXAMINATION
SPRING 2006
CS101 - INTRODUCTION TO COMPUTING (Session - 1)
Marks: 50
Time: 120min
StudentID/LoginID:
Student Name:
Center Name/Code:
Exam Date: Saturday, August 19, 2006
Please read the following instructions carefully before attempting anyof the questions:
1. Attempt all questions. Marks are written adjacent to each question.
2. Do not ask any questions about the contents of this examinationfrom anyone.
a . If you think that there is something wrong with any of thequestions, attempt it to the best of your understanding.
b . If you believe that some essential piece of information ismissing, make an appropriate assumption and use it to solve theproblem.
c . Write all steps, missing steps may lead to deduction of marks.3. The paper is tool independent.
**WARNING: Please note that Virtual University takes serious note ofunfair means. Anyone found involved in cheating will get an `F` gradein this course.
For Teacher's use onlyQuestion 1 2 3 4 5 6 7 8 9 Total
Marks
Question No: 1 ( Marks: 2 ) - Please choose one
Which of the following file operations JavaScript can perform on a client computer?
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 66/68
WWW.vujannat.ning.COM Connecting VU
Students
► Read
► Modify
► Arithmetic
► Delete
► Create
Question No: 2 ( Marks: 2 ) - Please choose one
A cell in a spreadsheet can not contain one of the followings:
► Numbers
► Text
► Formulas
► Images
Question No: 3 ( Marks: 2 ) - Please choose one
Suppose that we have two Local Area Networks working on differe nt communication protocols. Whatis the right choice to connect them?
► Router
► Bridge
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 67/68
WWW.vujannat.ning.COM Connecting VU
Students
► Gateway
► Modem
Question No: 4 ( Marks: 2 ) - Please choose one
Which of the following words can’t be used for naming an identifier in JavaScript?
► struct
► plugin
► parent
► package
Question No: 5 ( Marks: 10 )
a) Classify computer networks according to the network access policy. Write in brief. (5 marks)
b) How DBMS ensures the Security and Integrity of data contained in database? (5 marks)
Question No: 6 ( Marks: 8 )
Explain scope of local and global variables in relation to functions in JavaScript? Give an exampleof each.
Question No: 7 ( Marks: 8 )
a) Differentiate between SMTP and POP3 server. (3 marks)
8/8/2019 Collection of Cs101 Old Papers
http://slidepdf.com/reader/full/collection-of-cs101-old-papers 68/68
WWW.vujannat.ning.COM Connecting VU
Students
b) How you can justify that a DBMS is better to use than Flat-file database? (5 marks)
Question No: 8 ( Marks: 8 )
What will be the output of this programme? Also write comments where you find “//” symbol inthe following code.
<html><head>
<script language="JavaScript">function doSomething() { // 1
setTimeout('doSomething()',10000); // 2}
</script>
</head>
<body onLoad="doSomething()"> // 3document.write(“Virtual University of Pakistan”);
</body></html>
Question No: 9 ( Marks: 8 )
How “Object-Oriented Graphics” and “Raster Scan Graphics” differ from each other? Which typeof graphic files are easy to transfer over web?