Pages

29 Apr 2012

Cs101 solved midterm past paper's 2010

Question No: 1   ( M a r k s: 1 )
__________% of the users have left websites in frustration due to poor navigation.
      ► 40
       ► 62
      ► 83       
       ► 91
 Question No: 2      ( M a r k s: 1 )
The impact of a digit in a number is determined by its ---------------
      ► Value
      ► Location
     ► Length
      ► None of above
Question No: 3      ( M a r k s: 1 ) http://vuzs.net
Hexadecimal number system is based on -------------------- digits.
       ► 2
       ► 8
       ► 12
       ► 16
Question No: 4      ( M a r k s: 1 )
TCP stands for ___________.
► Total communication protocol
► Transmission control protocol   
 ► Transfer control protocol
► Transfer collection protocol
 Question No: 5      ( M a r k s: 1 )
The browser breaks down the URL into ________ parts.
 ► 2
 ► 3    
► 4
►5
 Question No: 6   ( M a r k s: 1 ) 
A single pixel can acquire approximately ___________ color schemes.
► 1 million
► 2 million
► 10 million
► 16 million  
Question No: 7      ( M a r k s: 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: 8      ( M a r k s: 1 )
According to a popular heuristic, success is defined by ___________.
 ► The user  
► The builder
► Both user and builder
► None of the given options
Question No: 9      ( M a r k s: 1 )
Which one is the best option for designing a Medical Expert System?
► Rule Based System
► Genetic Algorithm
 ► Fuzzy Logic
► Neural Network   
Question No: 10      ( M a r k s: 1 )
document.write("20"+"12") ;
The out put of the above statement is ____________.
► 1220
► 2012
► 20 12
► 32
Question No: 11      ( M a r k s: 1 )
Due to working at home, contact with the colleagues is __________, which may result in __________ quality of work.
► Reduced, Poorer  
► Reduced, Better
► Increased, Poorer
► Increased, Better
Question No: 12      ( M a r k s: 1 )
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
 ► Programming Synchronization
 ► None of the given options
Question No: 13      ( M a r k s: 1 )
The tasks performed to determine the existence of defects is called _______.
 ► Debugging
 ► Testing  
► Repairing
 ► Coding

 Question No: 14      ( M a r k s: 1 )
Deep Blue was the name of
► computer   
► human
► city
 ► game
Question No: 15      ( M a r k s: 1 )
There is a battery on the motherboard to:
 ► Give power to the processor
 ► Save information when computer is off
 ► Save information when computer is on
 ► Give power to the motherboard
Question No: 16      ( M a r k s: 1 )
Compound Statement after decision constructs in JavaScript is enclosed with
 ► (  )
► [  ]
► {  };
 ► {  } 

Question No: 17      ( M a r k s: 1 )
______ occurs when a function calls itself.
 ► Recursion
  Call by value
► Call by reference
 ► Parsing
Question No: 18      ( M a r k s: 1 )
Which function returns integer nearest to x
 ► random()
 ► exp(x)
 ► log(x)
 ► round(x)
 Question No: 19      ( M a r k s: 1 )
Microphone is an input as well as output device. This statement is.
► True
  ► False
Question No: 20      ( M a r k s: 1 )
74HC163 has two enable input pins which are _______ and _________.
 ► ENP, ENT
 ► ENI, ENC
 ► ENP, ENC
► ENT, ENI
Question No: 21      ( M a r k s: 1 )
Radio Buttons are used when you want the user to select one of a limited number of choices.
  ► True
  ► False

Radio buttons
Question No: 22      ( M a r k s: 1 )
In partitioning of program/module, it should be assured that partitioned chunks should be as _________ as possible.
 Dependent
► Independent 
► Complex
► All of the above
Question No: 23      ( M a r k s: 1 )
In a library’s database, if there is an entry in the register for Book # 423 then the  corresponding Book must actually exist; is an example of which type of data integrity:
► Type integrity
► Limit integrity
 ► Physical Integrity
   Referential Integrity
Question No: 24      ( M a r k s: 1 )
DBMS and Database are two names of one term .
 ► True
  ► False

Question No: 25      ( M a r k s: 1 )
There are _______ types of program errors
       ► 2
       ► 4
       ► 6
       ► 3
Question No: 26      ( M a r k s: 1 )
 Super computers consists of more than one parallel processors because.
       ► One big processor is more expensive than parallel processors
       ► Through parallel processors problems can be solved easily
       ► Small processors are easy to manufacture
       ► All of the given

Question No: 27      ( M a r k s: 2 )
What is the difference between ‘single-line text input field’ and ‘password input field’ ?
ANS:
A Password Field is good for sensitive information. The only item that is absolutely necessary is the Submit Button. It is a good idea to include a Reset Button for the convenience of the user.
A text field gathers information using a single line of text. This field is useful for short answers. The default text field is blank. If you want to specify default text, use the VALUE attribute.
 
Question No: 28      ( M a r k s: 2 )
What is internet?
ANS:
          Internet is also called WAN, which means the interconnection of large number of computer networks and it consists of millions of private, public, academic, business, and government networks of local to global scope that are linked by a broad array of electronic and optical networking technologies.
 
Question No: 29      ( M a r k s: 2 )
In JavaScript, what is event handling? What are the two types of events?
ANS:
            Event handling means capturing an event and responding to that.
Events e.g. onMouseOver, OnClick, onLoad, Onunload, updating the clock etc. are captured by the Java script & according to the programs they are responded accordingly
 
Question No: 30      ( M a r k s: 2 )
Define the key weakness of the web?
ANS:
 
Question No: 31      ( M a r k s: 3 )
How can we include images in a web page using HTML and Java script?
ANS:
Image in HTML
It is easier to insert images and pictures i.e. JPG, GIF & BMP files in the web page through HTM codes.
The tag is used which is used as under:-
text<br Height=(in pixels) width=(in pixels)

Images in JavaScript

Images in JavaScript may be used with the event handling i.e. OnLoad, OnUnload, OnError and OnAbort etc.
The properties i.e. used for Java script are as under:-
1. Name
2. Border
3. Complete
4. Height
5. src
for example:-
xyz” src=”abc.jpg”>
 
Question No: 32      ( M a r k s: 3 )
Differentiate between onLoad and onUnload
ANS:
On load event is used when the page is load in the browser while on the other side onUnload event works when the page closes down.
Question No: 33      ( M a r k s: 3 )
Elaborate Rester Graphics with examples.
ANS:
Raster graphics are digital images created or captured (for example, by scanning in a photo) as a set of samples of a given space . A raster file is usually larger than a vector graphics image file. A raster file is usually difficult to modify without loss of information.
Examples of raster image file types are: BMP, TIFF, GIF, and JPEG files.
 Question No: 34      ( M a r k s: 5 )
What is a Relational Database? Give the names of any three RDBMS software. (2+3)
ANS:
Database architecture consists of three levels, external, conceptual and internal. Clearly separating the three levels was a major feature of the relational database.
NAMES:
Oracle Database software, Linux, andoracle e business database software , and Oracle OLAP.

 
Question No: 35      ( M a r k s: 5 )
How many ways are there to call a function in a program ? Explain with example
ANS:
there are two methods of function in a program
1st method is used within the html coding with immediate in the even handling
on the other sidefunction can also be defined in the heading portion of the html page.
it is a better choice to use function as it include many statments in it.
OnMouseOver=“if(document.sendEmail.sender.value.length<1)
Window.alert(‘empty field!’)”
while in the heading portion
it will be as
function checkForm() {
if ( document.sendEmail.sender.value.length < 1) {
window.alert( “Empty Field” );
}
 
Question No: 36      ( M a r k s: 5 )
What do you mean by the term 'Telepresence' in Computing World?

2 comments:

  1. We proudly present the largest online database of CIE academic contents in Pakistan e.g CIE Resources. We move with the aim to make education FAST, COMMON, & EASILY accessible for each and every Pakistani and others. People who are seeking knowledge and looking around for a better CIE educational material and guidance system to enhance their academic skills may now connect to CIE Taleem-e-Pakistan platform. It is developed to digitize the paper based academic learning material to allow easy E-access for all sort of CIE, CIE Solved Assignments, CIE Past Papers, CIE Thesis, CIE Guess Papers, CIE Notes and regular updates just for free. We initiate with the hope of better educated Pakistan join us to us to make it possible.

    ReplyDelete