CS101 Final Term paper Solved 2010 - 1

CS101 - Introduction to Computing - Spring 2010
FINALTERM  EXAMINATION
 
 
Time: 90 min
 Question No: 1    ( M a r k s: 1 )    http://vuzs.net
 What is NOT a key factor while designing a website?
       ► Usability
       ► User-friendly
       ► Consistency
       Complexity
   
Question No: 2    ( M a r k s: 1 )    http://vuzs.net
 Communications on the internet is controlled by a set of two protocols which are ____________.
       ► IMAP and SMTP
        ► FTP and HTTP
        TCP and IP
        ► TCP and HTTP

Question No: 3    ( M a r k s: 1 )    http://vuzs.net
 A variable can be _________ in scope.
       
         Local
       ► Global
       Either local or global
       ► None of the given options
   
Question No: 4    ( M a r k s: 1 )    http://vuzs.net
 A protocol used for receiving email messages is called ____________.
       ► URL
       ► Telnet
       ► POP3
       ► SMTP
   
Question No: 5    ( M a r k s: 1 )    http://vuzs.net
 Aliasing problem can be managed by ____________the size of pixels.
       ► Reducing
       ► Increasing
       ► Gaining
       ► Modifying
   
Question No: 6    ( M a r k s: 1 )    http://vuzs.net
 Serial arrangement in which things follow logical order or a recurrent pattern, such as statements executing one by one, is called __________.
       ► Loop
       ► Sequence
       ► Condition
       ► Array

Question No: 7    ( M a r k s: 1 )    http://vuzs.net
 Which of the following data types are recognized by JavaScript?
       ► Strings
       ► Numbers
       ► Undefined
       All of the given options
   
Question No: 8    ( M a r k s: 1 )    http://vuzs.net
 a = Math.ceil(12.01)  
What will be the value of a ?
 
       12
       ► 13
       ► 12.0
       ► 13.01

Question No: 9    ( M a r k s: 1 )    http://vuzs.net
 In the old days, databases did NOT support ____________.
 
       ► Number
       ► Boolean
       Video
       ► Text
   
Question No: 10    ( M a r k s: 1 )    http://vuzs.net
 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
   
Question No: 11    ( M a r k s: 1 )    http://vuzs.net
 Module level design is the responsibility of the ___________.
 
       ► Architect
       ► Team Lead
       Developer
       ► CEO
   
Question No: 12    ( M a r k s: 1 )    http://vuzs.net
 _____________ errors are caused by the code that somehow violates the rule of the language.
 
       Syntax
       ► Semantic
       ► Run time
       ► Load time
   
Question No: 13    ( M a r k s: 1 )    http://vuzs.net
 The world first computer program was written to compute:
 
       ► Simple sequence
       ► Multiple sequence
       ► Bernoulli’s sequence
       ► Increasing sequence
   
Question No: 14    ( M a r k s: 1 )    http://vuzs.net
 Microsoft Word is a type of:
 
       ► System Software
       ► Freeware Software
       Shrink-Wrapped Software
       ► Custom-built Software

Question No: 15    ( M a r k s: 1 )    http://vuzs.net
 We need _____________ for memory management in computer
 
       ► Software
       ► Hardware
       Operating System
       ► Application Software
   
Question No: 16    ( M a r k s: 1 )    http://vuzs.net
 _____________ is  generally measured in terms of the number of steps required to execute an algorithm.
 
       ► Space
       ► Time
       ► Memory and time
       Bandwidth
   
Question No: 17    ( M a r k s: 1 )    http://vuzs.net
 PowerBuilder falls in the category of ______________.
         
       Assembly Languages
       4-th Generation Languages
       Machine Languages
       High-Level Languages

Question No: 18    ( M a r k s: 1 )    http://vuzs.net
 ___________ means to break down into simpler components and analyze.
       Recursion
       Parsing
       Scope
       Navigation
   
Question No: 19    ( M a r k s: 1 )    http://vuzs.net
 for(var i=1; i<=2;i=i+1)                                           
{
document.write( "Sorted Words:" + "
" )
}
 
Which of the following shall be the output of above code:
 
       ► Sorted Words: Sorted Words:
       Sorted Words:
Sorted Words:
              Sorted Words: “
       Sorted Words: “
        ► Sorted Words:
Sorted Words:
 
 Question No: 20    ( M a r k s: 1 )    http://vuzs.net
 Assembly languages allow a programmer to use _________ for numbers.
       ► Object
        ► Entity
        ► Name
        Interpreter

Question No: 21    ( M a r k s: 1 )    http://vuzs.net
 __________ means you have only one container to store more than one value in JavaScript.
       Variable
       ► Matrix
       ► Array
       ► String
   
Question No: 22    ( M a r k s: 1 )    http://vuzs.net
 Coding is the responsibility of ________________
       ► Software designer
       ► Software developer
       ► Project manager
       ► None of given
   
Question No: 23    ( M a r k s: 1 )    http://vuzs.net
 CEO stands for____________________
       ► Central Executive officer
       ► Chief External officer
       Chief executive officer
       ► None of given

Question No: 24    ( M a r k s: 1 )    http://vuzs.net
 Decision Support Systems will become a bigger part of the professional life of the________ .
       ► Doctors
       ► Mangers
       ► Marketers
       All of above
   
Question No: 25    ( M a r k s: 1 )    http://vuzs.net
 The output of fuzzy Logic System is computed by using ______Technique.
       ► MAX-MAX
       ► MAX-MIN
       ► MIN-MAX            
       ► None of the given

 
Question No: 26    ( M a r k s: 1 )    http://vuzs.net
 In the statement Math.PI, Math is _________ and PI is ___________.
       ► Variable, Constant
       ► Object  , Method
       Object  , Function
       Object  , Property
   
Question No: 27    ( M a r k s: 2 )
 For what purposes FTP is used in networks ?
It is used to transfer files between computers on a TCP/IP network (e.g internet) .
Its typical use is to transferring web content from developer’s PC to the web Server.

Question No: 28    ( M a r k s: 2 )
 In JavaScript, what is event handling? What are the two types of events?
Event handling :It captures the events of java script and respond to them. The examples are onLoad,onClick
Types of events are:
1.Interactive event handlers
2. Non-interactive event handlers
 
Question No: 29    ( M a r k s: 2 )
 Define the key weakness of the web?
One of the key weakness of the web is that A user may access any item on the web through URL,e.g http://www.vu.edu.pk/cs/index.html incomplets

Question No: 30    ( M a r k s: 2 )
 What was the obstacle to the construction of analytical engine?
Charles Babbage , the father of computing invented Analytical engine but he had a grest difficulty in raising money to implement his search.After the collaboration with Ada ,a mathematical scheme was formed.It  was designed to increase their odds while gambling.They bet money on horse races to raise money an at the end they lost every penny
 
Question No: 31    ( M a r k s: 3 )
 The event handler attribute consists of three parts. Write about each of them.
The three parts of event handler attributes are:
1.    The identifier of the event handler
2.    The equal sign (=)
3.    A string consisting of Java script statements enclosed in double or single quotes

Question No: 32    ( M a r k s: 3 )
 Who is a Computing Professional?
·         Professionals involved in the development/maintenance of SW or computer HW.
·         Computer scientists ,software ,computer engineers and Telecom engineers .
.
   
Question No: 33    ( M a r k s: 3 )
 Give any three applications of computer graphics?
Applications of computer graphics
 
Question No: 34    ( M a r k s: 5 )
 Mention any five applications of Artificial Intelligent System.
1.    Games like chess
2.    Image recognition
3.    Medical diagnosis
4.    Robots
5.    Business Intelligence
   
 What are the important properties, methods and event handlers of image object?
Images in Java script can be manipulated in many ways using the built-in object image
Properties : name , border , complete , height , width , hspace , vspace , lowsrc , src
Methods : none
Event Handlers :onAbort , onError , onLoad , Etc.,
 
Question No: 36    ( M a r k s: 5 )
 Explain function arguments with the help of an example?
Function arguments define the interface between the function and the rest of the web page
Arguments values are passed to the function by value (some popular languages pass arguments ‘ by reference ‘ as well )
To ensure that a function is defined before it is called up define all functions in the HEAD portion of web pages
Example of function arguments
·         Function factorial (n) {
·         Product = 1
·         For (k=1) : k<=n :k=k+1){
·         Product = product * k
·         }
·         Return product ;
·         }
·         N= window. Prompt (“enter a number” , “”);
·         Document. Write (n, “!=”’ factorial(n)) ;
 

Leave a Reply

Related Posts Plugin for WordPress, Blogger...