Академический Документы
Профессиональный Документы
Культура Документы
FINAL TERM EXAMINATION SEMESTER FALL 2005 CS101-INTRODCUTION TO COMPUTING [Session-4] Total Marks:60 Duration: 120 min
WWW.VIRTUALIANS.COM WWW.VUPages.com
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 appropriate 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 using unfair means. Anyone found involved in cheating will get `F` grade in this course.
Questions Marks
Q1
Q2
Q3
Q8
Q9
Q9
Total
WWW.VIRTUALIANS.COM
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 them and show results, whether they are same or not (As shown in fig 5.3). View the given below Image very carefully and try to fulfill all requirements given in image. (Hint: Make web page using Use JavaScript to Compare two numbers)
Fig 5.1
Fig 5.2
WWW.VIRTUALIANS.COM
Fig 5.3 Question No: 2 Describe the following terms? FTP. Telnet Protocol. IP Address. Question No: 3 What are local variables? Compare them with global variables? Question No: 4 Examine the logic of following pseudo code: initialize x to 10 initialize y to 0 initialize sum to 0 Repeat while (y <= 6) { Add x and y and put results into sum decrement x by 2 increment y by 3 } print sum Stop What will be the value of the variables sum, x and y, each time after the loop is executed? Question No: 5 Marks: 10 Marks:10 Marks:6 Marks:9
Write down a JavaScript function with the name BinConvert( ) that takes a decimal number and converts it into its equivalent binary number and displays the result in browser. Call that function in the body of the web page.
WWW.VIRTUALIANS.COM
Question No: 6 What is database? Describe Data Integrity? Question No: 7 Web server: A. B. C. D. Is a software to deliver e-mail Is a computer that store and deliver web pages Does not allow electronic chatting Does not have a Domain name Marks: 2 Marks: 2 Marks: 5
Question No: 8 Ports are: A. B. C. D. Input devices Output devices Used to allow I/O devices to communicate with the CPU Able to process incoming data
Question No: 9 A Hyperlink is a: A. B. C. D. Connection between two computers Connection between two countries on the net Gateway to the next web page Gateway between five continents
Marks: 2
Question No: 10 Vacuum Tubes are: A. B. C. D. Smaller then transistors Made up of two or more electrodes in a glass metal tube Used in IBM PC Invented by Tim Berners lee
Marks: 2
Question No: 11 Memory inside a microprocessor is called A. B. C. D. RAM ROM Cache Pre-fetch buffer
Marks: 2