Friday, 24 January 2014

FINALTERM EXAMINATION Fall 2009 CS101- Introduction to Computing (Session - 2)

FINALTERM  EXAMINATION
Fall 2009
CS101- Introduction to Computing (Session - 2)
Time: 120 min
Marks: 75

   
Question No: 1    ( Marks: 1 )    - Please choose one
  Human are better than computers at
       ► Efficiency
       ► Accuracy
       ► Pattern recognition
       ► None of the given choices
   
Question No: 2    ( Marks: 1 )    - Please choose one
  TCP stands for ___________.
       ► Total communication protocol
       ► Transmission control protocol
       ► Transfer control protocol
       ► Transfer collection protocol
   
Question No: 3    ( Marks: 1 )    - Please choose one
  First computer network was ___________.
       ► NSFNET
       ► FIRSTNET
       ► ARPANET
       ► ORPHANET
   
Question No: 4    ( Marks: 1 )    - Please choose one
  A user may access any item on the web through __________.
       ► URL
       ► Telnet
       ► POP
       ► SMTP
   
Question No: 5    ( Marks: 1 )    - Please choose one
  In JavaScript, a variable declaration is

       ► Optional
       ► Mandatory
       ► Not allowed
       ► None of the given
   
Question No: 6    ( Marks: 1 )    - Please choose one
  According to a popular heuristic, success is defined by ___________.
       ► The user
       ► The builder
       ► Both user and builder
       ► None of the given options
   
Question No: 7    ( Marks: 1 )    - Please choose one
  To store rounded number of 8.6 in a variable called "r_number", we write _____________.
       ► r_numbers=Maths.rounds(8.6)
       ► r_number=Math.rounds(8.6)
       ► r_number=Math.round(8.6)
       ► r_number=Maths.round(8.6)
   
Question No: 8    ( Marks: 1 )    - Please choose one
  random() function returns a randomly-selected, floating-point number between ____________.
       ► 0 and 1
       ► 0 and 10
       ► 0 and -10
       ► 0 and  -1
   
Question No: 9    ( Marks: 1 )    - Please choose one
  Trinoo is a __________ software.
       ► DoS
       ► Scanning
       ► Utility
       ► None of the given options
   
Question No: 10    ( Marks: 1 )    - Please choose one
  Which attribute of the IMG tag tells us about the source of the image ____________.
       ► source
       ► path
       ► loc
       ► src
   
Question No: 11    ( Marks: 1 )    - Please choose one
  The developer report to ___________ in a development team.
       ► Team Lead
       ► Project Manager
       ► CEO
       ► IT Manager
   
Question No: 12    ( Marks: 1 )    - Please choose one
  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    ( Marks: 1 )    - Please choose one
  TCP stands for ________.

       ► Transfer Center protocol
       ► Transmission Control Protocol
       ► Transmission Center Protocol
       ► Telephone Center Protocol
   
Question No: 14    ( Marks: 1 )    - Please choose one
  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
       ► Membership
       ► Software
   
Question No: 15    ( Marks: 1 )    - Please choose one
  Many developers write the _________ first and then incrementally convert each line into _________.
       ► Real code & Pseudo code
       ► Pseudo code & Real code
       ► Real code & Artificial code
       ► None of the given options
   
Question No: 16    ( Marks: 1 )    - Please choose one
  Collection of facts & figures is called ____________.

       ► Information
       ► Data
       ► Entity
       ► Attribute
   
Question No: 17    ( Marks: 1 )    - Please choose one
  A collection of data organized in such a way that the computer can quickly search for a desired data item is known as :
       ► Retrieving
       ► Database
       ► Information
       ► DBMS
   
Question No: 18    ( Marks: 1 )    - Please choose one
  To start an ordered list from 20 instead of 1, we will write

       ► <OL begin = “20">
       ► <OL initiate = “20">

       ► <OL start = “20">
       ► <OL from = “20">
   
Question No: 19    ( Marks: 1 )    - Please choose one
  Using COLSPAN, number of rows of the current cell should extend itself
       ► Upward
       ► Downward
       ► Both Upward and Downward
       ► None of the given choices
   
Question No: 20    ( Marks: 1 )    - Please choose one
  Microsoft Word is a type of:
       ► System Software
       ► Freeware Software
       ► Shrink-Wrapped Software
       ► Custom-built Software
   
Question No: 21    ( Marks: 1 )    - Please choose one
  Compound Statement after decision constructs in JavaScript is enclosed with
       ► (  )
       ► [  ]
       ► {  };
       ► {  }
   
Question No: 22    ( Marks: 1 )    - Please choose one
  Users __________, how things work.
       ► Analyze in detail
       ► Muddle through
       ► Figure out
       ► Read in detail
   
Question No: 23    ( Marks: 1 )    - Please choose one
  One can send an email message to a remote computer using _______ protocol
       ► HTTP
       ► SMTP
       ► FTP
       ► TELNET
   
Question No: 24    ( Marks: 1 )    - Please choose one
  Writing a response, multiple statements are separated from each other with the help of
       ► Period ( . )
       ► Comma ( , )
       ► Colon ( : )
       ► Semicolon ( ; )
   
Question No: 25    ( Marks: 1 )    - Please choose one
  With the passage of time the field of Computing and Telecommunication is _____________.
       ► Diverging
       ► Converging
       ► Becoming different
       ► Becoming unique
   
Question No: 26    ( Marks: 1 )    - Please choose one
  When we have to show value as part of a whole picture, which type of chart is used.
       ► Bar chart
       ► Pie chart
       ► Line graph
       ► None of the given
   
Question No: 27    ( Marks: 1 )    - Please choose one
  ______________ software directly interacts with the user.

       ► Application software

       ► System software

       ► Anonymous software

       ► Interactive software

   
Question No: 28    ( Marks: 1 )    - Please choose one
  Global variables can make the logic of a web page.
       ► Difficult to understand
       ► Easier to understand and maintain
       ► Difficult to reuse and maintain
       ► Difficult to understand, reuse and maintain
   
Question No: 29    ( Marks: 1 )    - Please choose one
  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: 30    ( Marks: 1 )    - Please choose one
  for(var i=1; i<=2;i=i+1)                                           
{
document.write( "Sorted Words:" + "<BR>" )
}

Which of the following shall be the output of above code:
       ► Sorted Words: Sorted Words:
       ► Sorted Words:
Sorted Words:
       ►        Sorted Words: “<BR>”
       Sorted Words: “<BR>”

       ► Sorted Words: <BR>
Sorted Words: <BR>


   
Question No: 31    ( Marks: 1 )
  What are the elements of website design? Any one
Ans:
Elements of webdesign: There are in 3 elements of web design and below are there names:
1.    Navigation scheme
2.    Overall look and feel
3.    Layout of information
   
Question No: 32    ( Marks: 1 )
  What kind of information can be stored in a database ?

•    Numbers, Booleans, text
•    Sounds
•    Images
•    Video
   
Question No: 33    ( Marks: 2 )
  Why hub is used in networks?
  
HUB: Hub is networking component which can be used to connect the networks and it can also be used to extend the size of networks.
Simply it can be explained as a common connection point for devices in a network. It contains multiple ports like 8port, 16 port , 23 port hubs

Question No: 34    ( Marks: 2 )
  Write names of the DoS attack’s phases?

DoS (Denail of service): DoS attach has in total 3 phases and below they are listed:
1.    Search
2.    Arm
3.    Attack
   

Question No: 35    ( Marks: 3 )
  What do you mean by FTP or File Transfer Protocol?

FTP: File transfer protocol was first introduced in 1973; it standardized the transfer of files between computers on a TCP/IP network (e.g internet).
It can download or upload files to a remote computer using the FTP protocol

Operations performed using FTP:

1.    List, change, create folders on a remote computer
2.    Upload and download files

Usage: Transferring Web content from the developer’s PC to the Web server


   
Question No: 36    ( Marks: 3 )
  How many types of errors can be found during a program developement? List them.

1.    Syntax errors
2.    Semantic errors
3.    Run-time errors



Question No: 37    ( Marks: 3 )
  Write code in JavaScript to display the odd numbers between 20 to 100 using FOR statement.                                         

Note: No need to write whole HTML program. Just JavaScript code of require part is require.

   
Question No: 38    ( Marks: 5 )
  Why the number of temporary workers are on the rise? Discuss main reasons?

Temporary workers:
Temporary workers are those workers which a company can hire to perform a certain task with in a defined time period.
Temporary workers are mostly consultants which move organization to organization to perform assigned workers.

Reasons:
1.    Now-a-days; whole world is suffering from financial crisis, most of the companies have frozen there hiring, just in case they need a resource they are looking for a temporary worker for a specified time span to perform a specialized task and they just pay him for that period of time.
2.    Temporary workers are mostly consultants which have expertise in a certain field and they are considered specialists in that field.
3.    Employer doesn’t need to train the temporary worker.


   
Question No: 39    ( Marks: 5 )
  Write the JavaScript code for the Function SumOddNumbers(maxNumber) that can add non-negative odd numbers up to maxNumber and return their sum.
Java Script Code:


Question No: 40    ( Marks: 10 )
  Define network organization? What are important features of network organization? (4+6)

Network Organization :
Network organization is an interfirm organization that is characterized by organic or informal social systems. A company or group of companies that has a minimum of formal structures and relies instead on the formation and dissolution of teams to meet specific objectives..

Features of Network Organization:
1.    The organizations are learning that business can be done in a more effective manner if emphasis is placed upon cooperation, shared responsibility and networking:
•    Within the organization
•    And also with their customers and suppliers
2.    Changes according to the demand of the times
3.    Works effectively to meet the business goals of the organization
4.    Everyone has a feeling that he/she is playing a major role in the organization which eventually gives a feel of ownership and because of that employee can put his best effort to accomplish a task.

   
Question No: 41    ( Marks: 10 )
  Answer the following questions by looking at the code given below.

1-    Which alert box will be displayed if variable 'marks' has value 75?
Ans:  alert("Above average performance");
2-    What is the range of the marks when the alert box displays the message “Average performance”?
Ans: else if (marks > 50 && marks < 60)
          {
        alert("Average performance");
        }


3-    What is the range of the marks when the alert box displays the message “That's poor performance”?
Ans: The below mentioned alert box is displayed for all the marks less then or equal to 50
    else
       {
           alert("That's poor performance");
       }


4-    Which alert box will be displayed if variable 'marks' has the value 100?
    Ans: {
          alert("You've touched a century");
              }


1.    if (marks == 100)
2.       {
3.       alert("You've touched a century");
4.       }
5.    else if (marks >= 80 && marks < 100)
6.       {
7.       alert("That's good");
8.       }
9.    else if (marks >= 60 && marks < 80)
10.       {
11.       alert("Above average performance");
12.       }
13.    else if (marks > 50 && marks < 60)
14.       {
15.       alert("Average performance");
16.       }
17.    else
18.       {
19.       alert("That's poor performance");
20.       }

No comments:

Post a Comment