Tuesday, July 28, 2009

GK 36-40

GENERAL KNOWLEDGE


Previous Next


36. Who among the following has taken charge as Chairperson of the National Commission for Minorities (NCM) recently?
a) Mohammad Hamid Ansari
b) Lama Chasphel zopta
c) Mohammad Shafi Qureshi
d) Ranjit Issar.


37. Who among the following political personalities is appointed as the Head of the panel Committee for OBC Reservation at Central Educational institutions?
a) Ramadoss
b) Veerappa Moili
c) V.P. Singh
d) Ram Vilas Paswan.


38. When the speed of a body is doubled, its kinetic energy becomes
a) doubled
b) half
c) quadruple
d) one-fourth


39. When a body moves with uniform velocity its acceleration is
a) doubled
b) tripled
c) zero
d) Maximum



40. The principle of Dynamo was discovered by
a) Sir Humphry Davy
b) Michael Farady
c) Albert einstein
d) Max Planck.

GK 31-35

GENERAL KNOWLEDGE



Previous Next


31. Which one of the following represents the family planning surgery?
a) Vasectomy
b) Ovariectomy
c) Testisectomy
d) Hysterectomy


32. The population of a city is 1,76,400. If it increases at the rate of 5% per annum then the population after 2 years is
a) 1,94,481
b) 1,94,000
c) 2,00,000
d) 1,92,481


33. The election commission of India completed fifty years of its existence on
a) Jan. 17, 2001
b) Feb. 20, 2002
c) Jan. 15, 2000
d) none of these


34. The Rao-Manmohan model of Economic development was initiated in the year
a) 1982
b) 1985
c) 1991
d) 1995


35. Earthquake in Gurajar occurred on
a) Jan. 25, 2001
b) Feb. 25, 2001
c) Mar. 15, 2000
d) Apr. 15, 2000

GK 26-30

GENERAL KNOWLEDGE



Previous Next


26. The devastating cyclone struck the coast of Orissa in India on
a) October 29, 1999
b) December 26, 2004
c) August 17 and 18, 1998
d) December 2, 1984


27. Earthquakes under the sea can cause long, giant, destructive waves called
a) Cyclones
b) Tides
c) Tsunami
d) Tornadoes


28. Which one is the fast growing tree?
a) Banyan
b) Teak
c) coconut
d) Eucalyptus


29. The kudankulam Nuclear Power Stateion is set up in Tamil Nadu in Collaboration with
a) France
b) Germany
c) Russia
d) Italy


30. Coal mine is situated in Tamil Nadu at
a) Ciuddalore
b) Neyveli
c) Mettur
d) Kalpakkam.

Previous Next

GK 21-25

GENERAL KNOWLEDGE



Previous Next



21. Bokaro Steel Plant is located in the state of
a) West Bengal
b) Orissa
c) Jharkhand
d) Karnataka.

22. The Nilgiris are part of the
a) Eastern Ghats
b) Western Ghats
c) Vindhya-Satpura range
d) Himalayan range.


23. The famous textile market of Tamil Nadu is
a) Coimbatore
b) Tirunelveli
c) Salem
d) Erode

24. Manimutharu Dam is located in the district of
a) Triuneleli
b) Coimbatore
c) Cuddalore
d) Thanjavur

25. All water lying south of latitude 55 Degree in the southern hemisphere, is called
a) South Pacific
b) South Atlantic
c) Southern Ocean
d) Indian Ocean.

Previous Next

GK 16-20


GENERAL KNOWLEDGE




Previous Next



16. The Preamble of the India Constitution was prepared by
a) Jawaharlal Nehru
b) sardar Patel
c) Mahatma Gandhi
d) Subhash Chandra Bose.

17. Representatives of Union Territories in Lok Sabha re chosen by
a) directo election
b) indirect election
c) nomination
d) all of these

18. who called the Fundamental Rights as the 'Conscience of the Consitiution'?
a) Gandhiji
b) Nehru
c) Indira Gandhi
d) Rajiv Gandhi

19. The idea of Directive Principles of State Policy was taken from
a) the USA
b) Japan
c) Britain
d) Ireland.

20. The President's Parliamentary address is prepared by
a) the president's office
b) the speaker of the Lok Sabha
c) the Minister for Parliamentary Affairs
d) the Prime Minister and approved by the cabinet.

Previous Next

GK 11-15

GENERAL KNOWLEDGE



Previous Next



11. Meikirti is
a) a title of the king
b) a historical introduction to an inscription
c) a name of the king
d) a name of a book.

12. The term Socilogy is derived from
a) latin and Greek words
b) Greek and French words
c) English and Latin words
d) French and Greek words.


13. The term "Sociology" was coined by
a) Spencer
b) Aristotle
c) comte
d) Ginsberg


14. During whose rule Sati was not parctised?
a) Chera
b) Pandiya
c) Pallava
d) Chola.

15. Aryans not only came into India but also infused their culture with Tamil culture through
a) music and dance
b) agriculture
c) family system
d) sculpture

Previous Next

GK 5-10


GENERAL KNOWLEDGE

Previous Next


6. In the history of the Freedom Movement of India, the year 1930 is associated with
a) Non-co-operation movement
b) Civil disobedience movement
c) Quit India movement
d) Swadeshi movement.

7. Tamil novel "Ponnyin Selvan" was written by
a) Akilan
b) Kalki
c) Chandilyan
d) Parthasarathi

8. Sarkaria Commission was appointed
a) to find a solution to the Punjab crisis
b) to examine Centre-State relations
c) to resolve Kaveri water dispute
d) to examine the nexus between politicians and criminals.


9. Salt Satyagraha movement in Tamil Nadu was led by
a) Kamaraj
b) Sathyamoorthy
c) C. Rajagopalachari
d) Prakasam.

10. Birth palce of Tamil Poet Subramania Bharathi is
a) Madurai
b) Sivagangai
c) Tirunelveli
d) Ettayapuram.

Previous Next

GK 1-5

GENERAL KNOWLEDGE


Previous Next

1. Who invented Double Entry system of Book-keeping?
a) Luca Pacciola
b) Keynes
c) Hawtrey
d) Gunnar Myrdall.

2. Which system of banking is followed in India?
a) Unit banking
b) Branch banking
c) Merchant banking
d) Mixed banking.

3. The income Tax exemption limit for the Financial year 2008-2009 is
a) Rs. 1,40,000
b) Rs. 1,50,000
c) Rs.1,60,000
d) Rs. 80,000

4. What do you mean by 'Entrepot' trade?
a) Export trade
b) Import trade
c) Import of goods for re-export
d) none of these

5. Second World Tamil Conference was held in
a) 1950
b) 1960
c) 1969
d) 1980

Previous Next

Friday, July 24, 2009

JavaScript Question

JavaScript Objective Type Questions
Previous Next

11. How many different kind of loops are there in JavaScript?
a) Two. The "for" loop and the "while" loop
b) Four. The "for" loop, the "while" loop, the "do...while" loop, and the "loop...until" loop
c) One. The "for" loop

12. How does a "for" loop start?
a) for (i = 0; i <= 5) b) for i = 1 to 5 c) for (i = 0; i <= 5; d) for (i <= 5; i++) 13. How can you add a comment in a JavaScript? a) //This is a comment b)
c) 'This is a comment

14. What is the correct JavaScript syntax to insert a comment that has more than one line?
a) //This comment has more than one line//
b) /*This comment has more than one line*/
c)

15. What is the correct way to write a JavaScript array?
a) var txt = new Array("tim","kim","jim")
b) var txt = new Array="tim","kim","jim"
c) var txt = new Array:1=("tim")2=("kim")3=("jim")
d) var txt = new Array(1:"tim",2:"kim",3:"jim")

16. How do you round the number 7.25, to the nearest whole number?
a) Math.round(7.25)
b) round(7.25)
c) rnd(7.25)
d) Math.rnd(7.25)

17. How do you find the largest number of 2 and 4?
a) Math.max(2,4)
b) ceil(2,4)
c) top(2,4)
d) Math.ceil(2,4)

18. What is the correct JavaScript syntax for opening a new window called "window2" ?

a) new("http://xplorenotes.blogspot.com")
b) new.window("http://xplorenotes.blogspot.com")
c) window.open("http://xplorenotes.blogspot.com")
d) open.new("http://xplorenotes.blogspot.com")


19. How do you put a message in the browser's status bar?
a) window.status("put your message here")
b) window.status = "put your message here"
c) status("put your message here")
d) statusbar = "put your message here"

20. How do you find the client's browser name?
a) client.navName
b) browser.name
c) navigator.appName


Previous Next

C++ Objective Type

Previous Next

Indicate which data type is not part of standard C++.
a) bool
b) int
c) real
d) double
Ans : C


Which one of the choices would produce the following output ?
a) cout << "Hello" << "World"; b) cout << "Hello \n World"; c) cout << "Hello World\n"; d) cin >> "Hello World";
Ans : D


What is the output of the following code?
for (int i=0; i<10;>


What is the output of the following code? for (int a = 1; a <= 1; a++) cout <<>


For which values of the integer _value will the following code become an infinite loop?

int number=1;

while (true)

{

cout <<>

if (number == 3) break;number += _value;

}
a) only 0
b) only 1
c) only 2
d) only 1 or 2
Ans : B

Previous Next

C++ Objective Type

Previous Next

When you are creating a structure, you need to use the following keyworda) structure
b) struct
c) object
d) record
Ans : B

Select the correct function definition (NOT prototype) from the list below.
a) void intro();
b) double sin(double rad);
c) int foo(int bar; double baz)
d) double pow(double num, int pow);
Ans : D

Cout can print multiple values or variables in a single command using the following syntax:
a) cout << "Hi" + bob + "\n"; b) cout << "Hi" << c =" 0;" c =" 0;" c =" 0;" c =" 0;" align="right">Previous Next

C++ Objective type

Previous Next

What function initializes variables in a class:
a) Constructor
b) Destructor
c) String
d) A and B are correct
Ans : A

To include code from the library in the program, such as iostream, a directive would be called up using this command.
a) #include <>; with iostream.h inside the brackets
b) include (iostreamh)
c) #include <> with iostream.h inside the brackets
d) include #iostream,h;
Ans : C

Single line comments explaining code would be preceded like in the following example
a) /**
b) //
c) *//
d) /*
Ans : B

Which line has all reserved words ?
a) char, int, float, doubled, short, long, unsigned, signed
b) sizeof, const, typedef, static, voided, enum, struct, union
c) if, else, for, while do, switch, continue, break
d) defaulted, goto, return, extern, private, public, protected
Ans : C

What punctuation must each command line have at the end of the line ?
a) :
b) ,
c) !
d) ;
Ans : D

The C++ language isa) case-sensitive.
b) Not case-sensitive.
c) It depends
d) None of these
Ans : A

The number 4.8471e15 must be stored in a(n):
a) int
b) long
c) double
d) float
Ans : C

Select the correct definition for a string variable.
a) string mystr;
b) string mystr[20];
c) string[20] mystr;
d) char mystr[20];
Ans : D

The sentence "Hello world!" uses _____ elements in a character array.
a) 9
b) 11
c) 13
d) 14
Ans : C


C Objective type

Previous Next

A function prototypes are useful

a) Because they tell the compiler that a function is declared later.

b) Because they make the program more readable..

c) Because they allow the programmer to see a quick list of functions in the program along with the arguments for each function.

d) All of the above.

Answer is :D


Because of variable scope

a) Variables created in a function cannot be used another function.

b) Variables created in a function can be used in another function.

c) Variables created in a function can only be used in the main function

d) None of the above.

Answer is :A


Which symbol is used to declare a pointer ?

a) &

b) @

c)

*d) $

Answer is :C


Which symbol is used to reference a pointer ?
a) *
b) &
c) @
d) $
Answer is :B


Adding to a pointer that points to an array will
a) Cause an error.
b) Increase the value of the element that the pointer is pointing to.
c) Cause the pointer to point to the next element in the array.
d) None of the above.
Answer is :C


To access the members of a structure, which symbol is used ?
a) *
b) -
c) ,
d) .

Answer is : D


A member is a
a) Variable in a structure.
b) Structure's datatype.
c) Pointer to a structure.
d) None of the above.
Answer is :A


Structures can...
a) Hold many variables of different types.
b) Have pointers to structures.
c) Be assigned to one another, given they are the same type.
d) All of the above.
Answer is :D


In a C program, the first statement that will be executed is:a) The first executable statement of the program.
b) The first executable statement of the main() function.
c) The first executable statement after the comment /*start here*/
d) The first executable statement of the end function.
Answer is :B


The statement: int *jack

a) Declares that all variables ending with jack are ints.
b) Is a pointer declaration. jack is a pointer to an int variable.
c) Declares that jack is the address of a variable and that the address is an int.

d) Declares that all variables starting with jack are ints.
Answer is :B

Previous Next

C Objective type Questions and Answers

Previous Next


Which symbol is used to make comments ?
a. //
b. #
c. !!

Ans a

How would you insert pre-written code into a current program ?
a) #read
b) #get
c) #include
d) #pre
Ans: C

Which symbols represent a block of code ?
a) { ... code here }
b) ( ... code here )
c) [ ... code here ]
d) < ... code here >
Answer is : B

In which standard library file is the function printf() located ?
a) stdlib.h
b) stdio.h
c) stdout.h
d) stdoutput.h
Answer is :B

In order to properly use a variable...
a) The variable must have a valid type.
b) The variable name can not be a keyword (part of the C syntax).
c) The variable name must begin with a letter.
d) All of the above.
Answer is :D

Which mathematical operators are in the correct order ?
a) Addition, Division, Modulus
b) Division, Multiplication, Modulus
c) Modulus, Multiplication, Subtraction
d) Modulus, Addition, Division
Answer is :C

Which of the following are NOT relational operators ?a) >
b) <>Answer is :C

The first expression in a for loop is ?a) The test expression.
b) The step value of the loop.
c) The value of our counter variable.
d) None of the above.
Answer is : C

What is the break statement used for ?a) To quit the program.
b) To quit the current iteration.
c) To stop the current iteration and begin the next iteration.
d) None of the above.
Answer is :B

What is the continue statement used for ?
a) To continue to the next line of code.
b) To stop the current iteration and begin the next iteration from the beginning.
c) As an alternative to the else statement.
d) None of the above.
Answer is :B


Previous Next

Tuesday, July 21, 2009

GK Index Page

TNPSC

Sports



Aptitude

C Objective Type
C++
JavaScript
Computer




computer xml



SOAP Stands for

a) Service Oriented Architecture Protocol
b) Simple Object Access Protocol
c) Serial Object Access Protocol
d) All of the above

Ans: b

Find the odd item

a) XML PRC
b) JAVA RMI
c) SOAP
d) AJAX

Ans: d

HTTP

a) is independent of the platform
b) text based
c) can pass throughfirewalls
d) none of these

Ans: a

CORBA is

a) Complex
b) Platform dependent
c) binary
d) all of the above

Ans: d

SOAP is a


a) Platform dependent

b) complex

c) binary

d) Protocol



Ans : d



Which of the following played a key role in SOAP origin?


a) Developmentor

b) DevelopSoft

c) DSoft

d) All of the above



Ans: a



Which of the following is not a component of SOAP message?


a) Envelope

b) Header

c) Body

d) None of these



Ans: d



Which of the following is not a valid "mustUnderstand" value?


a) 1

b) 0

c) -1

d) all of the above



Ans: c



Find the odditem


a) VersionMismatch

b) MustUnderstand

c) Client

d) Version


Ans: d



Which of the following is not there in http header


a) Content-Type

b) Content-Length

c) Content-Code

d) All of the above



Ans: c