CS201 Solved MCQ’s


The statement cout yptr will show the __________the yptr points to.
Value
Memory Address
Variabvle
None of given
char **argv can be read as__________________.
Pointer to Pimter
Pointer to Char
Pointer to Pointer to Char
None of given
_______________are conventional names of the command line parameters of the ‘main()’ function.
‘argb’ and ‘argv’
‘argc’ and ‘argv’
‘argc’ and ‘argu’
None of Given
___________ Returns true if c is a digit and false otherwise.
int isalpha( int c )
int isalnum( int c )
int isxdigit( int c )
int isdigit( int c )
In the case of pointer to pointer or _______________, the first pointer contains the address of the second pointer, which contains the address of the variable, which contains the desired value.
double dereference
Single dereference
dereference
None of the given
_______________________ contains functions for manipulations of character data.
ctype.h
iostream.h
string.h
None of the given
dereferencing operator is represented by _______
*
+

None of the given
In_________, we try to have a precise problem statement
Analysis
Design
Coding
None of the given
Memory allocated from heap or free store _____________________.
can be returned back to the system automatically
can be allocated to classes only
cannot be returned back unless freed explicitly using malloc and realloc
cannot be returned back unless freed explicitly using free and delete operators
Once the _______________ are created, they exist for the life time of the program
local variables
non static variables
static variables
automatic variables
Once the static variables are created, they exist for the life of the program. They do not die. So returning their reference is all right.
The members of a class declared with the keyword struct are _____________by default.
static
private
protected
public.
The members of a class declared with the keyword struct are public by default. A structure is inherited publicly by default.
If the memory in the free store is not sufficient ____________________.
Select correct option:
malloc function returns 1
malloc function returns 0
malloc functions returns NULL pointer
malloc function returns free space
if the memory in the free store is not sufficient enough to fulfill the request. malloc() function returns NULL pointer if the memory is not enough. In C++, 0 is returned instead of NULL pointer.
This reference to a variable can be obtained by preceding the identifier of a variable with ________________.
dot operator
ampersand sign &
^ sign
operator
Once an object is declared as a friend, _________________________.
it has access to all non-public members as if they were public
it has access to public members only
it has no access to data members of the class
it has to protected data members only
Reference variables must _________________.
not be initialized after they are declared
be initialized after they are declared
contain integer value
contain zero value
If the request of new operator is not fulfilled due to insufficient memory in the heap____________________.
the new operator returns 2
the new operator returns 1
malloc functions returns NULL pointer
malloc function returns free space
Reference is not really an address it is ______________.
a synonym
an antonym
a value
a number
If the request of new operator is not fulfilled due to insufficient memory in the heap ____________________.
the new operator returns 2
the new operator returns 1
the operator returns 0
free operator returns nothing
Functions declared with the _______________ specifier in a class member list are called friend functions of that class.
protected
private
Public
friend
Functions declared with the friend specifier in a class member list are called friend functions of that class. Classes declared with the friend specifier in the member list of another class are called friend classes of that class.
public or private keywords can be ____________
written only for once in the class or structure declaration
written multiple times in the class or structure declaration
written only twice in the class declaration
written outside the class
good practice is to write public or private keywords only once in the class or structure declaration, though there is no syntactical or logical problem in writing them multiple times.
The friend keyword provides access _____________.
in one direction only
in two directions
to all classes
to the data members of the friend class only
The friend keyword provides access in one direction only. This means that while OtherClass is a friend of ClassOne, the reverse is not true.
References cannot be uninitialized. Because it is impossible to _______________
reinitialize a pointer
reinitialize a reference
initialize a NULL pointer
cast a pointer
new operator can be used for ______________.
Select correct option:
only integer data type
only char and integer data types
integer , float, char and double data types
dot operator
Similarly, new operator can be used for other data types like char, float and double etc.
The destructor is used to ______________.
allocate memory
deallocate memory
create objects
allocate static memory
If we want to allocate memory to an array of 5 integers dynamically, the syntax will be _____________.
int *iptr ; iptr = new int[5] ;
integer iptr** ; iptr= new int[5]
int iptr ; iptr= int [5]
iptr= new[5]
Memory allocated from heap or free store _____________________.
can be returned back to the system automatically
can be allocated to classes only
cannot be returned back unless freed explicitly using malloc and realloc
cannot be returned back unless freed explicitly using free and delete operators
The memory allocated from free store or heap is a system resource and is not returned back to the system unless explicitly freed using delete or freeoperators.
Operator overloading is to allow the same operator to be bound to more than one implementation, depending on the types of the _________.
Select correct option:
Compilers
Operands
Function names
Applications
Operator overloading is to allow the same operator to be bound to more than one
implementation, depending on the types of the operands.
The operator to free the allocated memory using new operator is________________.
Select correct option:
free
del
delete
remove
The operator to free the allocated memory using new operator is delete. So whenever,
we use new to allocate memory, it will be necessary to make use of ‘delete’ to deallocate
the allocated memory.
The concept of friend function negates the concept of _________________.
Select correct option:
inheritance
polymorphism
persistence
encapsulation
New operator is used to allocate memory from the free store during ______________
Compile Time
Run Time
Link Time
None of above
To get the memory address of a variable we use _____

&

&&
*
|

If we have a program that writes the output data (numbers) to the disc, and if we collect the output Data and write it on the disc in one write operation instead of writing the numbers one by one. In the above situation the area where we will gather the number is called
Buffer
Stream
Memory
None of these
What functionality the following program is performing?
#include <iostream.h>
int main()
{
const int SIZE = 80;
char buffer[SIZE];
cout <<” Enter a sentence : “;
cin.getline(buffer, SIZE);
cout<<buffer <<endl;
system(“pause”);

}
objects are used respectively to read a sentence from the key board and then print it on the screen.
Using getline function
using character arrays
Doing nothing
The get member function, when passed no arguments, inputs an entire stream and returns it as the value of the function call.
True
False
New operator allocates memory from free store and returns ___________
Void
NULL
Nothing return
None of above
The statement cin.get (); is used to,
Read a character from keyboard
Read a an entire string
Read integer values
Read float values
Suppose int i = 10; then what will be the value of i after being converted in to octal value
10
12
14
16
Which of the following is a destination of cout stream?
Monitor /screen
Keyboard
Memory
None of these
Which of the following is the correct definition of streams ?
streams are memory locations
sequence of bytes are called streams
sequence of variables are called streams
sequence does not have any definition
Stream operators are heavily overloaded means , they allow to handle int and character data type only.
true
false
What functionality the following program is performing?
int main()
{
const int SIZE = 80;
char buffer[SIZE];
cout <<” Enter a sentence : “;
cin.getline(buffer, SIZE);
cout<<buffer <<endl;
system(“pause”);

}
read and write member functions of cin and cout objects are used respectively to read a sentence from the key board and then print it on the screen.
read and put member functions of cin and cout objects are used respectively to read a sentence from the key board and then print it on the screen.
get and write member functions of cout and cin objects are used respectively to read a sentence from the key board and then print it on the screen.
get and write member functions of cout and cin objects are used respectively to read a sentence from the key board and then print it on the screen.
Which of the following is a source for cout stream?
monitor / screen
keyboard
proccessor
none of these
If we use cin stream to read some value and store it in some integer variable and press some alphabet key instead of numeric keys. then what will happen?
Its binary representation will be ignored and the character will be stored
Its binary representation will be ignored and the value will be stored
Its ASCII code will be stored inside the computer
Some error will occur and cin stream will detect this error.
The endl and flush are _____
Functions
Operators
Manipulators
Objects
What is the difference between cout and cerr ?
cout is unbuffered output and cerr is buffered output
cout is standard output and cerr is not a standard output
cout is not a standard output and cerr is standard output
cout is buffered output and cerr is unbuffered output
The operator function for << (stream insertion) >> and stream extraction must be
Member function of class
Non-member function of class
Both member and non-member function
None of the given options
The pointer returned by the new operator points to ————— of memory chunks allocated by the new operator
First memory address
Second memory address
Last memory address
None of the above
When we used eof (end of file) with the file reading than which of the following is a true statement?
This is way to check source of the stream
This is way to check destination of the stream
This is way to check state of the stream
This is way to check type of the stream
The stream insertion and extraction operators are not already overloaded for ____
Built-in data types
User-defined data types
Both built-in and user-defined types
None of the given options
When a variable is defined as static in a class then ___________
Separate copy of this variable is created for each object
Only one copy is created for all objects of this class
A copy of this variable is created for only static objects.
None of the given options
Static variable which is defined in a function is initialized ________.
Only once during its life time
Every time the function call
Compile time of the program
None of the above

CS504-Software Engineering-Finalterm-Solved-MCQs

Solved by VUstudyhelp

Question # 1

Str  = 0;// str is string Which rewritten from of above line of code is more in line with the self-documentation philosophy than the code above.
Str = false;
Str = NULL;
Str = ‘;
Str = 0.0;

Question # 2

Struct packed_struct  { unsigned int f1:1;} pack; Here in “packed_struct”:
Value of f1 =1
Size of f1 = 1 bit
Value of f1 should not exceede 1
None of given options

Question # 3

In the switch statement, cases should always end with a ——-statment.
Switch
Go
Break
Stop 

Question # 4

Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem.
Lack of Usability
Lack of Security
Lack of Performance
Lack of Portability 

Question # 5

If(!(block < activeBlock)) is equvivalent to.
If ((block < activeBlock))
If ((block == activeBlock))
If ((block >= activeBlock))
None of the given 

Question # 6

Bit fields allow the packing of data in a structure. Using Bit fields we can.
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors 

Question # 7

The order in which bytes of one word are stored is _________ dependent.
Hardware
Software
Language
Syntax 

Question # 8

In order to write a portable code which of the following guideline will be helpful:
Stick to the standards
Program in the mainstream
Size of data types
All of give options 

Question # 9

Complex expressions.
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandability 

Question # 10

x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.
x = false
x = NULL
x = 0.0;
x = ‘’

Question # 11

using proper paranthesis normally makes the code.
easy to read
easy to understand
less ambiguous
All of the given options 

Question # 12

The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure.
True
False 

Question # 13

Bit fields allow the packing of data in a structure. using Bit fields we can:
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors 

Question # 14

1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a – 1;
Statement (2) is more complex than (1)
Statement (2) is more complex than (1)
Both statements are very complex
None of the given option

Question # 15

80/20 rule states that:
you spend 80 percent of your time in 20 percent of the code
you spend 20 percent of your time in 80 percent of the code
We should try to optimized 80 percent or at least 20 percent of the code
None of the given options.

Question # 16

Be very careful when you use functions with side effects – functions that change the values of the ________.
Objects
Classes
Structures
Variables

Question # 17

Comma ( , ) is very dangerous because.
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options 
Question # 18
The C/C++ language has not specified whether ____ is arithmetic or logical.
Right shift >>
Right shift
&&
||
Question # 19
In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible.
STL
ANSI
ISO
CMMI
Question # 20

When a small set of functions (which use each other) is so overwhelmingly the bottleneck, there are two alternatives: 
use a better algorithm OR re-write the code
debug the code OR place assertions in code
remove the functions OR add more functions
changed programming language OR compiler at least
Question # 21
_______ cause major portability issues 
Loops (Not Sure)
Bugs in code
Sizes of data types
Conditional Structures

Question # 22

Some bit field members are stored: I) left to right II) right to left III) in circular array.
only (I) is true
Only (II) is true
Both (I) and (II) are true
All of the options (I, II and III) are true

Question # 23

Comma ( , ) is very dangerous because
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options

Question # 24

using proper paranthesis normally makes the code
easy to read
easy to understand
less ambiguous
All of the given options

Question # 25

A test case involves
Input/output specification plus a statement of the function under test
Steps to perform the function
Expected results that the software application produces
All of the given options

Question # 26
If an application fulfills its specifications but deviates from users expectations or their desired behavior. This means, software is verified but not ————
Validated
Corrected
Checked
Traced
Question # 27

The raising of the imaginary error flag is simply called raising or ________ an error.
Catching
Casting
Throwing 
None of given options
Question # 28
struct packed_struct { unsigned int f1:1; } pack; Here in “packed_struct”:
value of f1 = 1
size of f1 = 1 bit
value of f1 should not exceede 1
None of given options
Question # 29
The idea behind exception handling is to raise some error flag every time ________.
The code compiles
The code links
Memory is allocated
Something goes wrong
Question # 30
A __________ is a variance from a desired product attribute.
Exception
Error
Mistake
Defect 
Question # 31
The C/C++ language does not define the alignment of items within.
structures
classes
unions
All of the given options 
Question # 32
Consider the following statement: int a,b=10; Which of the following is correct:
variable “a” is initialized to 10
Variable “b” is initialized to 10 
Both variables “a” and “b” are initialized to 10
variables can not be initialized this way
Question # 33
Exception handling is a powerful technique that separates error-handling code from ______ code.
Normal
Faulty
Buggy
Complex
Question # 34
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem.
Lack of usability
Lack of security
Lack of performance
Lack of portability
Question # 35
The complexity of a program may ______ if there are exceptional paths in it
Decrease
Increase
Remain same
All of given options
Question # 36
When an error is thrown the overall system (on the lookout for this error flag) responds by ______ the error.
Ignoring
Casting
Catching
All of the given options

Question # 37

Comments are not syntax checked
TRUE
FALSE

Question # 38
Client Server model tries to data and processing
Distribute
Merge
Clone
Proceed

Question # 39

Anti- Patterns is another concept that corresponds to common in analysis and design.
Mistake
Issues
Problems
All of the given

Question # 40

 Three tier architecture contains layers

Presentation
Application
Database
All of the above

Question # 41

MVC stands for

Model View Controller
Modern View Center
Model View Center
Modern View Controller

Question # 42

Fat client model is one of the configurations of model

Data-Centered

Layered

Reference

Client Server

Question # 43

Description of communicating objects and classes that are customized to solved a general problem in a particular context is called

Design Pattern

System Patter

System Design

None of the Given

Question # 44

In the N-tire Architecture, the idea is to enhance scalability and by distributing both data and the application using multiple server machines.

Usability

Performance

Interpretability

None of the given

Question # 45

Dynamic process model shows the process ………….. of the system 

Components

Objects

Structure

Linkage

Question # 46

It ensures that a class only has one instance and provides a global point of access to it.

Singleton Pattern

Observer Pattern

Real Pattern

None of the given

Question # 47

STL Stnads for —————— 

Standard Template Library

Standard Type Link

Standard Tempo Line

None of the given

Question # 48

Three tier architecture contains ————- layers 

Select correct option:

Presentation

Application

Database

All of the above

Question # 49

Which of following is/are among ten things,which the basic template of GOF design pattern includes. 

Select correct option:

Problem

Context

Forces

 All of the given

Question # 50

Vertical partitioning is also known as….. 

Select correct option:

Balancing

Mutating

Parallelizing

 Factoring

Question # 51

Patterns are devices that allow programs to share knowledge about their ————-. 

Code

Design

Analysis

None of the given

Question # 52

N-tier architecture stems from the struggle to find a ———– between the fat-client architecture and the thin-client architecture. 

Concurrency

Distribution point

 Middle ground 

Similarity

Question # 53

Vertical partitioning divides the architecture application from a …… making perspective. 

Decision

Design

Conclusion

Move

Question # 54

Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture. :

Subtracting

 Partitioning

Cloning

Balancing

 Question # 55

The nominal case should be put in the if-part and the exception in the else-part of an if statement.

TURE

FALSE

Question # 56

Charles Simonyi first discussed Hungarian Notation. He was of —— .

Microsoft

IBM

Dell

Cisco

Question # 58

The terms get/set must be used where an attribute is accessed

Indirectly

Directly

Question # 59

A self documented program/code contains the following attribute:

Size of each function

Choice of variable

Choice of variable

All of the given choices

Question # 60

“is” prefix should be used for—— variables and methods.

General

Boolean

Constant

None of the given

Question # 62

The use of comments should be minimized by making the code self-documenting by appropriate name choices and an

explicit logical structure.

TRUE

FALSE

Question # 63

Variables should be initialized where they are ——and they should be declared in the ——scope possible.

defined and smallest

declared and medium

defined and medium

declared and smallest

Question # 64

Unrelated variables should be declared in the same statement.

True

False

Question # 65

which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2

(1) and (3) only

(2) and (3) only

(1) and (2) only

All procduce the same result

Question # 66

Goto statements violate the idea of

object oriented code

structured code

control structure

repetition structure

Question # 67

MVC pattern was based on the ————— pattern.

Observer

Structural

Behavioral

None of given

Question # 68

Which one is correct?

double total = 0.5;

double total = .5;

double total = .50;

all of the given

Question # 69

Code should not be:

commented

indented

cryptic

aligned

Question # 70

Global variables in C++ should always be referred to by using the

:: operator

: operator

Without an operator

None of the given

Question # 71

_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model

View Controller pattern

Smalltalk

PASCAL

JAVA

C++

Question # 72

using proper paranthesis normally makes the code

easy to read

easy to understand

less ambigous

All of the given options

Question # 73

Which of the following shows a commented statement in C++

# Ans = first + second

// Ans = first + second

\\ Ans = first + second

/# Ans = first + second

Question # 74

The form for (;;) should be used for

nested loop

empty loop

more than 1000 iterations

Question # 76

Identifier names also play a significant role in enhancing the ——– of a program.

Writ ability

Readability

Reliability

Question # 77

It ensures that a class only has one instance and provides a global point of access to it.

Singleton Pattern

Observer Pattern

Real Pattern

None of the given

Question # 78

Names representing methods and functions should be—-and written in mixed case starting

with —–case.

Noun—lower

Verb—-lower

Noun —upper

Noun—-upper

Question # 79

—–provides a unified interface to a set of interfaces in a sub-system.

Observer Pattern

Singleton Pattern

Façade Pattern

All of the above

Question # 80

MVC stands for —————

Model View Controller

Modern ViewCenter

Model ViewCenter

Modern View Controller

Question # 81

A self documenting code is a code that explains itself without the need of comments and

extraneous documentation, like _______

Flowcharts

UML diagrams

Process-flow state diagrams

All of the given choices

Question # 82

Complex expressions:

Make the code easy to modify

Make the code difficult to modify

Make the code easy to understand

Does not effect understandablity

Question # 83

Comments should NOT be indented relative to their position in the code

TRUE

FALSE

Question # 84

—-Provides a unified interface to a set of interfaces in a sub-system

Observer Pattern

Singleton Pattern

Façade Pattern

All of the above

Question # 85

Vertical Partitioning is also know as

Balancing

Mutatin

Parallizing

Factoring

Question # 86

Façade Pattern provides a unified interface to a set of interfaces ina sub-system.

True

False

Question # 87

Which of the is/are among ten things which the basis template of GOF design pattern includes.

Problem

Context

Forces

All of the above

Question # 88

Thin Client Model places a heavy processing load on……

Only Server

Only Network

Both Server and Network

Neither server nor network

Question # 89

Zero install architecture does not need any installation on ____________.

Server side

Client side

Client & Server Side

None of the above

Question # 90

Data-Centered Architectural Style is also called …. 

Repository model

Client Server model

Sub system model

Reference model

Pak301 Useful MCQ’s Virtual University Of Pakistan

Question No: 1  ( Marks: 1 )  – Please choose one

Afghanistan, Azerbaijan, Turkmenistan, Uzbekistan, Kyrgyzstan, Kazakhstan joined the ECO (renamed of RCD) later on. Which one of the following joined it first?

Pakistan, Iran, Turkey

Pakistan, Egypt, Iran

Turkey, Egypt, Pakistan

Iran, Turkey, Egypt

Question No: 2  ( Marks: 1 )  – Please choose one

In which city the Second OIC conference 1974 was held?

Cairo

Makah

Rabat

Lahore

Question No: 3  ( Marks: 1 )  – Please choose one

Who did initiate the notion of Two Nation Theory?

Quaid-e-Azam

Sir Syed Ahmed Khan

Allama Iqbal

Maulana Abdul Kalam Azad

Question No: 4  ( Marks: 1 )  – Please choose one

In which document Muslims’ demand of Separate Electorate was accepted?

Rowlett Act

Lucknow Pact

Nehru Report

Fourteen Points 

Question No: 5  ( Marks: 1 )  – Please choose one

Who did lead The Simla Delegation?

Sir Syed Ahmed Khan

Nawab Mohsin-ul-Mulk

Sir Agha Khan

Wiqar-ul-Mulk

Question No: 6  ( Marks: 1 )  – Please choose one

How many seats, in the provincial assembly elections 1946, Muslim League won in Bengal Province?

79 out of 86 seats

113 out of 119 seats pg 28

28 out of 35 seats

17 out of 38 seats

Question No: 7  ( Marks: 1 )  – Please choose one

Who did move the resolution in Delhi Convention for a separate state?

Hussain Shaheed Suharwardy

Maulana Abdul Kalam Azad

Quaid-e-Azam M. A. Jinnah

Sardar Abdurrab Nishtar

Question No: 8  ( Marks: 1 )  – Please choose one

When did the govt conduct last census in Pakistan?

In 1991

In 2001

In 1998

In 2004

Question No: 9  ( Marks: 1 )  – Please choose one

Which element is used for atomic power generation?

Platinum

Uranium pg 60

Lithium

Potassium

Question No: 10  ( Marks: 1 )  – Please choose one

When did the rule of East India Company come into end in the British India?

In 1857

In 1858

In 1947

In 1948

Question No: 11  ( Marks: 1 )  – Please choose one

Why was the Mission send in 1945 called as Cabinet Mission Plane

It was recommended by the British Cabinet

It consisted of three British Cabinet’s members

It consisted of the members of Indian Cabinet

It was recommended by British Indian Cabinet

Question No: 12 ( Marks: 1 )  – Please choose one

which year the province of Sind was created?

In 1901

In 1935

In 1970

In1954

Question No: 13  ( Marks: 1 )  – Please choose one

What was the population of Pakistan according to the first census in 1951?

36.2 Million (34 million)

46.2 Million

65.3 Million

84.3 Million

Question No: 14  ( Marks: 1 )  – Please choose one

Which country accepted Pakistan’s existence as an independent and sovereign state first?

Iran

Syria

Turkey

Labia

Question No: 15  ( Marks: 1 )  – Please choose one

Who gave the Philosphical explanasion to ideology of pakistan?

Sir Syyad

Sir aaga Khan

Allama Iqbal

Quaid-e Azam

Question No: 16  ( Marks: 1 )  – Please choose one

Who was the 1st president of Muslim League?

Sir Aga Khan

Nawab smiullah

Waqar-ul malik

Sir Aga khan

Question No: 17  ( Marks: 1 )  – Please choose one

When did CH Rehmat Ali establish Pakistan National Movement?

In, 1933

In, 1948

In, 1040

In, 1951

Question No: 17  ( Marks: 1 )  – Please choose one

When did CH Rehmat Ali wrote his Novel “Now or Never”?

In, 1930

In, 1931

Question No: 18  ( Marks: 1 )  – Please choose one

Why poona pact was concluded in september 1932?

It was an agreement between congress and British

It was an agreement between congress and Muslim League

It was an agreement between congress and Lower Cast of India

It was an agreement between Muslim league and the british

Question No: 19  ( Marks: 1 )  – Please choose one

In 1933 NOW OR NEVER was written by?

Quaid-e Azam

CH rahmet Ali

Allama Iqbal

Hafiz jalandhri

Question No: 20  ( Marks: 1 )  – Please choose one

Which Act is called as Minto-Morley Reforms also?

Government of India Act, 1919

Government of India Act, 1909

Government of India Act, 1935

Indian Council Act of 1892

Question No: 21  ( Marks: 1 )  – Please choose one

For what purpose Sir Syed Ahmed Khan visited England in 1869?

To understand their political system

To understand their educational system

To settle there with his son

To pursue his higher education there

Question No: 22  ( Marks: 1 )  – Please choose one

When did Quaid-e-Azam join All India Muslim League?

In, 1906

In, 1920

In, 1909

In, 1913

Question No: 23  ( Marks: 1 )  – Please choose one

Who created the NWFP and when?

Congress, 1905

Muslim League, 1922

Lard Mountbatten, 1945

Lord Cuezon, 1900

Question No: 24  ( Marks: 1 )  – Please choose one

Iran and Turkey signed Regional Cooperation for Development (RCD) in

July, 1964

June, 1947

August, 1964

March, 1948

Question No: 25  ( Marks: 1 )  – Please choose one

Why did Sir Syed Ahmad Khan started Aligarh Movement?

To create brotherhood among the Muslim

For battle with India

For British Education challenges

to create awareness among the Muslims about their separate identity

Question No: 26  ( Marks: 1 )  – Please choose one

Who Form the Home Rule League in Bombay? And when?

On April 23, 1916 Bal Gangadhar Tilak formed The Home Rule League in Bombay.

On August 31, 1922 Allama Iqbal formed The Home Rule League in Bombay.

On Feb 30, 1933 CH Rehmat Ali formed The Home Rule League in Bombay.

On April 1, 1901 Lord Minto formed The Home Rule League in Bombay.

Question No: 27  ( Marks: 1 )  – Please choose one

Who was the president of Indian Home Rule League’?

Bal Gangadhar Tilak

Joseph Baptista

N.C. Kelkar

Annie Besant

Question No: 28  ( Marks: 1 )  – Please choose one

Who was the secretary of ‘Indian Home Rule League’?

Bal Gangadhar Tilak

Joseph Baptista

N.C. Kelkar

Annie Besant

 

 

 

CS101 and Computer 100 Solved Quiz

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
Cray-1 was first commercial _________ computer
►Super
►Mini
►Micro
►Personal
Question No: 3 ( Marks: 1 ) – Please choose one
URL is a/an ________
►Device
►Component
►Address
►Tool
Question No: 4 ( Marks: 1 ) – Please choose one
Mainframe Computers are also called _____
►Enterprise Servers
►Personal Servers
►Enterprise Managers
►Window Servers
Question No: 5 ( Marks: 1 ) – Please choose one
Which of the following is NOT a category of Mobile Computers?
►Laptop
►Palmtop
►Desktop
►Wearable
Question No: 6 ( Marks: 1 ) – Please choose one
Preliminary exploration of possible solutions, technologies, suppliers is called
►Viability
►Feasibility
►Specification
►Integration
Question No: 7 ( Marks: 1 ) – Please choose one
__________ give us the ability to manipulate data through reference instead of actual value.
►Constants
►Variables
►Data Types
►Operators
Question No: 8 ( Marks: 1 ) – Please choose one
Consider the following statement written in JavaScript:
str = ”Hello” + ” World”
What will be the value of str ?
►HelloWorld
►Hello World
►Hello + World
►It will result in error
Question No: 9 ( Marks: 1 ) – Please choose one
A tool that helps you to find the synonyms is called ______________.
► Language
► Paragraph
► Thesaurus
► Symbol
Question No: 10 ( Marks: 1 ) – Please choose one
Communication protocol is a __________that governs the flow of information over a network
► Set of protocols
► Set of rules
► Device
► Set of methods
Question No: 11 ( Marks: 1 ) – Please choose one
If a computer could pass the Turing test then it would be able to:
► think like human beings
► do the things faster
► win a million dollar prize
► store more information
Question No: 12 ( Marks: 1 ) – Please choose one
The first Web browser with a GUI was generally available in:
► 1992
► 1993
► 1994
► 1995
Question No: 13 ( Marks: 1 ) – Please choose one
Web is a unique invention by humans in terms that it is:
► accessible to only the owners who control it
► accessible from particular locations only
► accessible to all humans
► accessible to only the educational institutes
Question No: 14 ( Marks: 1 ) – Please choose one
In this URL http://www.msn.com , _____identifies the domain name
► http
► www
► msn
► com
Question No: 15 ( Marks: 1 ) – Please choose one
______ is simply a fast port that lets you connect computer peripherals and consumer electronics to your computer without restart.
► Freeware
► Shareware
► Firewire
► Firmware
Question No: 16 ( Marks: 1 ) – Please choose one
Which of the following is NOT supported by PC’s power supply.
► -12 and +12 V DC
► -10 and +10 V DC
► -5 and + 5 V DC
► All are supported
Question No: 17 ( Marks: 1 ) – Please choose one
In which case Cache Memory is used
► To increase RAM speed
► To overcome BUS speed
► To overcome Speed rate between RAM and CPU
► To overcome CPU speed
Question No: 18 ( Marks: 1 ) – Please choose one
To display a single line text area on the web page, we use ___ tag
► TEXT
► TEXTBOX
► INPUT
► INPUTBOX
Question No: 19 ( Marks: 1 ) – Please choose one
If an algorithm is syntactically correct, but semantically incorrect then this situation is
► Very good situation
► Very dangerous situation
► Not very bad
► Neutral situation
Question No: 20 ( Marks: 1 ) – Please choose one
Users communicate with the computer using a consistent user interface provided by the OS.
► True
► False
Question No: 21 ( Marks: 1 ) – Please choose one
Application developers do not need to know much about the HW, especially the microProcessor, while they are developing their application.
► True
► False
Question No: 22 ( Marks: 1 ) – Please choose one
The first spread sheet program was invented by
► Charles Babbage
► Dan Bricklin
► Paul Graham
► John von Neumann
Question No: 23 ( Marks: 1 ) – Please choose one
Which representation technique of algorithm is more suitable for developer to make actual code___________.
► pseudo code
► flow chart
► both pseudo code and flow chart
► Heuristics
Question No: 24 ( Marks: 1 ) – Please choose one
_____________ is used to terminate all JavaScript statements.
► Colon
► Semicolon
► Underscore
► Apostrophe
Question No: 25 ( Marks: 1 ) – Please choose one
In java script cookies can be created for future use_____.
► Easily
► No facility at all
► This is not possible without Java language.
► Cookies are files so java script can not handle it.
Question No: 26 ( Marks: 1 ) – Please choose one
When the microprocessor desires to look at a piece of data, it checks in the __________ first.
► RAM
► ROM
► hard disk
► cache
Question No: 27 (Marks: 1) – Please choose one
It represents the _____________ flow chart element.
► Flow Line
► Connector
► Off-page connector
► Start or Stop
Question No: 28 (Marks: 1) – Please choose one
What is NOT a key factor while designing a website?
► Usability
► User-friendly
► Consistency
► Complexity
Question No: 29 (Marks: 1) – Please choose one
__________% of the users have left websites in frustration due to poor navigation.
► 40
► 62
► 83
► 91
Question No: 30 (Marks: 1) – Please choose one
In JavaScript, a variable declaration is
► Optional
► Mandatory
► Not allowed
► None of the given
Question No: 31 (Marks: 1) – Please choose one
A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP
Question No: 32 (Marks: 1) – Please choose one
Which is correct?
► OnUnload
► onUnLoad
► onUNLOAD
► All of the above
Question No: 33 (Marks: 1) – Please choose one
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: 34 (Marks: 1) – Please choose one
Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference
► Length
► Name
Question No: 35 (Marks: 1) – Please choose one
Fuzzy logic is based on ____________.
► Ground facts
► Experience
► Practice
► Approximation
Question No: 36 (Marks: 1) – Please choose one
Word Processor is a _________________
► System Software
► Application Software
► Device
► Utility
Question No: 37 (Marks: 1) – Please choose one
In the old days, databases did NOT support ____________.
► Number
► Boolean
► Video
► Text
Question No: 38 (Marks: 1) – Please choose one
In tabular storage, fields placed in a particular row are strongly ___________.
► Independent
► Dependent
► Interrelated
► Inconsistent
Question No: 40 (Marks: 1) – Please choose one
Due to working at home, lack of interaction may result in ___________ professional growth.
► Slower
► Faster
► Higher
► Improved
Question No: 41 (Marks: 1) – Please choose one
Distance learning has got a boost due to the ___________.
► Easy communication
► Online interactive contents
► Flexibility
► All of the given options
Question No: 42 (Marks: 1) – Please choose one
_____________ technique can be used to create smooth animations or to display one of several images based on the requirement.
► Image downloading
► Image preloading
► Image uploading
► Image postloading
Question No: 43 (Marks: 1) – Please choose one
The ____________ is becoming the preferred organizational structure for more and more organizations with the passage of time.
► Tree structured organizational model
► Network paradigm
► Hierarchical structure
► None of the given options
Question No: 44 (Marks: 1) – Please choose one
The group of technologies concerned with the capturing, processing and transmission of information in the digital electronic form is called _____________.
► Telecom Engineering
► Computer Engineering
► Computer Science
► Information Technology
Question No: 45 (Marks: 1) – Please choose one
A large number of networks interconnected physically are called ______
► LAN
► MAN
► Internet
► Network collection
Question No: 46 (Marks: 1) – Please choose one
TCP stands for ________.
► Transfer Center protocol
► Transmission Control Protocol
► Transmission Center Protocol
► Telephone Center Protocol
Question No: 47 (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: 48 (Marks: 1) – Please choose one
_____is simply a fast port that lets you connect computer peripherals and consumer electronics to your computer without restart.
► Freeware
► Shareware
► Firewire
► Firmware
Question No: 49 (Marks: 1) – Please choose one
Structures, in which another list starts before the first list is finished, are called:
► Multiple Lists
► Nested Lists
► Ordered Lists
► Un-ordered Lists
Question No: 50 (Marks: 1) – Please choose one
The key property of the ‘Array’ object in JavaScript is
► Value
► Length
► Name
► All of the given choices
Question No: 51 (Marks: 1) – Please choose one
Which one is the example of spreadsheet software?
► MS Word
► MS PowerPoint
► MS Excel
► MS Acces
Question No: 52 (Marks: 1) – Please choose one
The Encryption of data is related to
► Data updates
► Data security
► Data integrity
► Data accessibility
Question No: 53 (Marks: 1) – Please choose one
_____ is the process of analyzing large databases to identify patterns.
► Data normalization
► Data management
► Data Mining
► None of the given options
Question No: 54 (Marks: 1) – Please choose one
Which is the user-friendly way of presenting data?
► Query
► Form
► Report
► All of the given options
Question No: 55 (Marks: 1) – Please choose one
JavaScript function fixed () has equivalent HTML tag-set ____
► <.FIX>……………</FIX>
► <F>………………..</F>
<PRE>…………. </PRE>
► <H>………………..</H>
Question No: 56 (Marks: 1) – Please choose one
<Form> Tags always placed between the <BODY> and </BODY> tags of a Web page
► True
► False
Question No: 57 (Marks: 1) – Please choose one
Java script has —————– ability to create and draw graphics.
► Limited
► Versatile
► Medium
► Not at all
Question No: 58 ( Marks: 1 ) – Please choose one
Cray-1 was first commercial _________ computer
► Super
► Mini
► Micro
► Personal
Question No: 59 ( Marks: 1 ) – Please choose one
Browser is a __________________ used for browsing.
► Tool
► Component
► Device
► None of the given choices
Question No: 60 ( Marks: 1 ) – Please choose one
It represents the _____________ flow chart element.
► Flow Line
► Connector
► Off-page connector
► Start or Stop
Question No: 61 ( Marks: 1 ) – Please choose one
JavaScript is an example of _____________ language.
► Object-based
► Object-oriented
► Machine
► Assembly
Question No: 62 ( Marks: 1 ) – Please choose one
The set of rules and guidelines a team of developers follow to construct reasonably complex SW systems is called
► Object Oriented Design
► Object Oriented Software
► Design Methodology
► Programming language
Question No: 63 ( Marks: 1 ) – Please choose one
Waterfall is a _________ life-cycle model.
► Spiral
► Sequential
► Circular
► Spherical
Question No: 64 ( Marks: 1 ) – Please choose one
What happens if I start a new list without closing the original one?
► An error will be generated
► A nested list will be created
► Previous list will end and a new will start.
► Nothing will happen
Question No: 65 ( Marks: 1 ) – Please choose one
In Spreadsheets, you can create a relationship between two cells by using _____.
► Numbers
► Text
► Formulas
► None of the given choices
Question No: 66 ( Marks: 1 ) – Please choose one
VisiCalc was the first popular _______application on PC’s.
► Spreadsheet
► Word processor
► Presentation
► Database
Question No: 67 ( Marks: 1 ) – Please choose one
Fins are used to ————–
► Communicate with microprocessor
► Increase surface area of Fan
► Decrease surface area of Fan
► Speed up the Fan.
Question No: 68 ( Marks: 1 ) – Please choose one
Using only HTML we can create
► Dynamic web pages
► Static web pages
► Both Static and Dynamic pages
► None of these
Question No: 69 ( Marks: 1 ) – Please choose one
Everything that JavaScript manipulates is treated as:
► Object
► Window
► Text
► Script
Question No: 70 ( Marks: 1 ) – Please choose one
The ______ is connected to all other modules of the microprocessor.
► Control unit
► Memory unit
► Floating Point unit
► Arithmetic and Logic unit
Question No: 71 ( Marks: 1 ) – Please choose one
Communication protocol is a __________that governs the flow of information over a network
► Set of protocols
► Set of rules
► Device
► Set of methods
Question No: 72 ( Marks: 1 ) – Please choose one
_________ is the interface in computer that supports transmission of multiple bits at the same time.
► Serial Port
► Parallel Port
► Universal Serial Bus
► None of the given choices
Question No: 73 ( Marks: 1 ) – Please choose one
_____ was designed as a replacement for typewriter
► Spreadsheet Software
► Word Processor Software
► Presentation Software
► Database Software
Question No: 74 ( Marks: 1 ) – Please choose one
Which one of these translates the program once at a time ?
► Interpreter
► Compiler
► Operating system
► Translator
Question No: 75 ( Marks: 1 ) – Please choose one
Randomized algorithms are often ________ than deterministic algorithms for the same problem.
► Simpler and more slow
► Simpler and more efficient
► Complex and more efficient
► Complex and more slow
Question No: 76 ( Marks: 1 ) – Please choose one
Ada written a computer programme for ?
► Analytical Engine
► Difference Engine
► Harvard Mark 1
► Mechanical engine
Question No: 77 ( Marks: 1 ) – Please choose one
A test proposed to determine if a computer has the ability to think. It is called?
► Turing test
► Turning test
► Intelligence test
► None
Question No: 78 ( Marks: 1 ) – Please choose one
The most used form tag is the <input> tag.
► True
► False
Question No: 79 ( Marks: 1 ) – Please choose one
When the user clicks on the “Submit” button, the content of the form is sent to the server.
► True
► False
Question No: 80 ( Marks: 1 ) – Please choose one
Extension for saving web page is / are;
► *.html
► *.htm
► *.html and *.htm both are in use
► None of These
Question No: 81 ( Marks: 1 ) – Please choose one
In spread sheet a cell may contain
► Numbers
► Text
► Formulas
► All of the given
Question No: 82 ( Marks: 1 ) – Please choose one
Programs where no user interaction found during program execution are called __________.
► Batch programs
► Event-driven programs
► Graphics based programs
► None of the give
Question No: 83 ( Marks: 1 ) – Please choose one
OO software is all about _____________.
► Behaviors
► Methods
► Properties
► Objects
Question No: 84 ( Marks: 1 ) – Please choose one
A procedure that usually, but not always, works or that gives nearly the right answer is called
► Algorithm
► Logarithm
► Heuristic
► Methodology
Question No: 85 ( Marks: 1 ) – Please choose one
Which of the following is NOT an Application Software.
► Word Processor
► Web Browser
► Windows XP
► MS Excel
Question No: 86 ( Marks: 1 ) – Please choose one
Operating System talks to and manages devices through
► Loader
► File Manager
► Memory Manager
► Device Driver
Question No: 87 ( Marks: 1 ) – Please choose one
You can ________ from/to a website containing interactive forms.
► Only read
► Only write
► Read and write
► Not read and write
Question No: 88 ( Marks: 1 ) – Please choose one
When the user needs something to be done by the computer, he/she gives instructions in the form of _____ to computer ____
► Software, Hardware
► Hardware, Software
► System Software, Application Software
► Graph, Monitor
Question No: 89 ( Marks: 1 ) – Please choose one
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: 90 ( Marks: 1 ) – Please choose one
______ is simply a fast port that lets you connect computer peripherals and consumer electronics to your computer without restart.
► Freeware
► Shareware
► Firewire
► Firmware
Question No: 91 ( Marks: 1 ) – Please choose one
Which one is correct?
► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>
Question No: 92 ( Marks: 1 ) – Please choose one
The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage
Question No: 93 ( Marks: 1 ) – Please choose one
The key strengths of computers are
► Speed
► Storage
► Do not get bored
► All of the given choices
Question No: 94 ( Marks: 1 ) – Please choose one
Which one is correct?
► <HEAD> </HEAD>
► <HEAD> <END>
► <HEAD> </END>
► <HEAD> <\HEAD>
Question No: 95 ( Marks: 1 ) – Please choose one
Everything that JavaScript manipulates is treated as:
► Object
► Window
► Text
► Script
Question No: 96 ( Marks: 1 ) – Please choose one
A process in which user’s browser check the form’s data is called
► Server-Side Scripting
► Client-Side Scripting
► Bowser Scripting
► Form Scripting
Question No: 97 ( Marks: 1 ) – Please choose one
———— is volatile memory
► RAM
► ROM
► Hard Disk
► CD ROM
Question No: 98 ( Marks: 1 ) – Please choose one
What is/are the use/uses of Word processor?
► To write a letter
► To write Research paper or report
► To create address labels
► All of the given
Question No: 99 ( Marks: 1 ) – Please choose one
__________ is the example of Shrink-wrapped software
► PIA information system
► WinZip trial pack
► Linux
► MS Word
Question No: 100 ( Marks: 1 ) – Please choose one
____________ interacts directly with the computer Hardware
► Compiler
► Operating system
► Application software
► Assembler