We are Permanently Move to www.VUpk.net Please Join us there.

CS101 Final term 2008 Paper Solved

Thursday 2 August 2012

CS101- Introduction to Computing - Final term 2008 Paper 

(Session - 2)  - fall 2008
 
Note:- Yellow highlighted is Quarantine option and Blue is Clear 


CS101- Introduction to Computing - Q.No. 1    ( M - 1 )    
 Which function returns a randomly selected floating point number between 0 and 1 ?
       ► floor(x)
       ► ceil(x)
       ► random()(Correct)
       ► round(x)
   
CS101- Introduction to Computing - Q.No. 2    ( M - 1 )    
 Functions are also called:
       ► Heuristics
       ► Variables
       ► Arrays
       ► Subprograms (Correct)
   
CS101- Introduction to Computing - Q.No. 3    ( M - 1 )    
 In JavaScript, each element of array can store data of type
       ► A Number
       ► An Array
       ► A String variable
       ► All of the given choices (Correct)
   
CS101- Introduction to Computing - Q.No. 4    ( M - 1 )    
 The weaknesses of the computer are:
       ► Pattern recognition & Storage
       ► Speed & Innovative ideas
       ► Pattern recognition & Innovative ideas (Correct)
       ► Speed & Storage
   
CS101- Introduction to Computing - Q.No. 5    ( M - 1 )    
 Processed data is called ________.
 
       ► Information (Correct)
       ► Data
       ► Entity
       ► Attribute
   
CS101- Introduction to Computing - Q.No. 6    ( M - 1 )    
 Many developers write the _________ first and then incrementally convert each line into _________.
       ► Real code & Pseudo code
       ► Pseudo code & Real code (Correct)
       ► Real code & Artificial code
       ► None of the given options
   
CS101- Introduction to Computing - Q.No. 7    ( M - 1 )    
 When we buy a software package, we do not really buy it, we just by a license that allows us to use it, the ___________stays with the maker.
 
       ► Agreement
       ► Ownership (Correct)
       ► Membership
       ► Software
   
CS101- Introduction to Computing - Q.No. 8    ( M - 1 )    
 Name, Border, Source are the ____________ of the image object.
       ► Event Handler
       ► Properties
       ► Methods
       ► None of the given options
   
CS101- Introduction to Computing - Q.No. 9    ( M - 1 )    
  Using smart editors they can automatically color different parts of statements in different colors e.g. HTML tags in ____________ color.
 
       ► Green
       ► Grey
       ► Blue (Correct)
       ► None of the given options
   
CS101- Introduction to Computing - Q.No. 10    ( M - 1 )    
 ____________ is in Executive team.
       ► Project Manager 
       ► CEO (Correct) Page no. 296
       ► Team Lead
       ► Developer
   
CS101- Introduction to Computing - Q.No. 11    ( M - 1 )    
 Module level design and unit testing the responsibility of _____________.
       ► Team Lead
       ► Developer (Correct)
       ► Project Manager
       ► Quality Assurance Expert
   
CS101- Introduction to Computing - Q.No. 12    ( M - 1 )    
 _____________ team is responsible for a project after the specification’s stage till the very end.
       ► Executive
       ► Architect
       ► Development (Correct)
       ► HR
   
CS101- Introduction to Computing - Q.No. 13    ( M - 1 )    
 _____________ waits for some time and then launch a function.
       ► Timeout( )
       ► setTimeout( ) (Correct)
       ► setTime( )
       ► setTimeIn( )
   
CS101- Introduction to Computing - Q.No. 14    ( M - 1 )    
 Which of the following is NOT an event handler for image object?
       ► onAbort
       ► onError
       ► onLoad
       ► onUser (Correct)
   
CS101- Introduction to Computing - Q.No. 15    ( M - 1 )    
 ______________ is a field that uniquely identifies each record stored in a table.
       ► Composite Key
       ► Primary key (Correct)
       ► Foreign key
       ► None of the given options
   
CS101- Introduction to Computing - Q.No. 16    ( M - 1 )    
 Distance learning has got a boost due to the ___________.
       ► Easy communication
       ► Online interactive contents
       ► Flexibility
       ► All of the given options (Correct)
   
CS101- Introduction to Computing - Q.No. 17    ( M - 1 )    
 By default in a web page Hyper Link for another web page is represented as ________________
 
       ► Blue only
       ► Black and Underlined
       ► Blue and Bold
       ► Blue and Underlined (Correct)
   
CS101- Introduction to Computing - Q.No. 18    ( M - 1 )    
 To store rounded number of 8.6 in a variable called "r_number", we write _____________.
       ► r_number=Maths.round(8.6)
       ► r_numbers=Maths.rounds(8.6) www.vuzs.net
       ► r_number=Math.rounds(8.6)
       ► r_number=Math.round(8.6) (Correct)
   
CS101- Introduction to Computing - Q.No. 19    ( M - 1 )    
 Which one is the best option for designing a Medical Expert System?
       ► Rule Based System
       ► Genetic Algorithm
       ► Fuzzy Logic
       ► Neural Network
   
CS101- Introduction to Computing - Q.No. 20    ( M - 1 )    
 Variables allow us to manipulate data through the ___________.
       ► Actual Value
       ► Reference (Correct)
       ► Length
       ► Name
   
CS101- Introduction to Computing - Q.No. 21    ( M - 1 )    
 Which is correct? 
       ► onUnload (Correct) (P.no.245)
        ► onUnLoad       
        ► onUNLOAD
        ► All of the above


  CS101- Introduction to Computing - Q.No. 22    ( M - 1 )

 Capturing events and responding to them is called __________.
       ► Function Handling       ► Event Handling (Correct)       ► Event Procedure
       ► All of the given option
   
CS101- Introduction to Computing - Q.No. 23    ( M - 1 )    
 ___________ color should be used in background for a good presentation.
       ► Light       ► Dark (Correct)     
       ► Red

       ► None of the given options
   
CS101- Introduction to Computing - Q.No. 24    ( M - 1 )    
 Which of the following symbol is used for multiple line comments in JavaScript?
 
       ► /
       ► //
       ► /* (Correct)
       ► //*
   
CS101- Introduction to Computing - Q.No. 25    ( M - 1 )    
 In JavaScript, what will be the result of the follwoing operation
79%3
       ► 0
       ► 1 (Correct)
       ► 2
       ► 3
Explanation:- 79 divided by 3 and remainder is 1
   
CS101- Introduction to Computing - Q.No. 26    ( M - 1 )    
 A new cell using HTML is added in table row by
       ► …
       ► 
 
       ► … (Correct) (P.No.54)
       ► …
   
CS101- Introduction to Computing - Q.No. 27    ( M - 1 )  www.vuzs.net  
 TCP stands for ___________.
       ► Total communication protocol
       ► Transmission control protocol (Correct)
       ► Transfer control protocol
       ► Transfer collection protocol
   
CS101- Introduction to Computing - Q.No. 28    ( M - 1 )    
 What is NOT a key factor while designing a website?
       ► Usability
       ► User-friendly
       ► Consistency
       ► Complexity (Correct)
   
CS101- Introduction to Computing - Q.No. 29    ( M - 1 )    
 
It represents the ________________ flow chart element.
        Process
        Input or Output (correct) P.no.105
        Decision
        Connector
   
CS101- Introduction to Computing - Q.No. 30    ( M - 1 )    
 Vacuum tubes were replaced by ___
       ► Punch cards
       ► Transistors (Correct) P.no.14
       ► Micro Processors
       ► Resistors
   
CS101- Introduction to Computing - Q.No. 31    ( M - 1 )
 When does recursion occur?

Possible Answer:- 

The power of recursion evidently lies in the possibility of defining an infinite set of objects by a finite statement.


CS101- Introduction to Computing - Q.No. 32    ( M - 1 )
 What are the types of computer network according to the distance between nodes ?vuzs.net
   
Answer:
There are two types of networks.
1.                  LAN (Local Area Network)
2.                  WAN (Wide Area Network)
 
CS101- Introduction to Computing - Q.No. 33    ( M - 2 )
 What is meant by semantic error ?
    

Answer:
Occur when a statement executes and has an effect not intended by the programmer and Often times occur only in unusual & infrequent circumstances
 
CS101- Introduction to Computing - Q.No. 34    ( M - 2 )
 List down the names of two array methods available in JavaScript.
   
Answer:
1.                  sort( ) [sorts elements in alphabetical order]
2.                  reverse( ) [Reverses the order of elements]
 
CS101- Introduction to Computing - Q.No. 35    ( M - 3 )
 How can you define a consistent web design? Why is it needed?
   
Answer:
A consistent good designed website is generated for general public that allows users to attain what they want as quickly as possible without spending much effort.
 
A consistent good design assists the user in recovering from errors.
 
CS101- Introduction to Computing - Q.No. 36    ( M - 3 )
 How can we include images in a web page using HTML and Java script?
   
Answer:
Image in HTML
URL, alt=text height=pixels width=pixels align="bottom|middle|top">
 
Image in Javascript
Images in JavaScript can be manipulated in many ways using the built-in object Image.
Additional properties to HTML are hspace, vspace & lowsrc.
Example: It can be used by many handlers like, onAbort, onLoad & onError
 
CS101- Introduction to Computing - Q.No. 37    ( M - 3 )
 The event handler attribute consists of three parts. Write about each of them.
 
Answer :
The identifier of the event handler
The equal sign
A string statement enclosed in double or single quotes.
 
   
CS101- Introduction to Computing - Q.No. 38    ( M - 5 )
 What is a packet in the network environment? What kind of information does it contain?
 
Answer:

  • Packet is data chopped up into pieces in a network environment.
  • These packets contain information about which computer sent the data and where the data is going.
  • If a packet runs into a problem during its trip, it can attempt to find another route. When all the packets get where they are going, the recipient computer puts them together again.
 
 
   
CS101- Introduction to Computing - Q.No. 39    ( M - 5 )
 Suppose we have a big project. Draw hierarchy of the people involved in the project?
   
Answer:
Please ignore small lines relating Sub Teams to subordinates due to shortage of time. ABCD etc are connected directly to Team Lead 1,2 & 3 accordingly.
 
 
CS101- Introduction to Computing - Q.No. 40    ( M - 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. www.vuzs .net
   
CS101- Introduction to Computing - Q.No. 41    ( M - 10 )
 How instant messaging works? Write the steps involved in this process.
 
Answer:
The Instant Messaging services available allow us to maintain a list of people (contacts) that we interact with regularly. We can send instant messages to any of the contacts in our list as long as that contact is online.
 
Following steps are involved in IM working.
 
  1. User commences the IM client.
  2. IM client finds the IM server & logs in.
  3. It launches communication info (IP address, etc) to the IM server.
  4. IM server finds user’s contacts & sends him/her the communication info.
  5. IM server also notifies the contacts that the user is online; sends his/her communication info to them.
  6. The user’s & the contact’s IM clients are ready to communicate directly (P2P).
  7. As new contact has come online, IM server informs them about the user being online & vice versa.
  8. Multiple, real-time chat are possible.
  9. When the user logs-off, his/her IM client informs the IM server.
  10. IM server wipes away the temporary file and informs the user’s contact’s about his/her ‘offline’ status.

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...