VU CS101 Introduction to Computing Final Term Examination – Spring 2005


.
CS101 Introduction to Computing
Final Term Examination – Spring 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 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 appropriate assumption and use it to solve
the problem.
4. Examination also consists of multiple-choice questions. Choose
only one choice as your answer.
a. If you believe that two (or more) of the choices are the correct
ones for a particular question, choose the best one.
b. On the other hand, if you believe that all of the choices
provided for a particular question are the wrong ones, select
the one that appears to you as being the least wrong.
5. 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.
Total Marks: 50
Total Questions: 11
.
Question No. 1
________________ is the protocol used for file transfer.
Marks : 02
o
o
o
o
Question No. 2
www
smtp
ftp
http
Marks : 06
What is difference between SMTP and POP?
Question No. 3
_____________________ is the correct JavaScript syntax.
Marks : 02
o
o
o
o
while{a<=b}
while{a<=b};
while(a<=b);
while(a<=b)
Question No. 4
Marks : 02
You are required to develop a web page using HTML and JavaScript. Page
should have 4 buttons. Three buttons have different color(Red,Green,Blue).
Fourth button is used as "Refresh" button. Finally the page should be
represented as given in Fig.
Develop a function in JavaScript that changes the color of the back ground
according to the button clicked. "Refresh" buttons is use to reset the color
of page.Hint: Refresh button is used to set the background color of the page
to white.
[Example: When Green button is clicked the back ground color will be set to
"Green" and so on.]
.
Question No. 5
Examine and write down the value printed after execution of following
statements.
Marks : 02
1. document.write( 2 + Math.PI ) ;
2. document.write( "2" + "3" ) ;
3. document.write( "2" + Math.PI ) ;
4. document.write( "Yes" + false ) ;
5. document.write( 2 + 3 ) ;
Question No. 6
(Math.PI=3.141)
Marks : 02
Applications talk to devices through the OS and OS talks to and manages
devices through_________________________ .
o
o
o
o
Application Interface
File System
Device Driver
Kernel
.
Question No. 7
How Data Security can be improved in Database Management System?
Question No. 8
________________ is readily understood by microprocessors and this
language is very difficult to write in for human programmers.
o Low Level Language
o Machine Language
o High Level Language
o Assembly Language
Question No. 9
Marks : 02
Marks : 02
Marks : 08
a) Write an Inline JavaScript code that prompts the message "Welcome
to VU" when button is clicked.
b) Convert the binary number 1110011 into decimal number System.
Mention each step.
Question No. 10
Examine the syntax carefully and determine the output:
name = "virtual university" ;
document.write( name.toUpperCase( ) ) ;
Marks : 02
o
o
o
o
virtual university
Virtual University
Virtual university
VIRTUAL UNIVERSITY]
Question No. 11
Marks : 08
Define AI (Artificial Intelligence) in one line. Name sub categories of AI.

No comments: