Thursday, January 26, 2012

CS101 Final Term Past Solved Paper (1)



FINAL TERM  EXAMINATION
Fall 2009
CS101- Introduction to Computing

Time: 120 min
Marks: 75
 Question No: 1      ( Marks: 1 ) - Please choose one
 What is NOT a key factor while designing a website?
      ► Usability
       ► User-friendly
       ► Consistency
       ► Complexity

 Question No: 2      ( Marks: 1 ) - Please choose one
To improve the time for scannig a web page, text should be ___________.
            ► Centered
       ► Left Aligned
 ► Right Aligned
       ► Staggered
Question No: 3      ( Marks: 1 ) - Please choose one
Which of the following number system is used by microprocessor?
      ► Binary
        ► Decimal
      ► Octal
       ► Hexadecimal
Question No: 4      ( Marks: 1 ) - Please choose one
 Which one is NOT a presentation software?
       ► MS Access  page 11
       ► CA Harvard Graphics
       ► Corel Presentation
       ► Lotus Freelance
Question No: 5      ( Marks: 1 ) - Please choose one
 A function is also called __________.
       ► Sub-program
      ► Procedure
       ► Sub-routine
       ► All of the given option  confirm
Question No: 6      ( Marks: 1 ) - Please choose one
 Which of the following data types are recognized by JavaScript?
       ► Strings
       ► Numbers
      ► Undefined
       ► All of the given options    page 143
Question No: 7      ( Marks: 1 ) - Please choose one
 The __________ reserved word allows a determined action to be taken if the first condition is false.
       ► For
      ► While
       ► Else
       ► Switch
Question No: 8      ( Marks: 1 ) - Please choose one
 Security can also be improved through _____________.
       ► Encryption   page 253
       ► Typing errors
       ► Transmission errors
       ► Hardware malfunctions
Question No: 9      ( Marks: 1 ) - Please choose one
 The organizations are learning that business can be done in a more effective manner if emphasis is placed upon ___________.
       ► Cooperation
       ► Shared responsibility
      ► Networking
       ► All of the given options  page 281
Question No: 10      ( Marks: 1 ) - Please choose one
 After the DoS attack in year 2000, Yahoo servers were recovered in __________.
       ► 1 hour
       ► 2 hours
       ► 3 hours
       ► 4 hours
Question No: 11      ( Marks: 1 ) - Please choose one
 When web server is busy it gives the following message to the user :
       ► Time out
       ► Waiting
       ► Server busy   (by net serch)
       ► None of the given options
Question No: 12      ( Marks: 1 ) - Please choose one
 Tribal flood network is a ___________ software.
    ► DoS  page 275
       ► Scanning
       ► Utility
       ► None of the given options
Question No: 13      ( Marks: 1 ) - Please choose one
 Spies of one business monitoring the network traffic of their competitors’ ___________.
       ► Industrial Intelligence
        ► Industrial Espionage   page 277
       ► Industrial Spying
       ► Industrial Surveillance
Question No: 14      ( Marks: 1 ) - Please choose one
 Planning and tracking of the project is the responsibility of the___________.
      ► Architect
       ► Team Lead   page 302
       ► Developer
       ► Chief Executive Officer
Question No: 15      ( Marks: 1 ) - Please choose one
 The effective way not to only write programs but also it works properly and further more to minimize the time and the development cost of the program is called___________________
       ► Programming Mechanism
       ► Programming Methodology   (by net serch)
       ► Programming Synchronization
       ► None of the given options
Question No: 16      ( Marks: 1 ) - Please choose one
Sequence of steps that is taken to solve a problem is called _______.
        ► Algorithm   page 320
       ► Operating System
       ► Application software
       ► None of the given options
Question No: 17      ( Marks: 1 ) - Please choose one
 Which one is correct?
       ► <BODY></BODY> 
       ► <body></body>
       ► Both <BODY></BODY> and <body></body>  becaue html is not case sensitive and here not mention
       ► <BODY/>
Question No: 18      ( Marks: 1 ) - Please choose one
 In which case Cache Memory is used
      ► To increase RAM speed
       ► To overcome BUS speed
       ► To overcome Speed rate between RAM and CPU 
       ► To overcome CPU speed
Question No: 19      ( Marks: 1 ) - Please choose one
In Heuristics “Common Sense Lessons” are drawn from
        ► History
       ► Experience  page 166
       ► Biography of Scientists
      ► General knowledge
Question No: 20      ( Marks: 1 ) - Please choose one
In a System having many parts to be designed, one should always do the _____ first 
      ► Hard part   page 166
   ► Simple part
       ► Development part
       ► Quality part
Question No: 21      ( Marks: 1 ) - Please choose one
 The key property of the ‘Array’ object in JavaScript is
      ► Value
      ► Length   page 178
       ► Name
       ► All of the given choices
Question No: 22      ( Marks: 1 ) - Please choose one
 One can send an email message to a remote computer using _______ protocol
       ► HTTP
       ► SMTP  page 213
       ► FTP
       ► TELNET
Question No: 23      ( Marks: 1 ) - Please choose one
 ______ occurs when a function calls itself.
       ► Recursion   ( by net 100 % confirm)
       ► Call by value
       ► Call by reference
       ► Parsing
Question No: 24      ( Marks: 1 ) - Please choose one
 Hardware malfunctions is related to
       ► Data updates
       ► Data integrity    page 253
       ► Data security
       ► Data accessibility
Question No: 25      ( Marks: 1 ) - Please choose one
 With the passage of time the field of Computing and Telecommunication is _____________.
       ► Diverging
       ► Converging   page 303
      ► Becoming different
       ► Becoming unique
Question No: 26      ( Marks: 1 ) - Please choose one
 ______________ software directly interacts with the hardware.
       ► Application software
       ► System software   page 60
       ► Dynamic software
       ► Distributed software
 Question No: 27      ( Marks: 1 ) - Please choose one
 When the microprocessor desires to look at a piece of data, it checks in the __________ first.
       ► RAM
       ► ROM
      ► hard disk 
     ► cache    page 318
Question No: 28      ( Marks: 1 ) - Please choose one
 By today's standards, the Mark-I was slow and requiring 3 to 5 seconds for a multiplication operation.
       ► True    page 14
       ► False
Question No: 29      ( Marks: 1 ) - Please choose one
 In partitioning of program/module, it should be assured that partitioned chunks should be as _________ as possible.
       ► Dependent
      ► Independent   page 166
       ► Complex
       ► All of the above
Question No: 30      ( Marks: 1 ) - Please choose one
Ada is a programming language specifically designed for
        ► Analytical Engine   page 9
      ► Difference Engine
        ► Harvard Mark 1
  ► Mechanical engine
Question No: 31      ( Marks: 1 )
 What is an Array?
 Question No: 32      ( Marks: 1 )
 What are the other names of function? Any one.
 Question No: 33      ( Marks: 2 )
 What is meant by semantic error ?
 Question No: 34      ( Marks: 2 )
Which benefits a developer can achieve by following the heuristics for system architecting?
Question No: 35      ( Marks: 3 )
How can you define a consistent web design? Why is it needed?
 Question No: 36      ( Marks: 3 )
 Define Primary key and Queries
 Question No: 37      ( Marks: 3 )
 Briefly describe Holographic Storage.
Question No: 38      ( Marks: 5 )
Write HTML and JavaScript code that displays a textbox and button on a web page. When user enters text in the text box and click the button it displays that text in the message box.
Question No: 39      ( Marks: 5 )
 What is Robotics? How Robots making our daily and industrial life easy?
 Question No: 40      ( Marks: 10 )
 Write down the output of the following lines of JavaScript code?
a) <script type="text/javascript">
document.write(Math.round(5.92))   
  </script>
b) <script type="text/javascript">
 var name="Muhammad Abdul Bashir"
document.write(name.length)
    </script>
c) <script type="text/javascript">
var str="This is my test string"
document.write(str.charAt(9))
 </script>
                                                                                           d) <script type="text/javascript">
 var str="VU Learning Management System "
 document.write(str.indexOf("system")+"<br />")
 </script>
                                                e) <script type="text/javascript">
 var str="Virtual University of Pakistan"
 document.write(str.substr(23))
 </script>
Question No: 41      ( Marks: 10 )
 Write down HTML and JavaScript code for the following requirements:
Declare an Array with the identifier SUBJECT having length 5. Assign following values to the array elements:
MIS, Java, Algorithms, Databases, C++
Show all values in reverse order.

No comments:

Post a Comment