Sunday, 27 November 2011

CS 101 MCQ's

   Falconsofvu.blogspot.com

          Come and JOIN




                                                CS 101



Q1                                                                            
Charles Babbage was a/an
(a)   Mathematician
(b)   Computer Scientist
(c)    Physician
(d)   Analyst
Q2
First electronic computer was
(a)   ABC
(b)   UNVAC 1
(c)    Harvard Mark 1
(d)   IBM PC
Q3
The Last famous electro-mechanical computer was
(a)   ENIAC
(b)   EDVAC
(c)    Harvard Mark 1
(d)   Altair 8800
Q4
The memory size of the Altair 8800 was
(a)   128 bytes
(b)   256 bytes
(c)    128 Kilo bytes
(d)   256 Kilo bytes
Q5
This element of Flow Chart is called_____________.
(a)   Process
(b)   Process
(c)   Decision
(d)  Connector
Q6
JavaScript is an example of  _____________ language.
(a)   Object-based
(b)   Object-oriented
(c)    Machine
(d)   Assembly
Q7
____________ interacts directly with the computer Hardware
(a)    Compiler
(b)   Operating system
(c)    Application software
(d)   Assembler
Q8
In Spreadsheets, you can create a relationship between two cells by using _____.
(a)    Numbers
(b)   Text
(c)    Formulas
(d)   None of the given choices
Q9
In spreadsheets, cell address A12 means _______.
(a)    Row A, Cloumn 12
(b)   Row 12, Cloumn A
(c)    Row 2,Cloumn A1
(d)   Row A1, Cloumn 2
Q10
VisiCalc was the first popular _______application on PC’s.
(a)   Spreadsheet
(b)   Word processor
(c)    Presentation
(d)   Database
Q11
__________ is the example of Shrink-wrapped software
(a)    PIA information system
(b)   WinZip trial pack
(c)    Linux
(d)   MS Word
Q12
The key feature of Scientific/Engineering/Graphics applications is ____________
(a)   Intense calculations
(b)   User-friendly
(c)    Reliability
(d)   Cost-effective
Q13
ERP is a type of __________________ .
(a)   Entertainment software
(b)   Productivity software
(c)    Business software
(d)   Scientific software
Q14
When we use <INPUT  type=“password”>, what will happen?
(a)    Text will not be visible
(b)   Text will be in normal format
(c)    Text will be in **** format
(d)   Text will be in #### format
Q15
Video Card has  its own -----------------
(a)   Memory
(b)   Processor
(c)    Memory& Processor
(d)   Neither memory nor Processor
Q16
Using only HTML we can create
(a)    Dynamic web pages
(b)   Static web pages
(c)    Both Static and Dynamic pages
(d)   None of these
Q17
The world first computer program was written to compute:
(a)    Simple sequence
(b)   Multiple sequence
(c)    Bernoulli’s sequence
(d)   Increasing sequence
Q18
Computers are good at
(a)    Speed
(b)   Storage
(c)    Never bored
(d)   All of the given choices
Q19
_____ is an application program that provides a way to look at and interact with all the information on the World Wide Web
(a)    URL
(b)   Browser
(c)    HTML
(d)   Website
Q20
___ contains the name of the protocol required to access the resource, a domain name that identifies a specific computer on the internet and a pathname on the computer
(a)    HTML
(b)   HTTP
(c)    URL
(d)   WWW
Q21
_________ is the interface in computer that supports transmission of multiple bits at the same time.
(a)    Serial Port
(b)   Parallel Port
(c)    Universal Serial Bus
(d)   None of the given choices
Q22
Forms can be submitted by using  __________ different methods
(a)   2
(b)   3
(c)    4
(d)   5

Q23
Forms can be submitted through _______ & _______ methods
(a)    INCLUDE, POST
(b)   INCLUDE, GET
(c)    GET, POST
(d)   SEND, POST
Q24
__________ maintains index of names and location of the files.
(a)   File manager
(b)   File system
(c)    File Folder
(d)   Operating system
Q25
Now a days, users communicate with the computer using a consistent __________ provided by the Operating System.
(a)    Command-line interface.
(b)   Application Interface
(c)    User Interface
(d)   Protocol
Q26
If an algorithm is syntactically correct, but semantically incorrect then this situation is
(a)    Very good situation
(b)   Very dangerous situation
(c)    Not very bad
(d)   Neutral situation
Q27
What is the problem with Brute Force Strategy approach?
Solution:-
Doesn’t scale well with the size of the problem

Q28
What is software design methodology?
Solution:-
The set of (often flexible) rules and guidelines a team of developers follow to construct reasonably complex SW systems
Q29
What is the name of HTML tag, that has Href attribute and What is the Purpose of Href?
Solution:-
<A HREF = “action” > label </A>
It is used to to create Links between pages, or we can used it as “mailto” function.
Q30
Write three characteristics of JavaScript.
Solution:-
(1)   JavaScript has numerous operators, classified in many categories.
(2)   Terminate all JavaScript statements with a semicolon. It is not always necessary, but highly recommended.
(3)   JavaScript ignores any extra white spaces or line breaks that you put in the code
(4)   Although JavaScript allows variable declaration, it does not require it - except in the case when
(5)    

Q31
Give reasons why we need semantic web?
Solution:-
Whereas, today’s Web’s content is designed for humans to read; the Semantic Web’s content will be designed for computers to understand meaningfully. However, the
Semantic Web is not a replacement but an extension of the present Web, in which info is given well defined meaning

Q32
What are the two key features of UNDO command in MS-Excel ?
Solution:-
1.      Allows you to recover from your mistakes
Allows you to experiment without risk



Cs101 midterm

Q1
Most frequently used computers are:
(a)   Mainframe Computers
(b)   Personal Computers
(c)    Supper Computers
(d)   Embedded Computers
Q2      
Information on World Wide Web is _______________ unified.
(a)   Physically
(b)   Logically
(c)    Really
(d)   None of the given choices
Q3
A Modem is a kind of ___
(a)   Input device
(b)   Output device
(c)    Storage device
(d)   Input and Output device
Q4
There are ___________ ways to represent an algorithm.
(a)    1
(b)   2
(c)    3
(d)   4
Q5
Logical operation that is performed on single input variable is ---------------
(a)    AND
(b)   OR
(c)    NOT
(d)   NOR
Q6
JavaScript does not support_______________
(a)    User interaction
(b)   Graphics
(c)    Network operations
(d)   Both Graphics and Network operations
Q7
__________ is a program that executes instructions line by line written in a high-level language.
(a)   Interpreter
(b)   Compiler
(c)    Predictor
(d)   Executor
Q8
__________ is a particularly good language for processing numerical data, but it does not lend itself very well to large business programs
(a)    BASIC
(b)   PASCAL
(c)    JAVA
(d)   FORTRAN
Q9
The default bullet for the list in HTML is
(a)    Circle shape
(b)   Disc shape
(c)    Square shape
(d)   Triangle shape
Q10
Which of the following is an illegal identifier?
(a)    _3yourName
(b)   MyObject
(c)    5stars
Q11
A ____________ operating system allows many users to take advantage of the computer's resources, simultaneously
(a)    Single user
(b)   Multi- user
(c)    Single tasking
(d)   Multi tasking
Q12
Which of the following is NOT an example of Multi-user Operating system
(a)    Windows
(b)   Linux
(c)    DOS
(d)   Solaris
Q13
Which of the following is/are the parts of Operating system components?
(a)    GUI
(b)   Device Manager
(c)    Shell
(d)   All of these
Q14
What is/are the use/uses of Word processor?
(a)    To write a letter          
(b)   To write Research paper or report
(c)    To create address labels
(d)  All of the given
Q15
All the hardware components of the Computer system are installed on-------------.
(a)    Microprocessor
(b)   Motherboard
(c)    Monitor
(d)   Memory
Q16
A connection point through which different external devices are connected with computer is called -----------------------
(a)   Port
(b)   Slots
(c)    Bus
(d)   Modem
Q17
Deep Blue was the name of
(a)   Computer
(b)   Human
(c)    City
(d)   Game
Q18
Compared to vacuum tubes, Transistors offer:
(a)    Much smaller size
(b)   Better reliability
(c)    Much lower cost
(d)   All of the given choices
Q19
If a computer could pass the Turing test  then it would be able to:
(a)   think like human beings
(b)   do the things faster
(c)    win a million dollar prize
(d)   store more information
Q20
We can change the background color in HTML, using ___ attribute of <body>
(a)    Background
(b)   bgcolor
(c)    Backcolor
(d)   Backgroundcolor
Q21
Which of the following is NOT supported by PC's power supply
(a)    -12 and +12  V DC
(b)   -10  and +10 V DC
(c)    -5 and + 5 V DC
(d)   All are supported
Q22
There is a battery on the motherboard to:
(a)    Give power to the processor
(b)   Save information when computer is off
(c)    Save information when computer is on
(d)   Give power to the motherboard

Q23
Structures, in which another list starts before the first list is finished, are called:
(a)    Multiple Lists
(b)   Nested Lists
(c)    Ordered Lists
(d)   Un-ordered Lists
Q24
In addition to unordered lists, HTML supports ________ other types of list
(a)   2
(b)   3
(c)    4
(d)   5
Q25
When the user needs something to be done by the computer, he/she gives instructions in the form of  _____ to computer ____
(a)    Software, Hardware
(b)   Hardware, Software
(c)    System Software, Application Software
(d)   Graph, Monitor
Q26
Application developers do not need to know much about the_________ while they are developing their applications
(a)    Software
(b)   Hardware
(c)    Operating System
(d)   Kernel
Q27
In Babbage's Analytical Engine, what was initially used to store information ?
Solution:-
A programmable, mechanical, digital machine
Could carryout any calculation
Could make decisions based upon the results of the previous calculation
Components: input; memory; processor; output

Q28
What is the basic use of supercomputers?
Solution:-
A supercomputer is a computer that performs at or near the currently highest operational rate for computers. A supercomputer is typically used for scientific and engineering applications that must handle very large databases or do a great amount of computation (or both). At any given time, there are usually a few well-publicized supercomputers that operate at the very latest and always incredible speeds.

Q29
What is the difference between ‘single-line text input field’ and ‘password input field’ ?
Solution:-
Single line text filed shows data in text form, but password field is shown data in **** shape
Q30
List down the names of any three parameters on which we analyze an algorithm.
Solution:-

Q31
Write differences between Shareware and trail ware software.
Solution:-
Shareware is software that is distributed without payment ahead of time as is common for proprietary software. Typically shareware software is obtained free of charge by downloading, thus allowing one to try out the program ahead of time.
Trail ware
It is similar to shareware but difference is that the SW is usable for a short period only.
When the period is expired, it is no more in use until the license is not purchased. The trial period may vary according to its developer. This period may range from a week to a few months.

Q32
Why do we need an Interactive Form in a webpage?
Solution:-

Because in interactive pages we can create, GUI-based programs, Also in this form there are check boxes, text boxes, buttons, and scrollable lists. All these above commands increases the page attractiveness.





Cs101 mid term
Q1
Cray-1 was first commercial _________ computer
(a)Super
(b)Mini
(c)Micro
(c)Personal
Q2
Browser is a __________________ used for browsing.
(a)   Tool
(b)   Component
(c)    Device
(d)   None of the given choices
Q3
The name of first browser was ______
(a)   Internet Explorer
(b)   Moziac
(c)    Netscape
(d)   Firefox
Q4
Which of the following hardware component of a computer can also be called as engine?
(a)   Bus
(b)   Storage
(c)    Memory
(d)   Processor
Q5
The impact of a digit in a number is determined by its ---------------
(a)   Value
(b)   Location
(c)    Length
(d)   None of above
Q6
This element of Flow Chart is called_____________.
(a)   Process
(b)  Off-page Connector
(c)   Decision
(d)   Connector
Q7
The sequence of phases, a software goes through from the concept to decommissioning, is called
(a)    Software composition
(b)   Software life-cycle
(c)    Software methodology
(d)   Software development steps
Q8
In JavaScript, a variable declaration is
(a)   Optional
(b)   Mandatory
(c)    Not allowed
(d)   None of the given
Q9
____________ interacts directly with the computer Hardware
(a)    Compiler
(b)   Operating system
(c)    Application software
(d)   Assembler
Q10
Which of the following is/are the parts of Operating system components?
(a)    GUI
(b)   Device Manager
(c)    Shell
(d)   All of these
Q11
Tag used for the highest level Heading is ________________
(a)    <h2></h2>
(b)   <h2></h2>
(c)    <h1></h1>
(d)   . None of these
Q12
The programming language specifically designed by the US Department of Defense for developing military applications was named ___________.
(a)    Smalltalk
(b)   C
(c)    C++
(d)   Ada
Q13
------------ is volatile memory
(a)   RAM
(b)   ROM
(c)    Hard Disk
(d)   Hard Disk
Q14
The key strengths of computers are
(a)    Speed
(b)   Storage
(c)    Do not get bored
(d)   All of the given choices




Q15
_____ is an application program that provides a way to look at and interact with all the information on the World Wide Web
(a)    URL
(b)   Browser
(c)    HTML
(d)   Website
Q16
______ is a client program that uses HTTP to make requests to Web servers throughout the internet on behalf of the user.
(a)    Web Application
(b)   Web Browser
(c)    Internet Application
(d)   HTML
Q17
___ contains the name of the protocol required to access the resource, a domain name that identifies a specific computer on the internet and a pathname on the computer
(a)    HTML
(b)   HTTP
(c)    URL
(d)   WWW
Q18
To start an ordered list from 20 instead of 1, we will write
(a)    <OL begin = “20">
(b)   <OL initiate = “20">
(c)    <OL start = “20">
(d)   <OL from = “20">
Q19
_________ is the interface in computer that supports transmission of multiple bits at the same time.
(a)    Serial Port
(b)   Parallel Port
(c)    Universal Serial Bus
(d)   None of the given choice
Q20.
Monitor is an example of:
(a)    Input Device
(b)   Processing Device
(c)    Output Device
(d)   Storage Device
Q21
Different parts or components of computer use ­­             as a communication path
(a)    RAM
(b)   Bus
(c)    ROM
(d)   Processor




Q22
There is a battery on the motherboard to:
(a)    Give power to the processor
(b)   Save information when computer is off
(c)    Save information when computer is on
(d)   Give power to the motherboard
Q23
In which case Cache Memory is used
(a)    To increase RAM speed
(b)   To overcome BUS speed
(c)    To overcome Speed rate between RAM and CPU
(d)   To overcome CPU speed
Q24
Using COLSPAN, number of rows of the current cell should extend itself
(a)    Upward
(b)   Downward
(c)    Both Upward and Downward
(d)   None of the given choices
Q25
Operating System talks to and manages devices through
(a)    Loader
(b)   File Manager
(c)    Memory Manager
(d)   Device Driver
Q26
Pseudo code is written in
(a)    Complex grammar
(b)   Plain English
(c)    JAVA
(d)   Pseudo language
Q27
What is Object in JavaScript ?
Solution:-
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,
Q28
Write one purpose of using spreadsheets?
Solution:-
Electronic replacement for ledgers, Used for automating engineering, scientific, but in majority of cases, business calculations, A spreadsheet - VisiCalc - was the first popular application on PC’s.  It helped in popularizing PC’s by making the task of financial-forecasting much simpler, allowing individuals to do forecasts which previously were performed by a whole team of financial wizard



Q29
Write one purpose of using spreadsheets?
Solution:-
Electronic replacement for ledgers, Used for automating engineering, scientific, but in majority of cases, business calculations, A spreadsheet - VisiCalc - was the first popular application on PC’s.  It helped in popularizing PC’s by making the task of financial-forecasting much simpler, allowing individuals to do forecasts which previously were performed by a whole team of financial wizard

Q30
How a designer makes Structured Design?
Solution:-
Also called top-down design, The designer starts by first conceiving a skeleton high-level design of the system, and then starts defining features of that over-all design in an ever-increasing detail Making small changes in the functionality of the systems sometimes leads to major redesign exercise. Structured design emphasizes separating a program's data from its functionality


Q31
What is the difference between High-level and Low-level programming languages?
Solution:-
High language can be easily understood by human beings. But low level language is machine langue, but we can understand it. Because low level language is machine langue
Q32
What are the main responsibilities that Kernel plays in Operating system?
Solution:-
Responsible for all the essential operations like basic house keeping, task scheduling, etc Also contains low-level HW interfaces Size important, as it is memory-resident