Saturday, May 14, 2011

CS101 Past Paper

CS101 Past  Paper


Question No: 10    ( Marks: 1 )    - Please choose one
 Register is a kind of ______memory

      ► Fast
      ► Super fast (handouts say very fast which is better  than fast).
      ► Slow
      ► Very slow

Qs. Interactivity
·        Java
·        Visual Basic Script
·        Javascript

Qs   ( Marks: 1 )    - Please choose one
MS Word is the example of
o       Shrink-wrapped software

Qs    ( Marks: 1 )    - Please choose one
 Which is not part of the IC were replaced by ___
      ► Diode
      ► Transistors
      ► Vacuum tubes
      ► Resistors

Qs    ( Marks: 1 )    - Please choose one
------------ is volatile memory
       ► RAM
       ► ROM
       ► Hard Disk
       ► CD ROM   

Subjective
3 marks (.5 for 1)
Qs. Name six programming languages
Machine Language
Assembly Language (1956-63)
LISP (1956)
PL/1(1964)
BASIC (1964)
Pascal (1970)
Smalltalk (1972)
C (1972)
Fortran (1957)
COBOL (1959)
5 marks
Qs. Write html code for the following output
o       Male
o       Female
<td>
<input type="radio" name="from" value="Male"> checked<br>
<input type="radio" name="from" value="Female"> Home<br>
</td>
Male was checked.  In a hurry, pls check the coding the question is ok.
5 marks
Qs. What is software life cycle?
A software life cycle is the creation of software systems from the point of conception to termination.
The sequence of phases a software goes through from concept to decommissioning.

Life cycle consist of the following:
1.      Concept & Feasibility
2.      User Requirements
3.      Developer Specifications
4.      Planning
5.      Design
6.      Implementation
7.      Integration testing
8.      Operation and Maintenance
9.      Decommissioning

Marks
Qs. Write code to input multiple lines of text.

3 Marks
Qs. Algorithm presentation
1.      Pseudo code
2.      Flowchart
3.      Actual code



Subjective
Qs. Name 3 Characteristics of java script
1.      Object-Based Language (no inheritance mechanism, no strong typing)
2.      Programming language which is case sensitive.
3.      Interpreted language
4.      Supports event driven programming

Qs. Algorithm flow chart


Objective
Flow chart symbol O
o       Connector

Tfr of mulitiple bits –
o       parallel port

On Ibm pc it is called firmware – bios

No comments:

Post a Comment

Contact Form

Name

Email *

Message *