Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

CS101 Introduction to Computing Final term 2010 shared by student

  Home > Old Papers > CS101 Papers > CS101 Introduction to Computing Final term 2010 shared by student


Question No: 1    ( M - 1 )    .
 What is NOT a key factor while designing a website?
Usability
User-friendly
Consistency
Complexity
   
Question No: 2    ( M - 1 )    .
 Communications on the internet is controlled by a set of two protocols which are ____________.
IMAP and SMTP
 FTP and HTTP
 TCP and HTTP
 

Question No: 3    ( M - 1 )    .
 A variable can be _________ in scope.
       
  Local
Global
Either local or global
None of the given options
   
Question No: 4    ( M - 1 )    .
 A protocol used for receiving email messages is called ____________.
URL
Telnet
POP3
SMTP
   
Question No: 5    ( M - 1 )    .
 Aliasing problem can be managed by ____________the size of pixels.
Increasing
Gaining
Modifying
   
Question No: 6    ( M - 1 )    .
 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 - 1 )    .
 Which of the following data types are recognized by JavaScript?
Strings
Numbers
Undefined
All of the given options
   
Question No: 8    ( M - 1 )    .
 a = Math.ceil(12.01)  
What will be the value of a ?
 
12
13
12.0
13.01
   
 
Question No: 9    ( M - 1 )    .
 In the old days, databases did NOT support ____________.
 
Number
Boolean
Video
Text
   
Question No: 10    ( M - 1 )    .
 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 - 1 )    .
 Module level design is the responsibility of the ___________.
 
Architect
Team Lead
Developer
CEO

   
Question No: 12    ( M - 1 )    .
 _____________ errors are caused by the code that somehow violates the rule of the language.
 
Syntax
Semantic
Run time
Load time
   
Question No: 13    ( M - 1 )    .
 The world first computer program was written to compute:
 
Simple sequence
Multiple sequence
Bernoulli’s sequence
Increasing sequence
   
Question No: 14    ( M - 1 )    .
 Microsoft Word is a type of:
 
System Software
Freeware Software
Shrink-Wrapped Software
Custom-built Software
 
  
Question No: 15    ( M - 1 )    .
 We need _____________ for memory management in computer
 
Software
Hardware
Operating System
Application Software
   
Question No: 16    ( M - 1 )    .
 _____________ is  generally measured in terms of the number of steps required to execute an algorithm.
 
Space
Time
Memory and time
   
Question No: 17    ( M - 1 )    .
 PowerBuilder falls in the category of ______________.
         
       Assembly Languages
       4-th Generation Languages
       Machine Languages
       High-Level Languages

 
Question No: 18    ( M - 1 )    .
 ___________ means to break down into simpler components and analyze.
       Recursion
       Parsing
       Scope
       Navigation
   
Question No: 19    ( M - 1 )    .
 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 - 1 )    .
 Assembly languages allow a programmer to use _________ for numbers.
Object
 Entity
 Name
 Interpreter
 
   
Question No: 21    ( M - 1 )    .
 __________ means you have only one container to store more than one value in JavaScript.
Matrix
Array
String
   
Question No: 22    ( M - 1 )    .
 Coding is the responsibility of ________________
Software designer
Software developer
Project manager
None of given
   
Question No: 23    ( M - 1 )    .
 CEO stands for____________________
Central Executive officer
Chief External officer
Chief executive officer
None of given
  
 
Question No: 24    ( M - 1 )    .
 Decision Support Systems will become a bigger part of the professional life of the________ .
Doctors
Mangers
Marketers
   
Question No: 25    ( M - 1 )    .
 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 - 1 )    .
 In the statement Math.PI, Math is _________ and PI is ___________.
Variable, Constant
Object  , Method
Object  , Function
Object  , Property
   
Question No: 27    ( M - 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 - 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 - 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 - 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 - 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 - 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 - 3 )
 Give any three applications of computer graphics?
Applications of computer graphics

 
   
Question No: 34    ( M - 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 - 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” , “”);

Post a Comment

0 Comments