We are Permanently Move to vupk.net Please Join us there.

CS101 Midterm Solved Paper - 1

Introduction to Computing- CS101 Midterm Solved Paper -1

Spring 2010
Time: 90 Min
Marks: 58

Question No: 1    ( M a r k s: 1 )    
JavaScript does not support_______________
      ► User interaction
       ► Graphics
       ► Network operations
       ► Both Graphics and Network operations
    
JavaScript does not support graphics. This inherent limitation prevents to fall in love with the possibility to embed JavaScript code in pdf documents and to overestimate the potential of this technique.    

Question No: 2    ( M a r k s: 1 )    
_________ language is very good for writing well-structured and readable programs, but it is not as flexible as the C programming language 

       ► BASIC
       ► PASCAL
       ► JAVA
       ► FORTRAN
Pascal is very good for writing well-structured and readable programs, but it is not asflexible as the C programming language.
 
Question No: 3    ( M a r k s: 1 )   
__________ is the example of Shrink-wrapped software.

       ► PIA information system
       ► WinZip trial pack
       ► Linux
       ► MS Word
SW built in such a way that it is useful for many different users in many different ways. Example: MS Word. Individuals use it and so do many large corporations. It is used for writing one-page letters and also to typeset books 
Question No: 4    ( M a r k s: 1 )    
___________ refers to the firmware code which is run by an IBM compatible PC when first powered on.
       ► DOS
       ► BIOS
       ► Utility Program
       ► None of these

   
Question No: 5    ( M a r k s: 1 )    
RTOS stands for____________________

       ► Real Task Operating System
       ► Random Time Operating System
       ► Rational Time Operating System
       ► Real Time Operating System
Classification w.r.t. the type of computers they run on and the type of applications theysupport
Real-Time Operating System (RTOS)Single-User, Single TaskSingle-User, Multi-Tasking
Multi-User 
Question No: 6    ( M a r k s: 1 )   
------------- is an electronic path within a Computer System along which bits are transmitted.

       ► Port
       ► Slots
       ► Bus
       ► Modem


Question No: 7    ( M a r k s: 1 )  
A microprocessor can be made more powerful by increasing its ________.
       ► Clock frequency
       ► Word length
       ► Clock frequency and Word length
       ► None of above
   Enhancing the capability of a microprocessor ?
The computing capability of a microprocessor can be enhanced in many different ways:By increasing the clock frequencyBy increasing the word-widthBy having a more effective caching algorithm and the right cache sizeBy adding more functional units (e.g. ALU’s, FPU’s, Vector/SIMD units, etc.)Improving the architecture

Question No: 8    ( M a r k s: 1 )    
Which one of these translates the program once at a time ?
       ► Interpreter
       ► Compiler
       ► Operating system
       ► Translator
    
Question No: 9    ( M a r k s: 1 )   
------------ is volatile memory.

►RAM
►ROM
►Hard Disk
►CD ROM
  
RAM is volatile memory, and hence it is not possible to directly make the data available in RAM, on power up.

Question No: 10    ( M a r k s: 1 )   
A British scientist named John A. Fleming made a vacuum tube known today as a diode. Then the diode was known as a "valve," Is it true?

True
►False

 A vacuum tube is just that: a glass tube surrounding a vacuum (an area from which all gases has been removed). What makes it interesting is that when electrical contacts are put on the ends, you can get a current to flow though that vacuum. A British scientist named John A. Fleming made a vacuum tube known today as a diode. Then the diode was known as a "valve,"

Question No: 11    ( M a r k s: 1 )  
  Tags  always placed between the and tags of a Web page.
►True 
►False
   
Question No: 12    ( M a r k s: 1 )    
_____________ is  generally measured in terms of the number of steps required to execute an algorithm.

       ► Space
       ► Time
       ► Memory and time
       ► Bandwidth
   
 Analysis in the context of algorithms is concerned with predicting the resources that are requires:
Computational timeMemoryBandwidthLogic functionsHowever, Time – generally measured in terms of the number of steps required to execute an algorithm - is the resource of most interestBy analyzing several candidate algorithms, the most efficient one(s) can be identified
Question No: 13    ( M a r k s: 1 )   
Programs where no user interaction found during program execution are called __________.         
       
►Batch programs
►Event-driven programs
►Graphics based programs
► None of the given Batch ProgramsThese are typically started from a shell (or automatically via a scheduler) and tend to follow a pattern of: Initialize internal dataRead input dataProcess that dataPrint or store resultsKey feature: No user interaction with the computer while the program is running.

Question No: 14    ( M a r k s: 1 )    
For connector the following symbol is used:
►Square
►Rectangle
►Diamond
►Circle

Question No: 15    ( M a r k s: 1 )    
After starting computer, which module of operating system activates first?

Linker
►Kernel
►Loader
►Device manager
   
Question No: 16    ( M a r k s: 1 )    
"Every minute dies a man, And one and a sixteenth is born"  said by?

►Alfred, Lord Tennyson
►Charles Babbage
►Ada, Countess of Lovelace
►Babbage and Lord Tennyson
 
 Charles Babbage was a mathematician, inventor and philosopher. He was troubled by imprecision. He hated imprecision so much that he once wrote Lord Tennyson to note the imprecision of his poem, “The Vision of Sin.” In that poem Tennyson said, “Every minute dies a man, Every minute one is born.” But, Babbage wrote that the poem could not be factual or the population of the earth would be flat. He suggested instead that Lord Tennyson change the poem to read “Every minute dies a man, And one and a sixteenth is born.”

Question No: 17    ( M a r k s: 2 )
Why JavaScript is called Object-based language, why not Object-Oriented ?

JavaScript is not a true object-oriented language like C++ or Java

It is so because it lacks two key features:
– A formal inheritance mechanism
– Strong typing
Nevertheless, JavaScript shares many similarities with object-oriented
languages, and therefore is called an object-based language
 Everything that JavaScript manipulates, it treats as an object – e.g. a window or a button
An object has properties – e.g. a window has size, position, status, etc.
Properties are modified with methods – e.g. a resize a window with resizeTo(150, 200)


Question No: 18    ( M a r k s: 2 )
Draw flow chart symbols for "process" and "off page connector" ?
  
Process  

Off Page Connector  

Question No: 19    ( M a r k s: 2 )
How can you open a link in a new browser window?    
We can open by using these two commands:

document.write (title.link("URL"));
   
Question No: 20    ( M a r k s: 3 )
List down the names of any three parameters on which we analyze an algorithm.
   
Question No: 21    ( M a r k s: 3 )
What is the difference between user requirements and development specification.
   
Question No: 22    ( M a r k s: 5 )
Which two phases of the SW lifecycle do you think are the most important and effort consuming steps? Explain with reasons.         
concept and decommissioning
Concept ka reason yeh key it gives the first idea about WHAT is required
and decommissioning ensures that WHAT is required has been achieved                                        
   
Question No: 23    ( M a r k s: 5 )
Write down the algorithm for converting decimal number to binary?

0 comments:

Post a Comment