Questions

Q:

When is World Day for Water, recognised by the UN observed?

A) January 21 B) March 22
C) October 27 D) February 24
 
Answer & Explanation Answer: B) March 22

Explanation:
Report Error

View Answer Report Error Discuss

0 2809
Q:

Answer the following Program

#define CHARSIZE 8

#define MASK(y) (1 << y % CHARSIZE)

#define BITSLOT (y) (y / CHARSIZE)

#define SET(x,y) ( x[BITSLOT(y)] = MASK(y) )

#define TEST(x,y) ( x[BITSLOT(y)] & MASK(y) )

#define NUMSLOTS(n) ((n + CHARSIZE - 1) / CHARSIZE)

 

Give the above macros how would you

1. declare an array arr of 50 bits

2. put the 20th bit on

3. test whether the 40th bit is on or off

Answer

1. char arr[NUMSLOTS(50)];


2. SET (arr, 20);


3. if (TEST (arr, 40))

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2809
Q:

Which is the best definition of Federalism?

A) Federalism encourages the practice of direct democracy at the state level rather than the national level. B) The quality of federal supremacy in government.
C) A happy combination of mixed government. D) Federalism enables the state and the national government to share power.
 
Answer & Explanation Answer: D) Federalism enables the state and the national government to share power.

Explanation:

Federalism ::

Federalism is a system based upon democratic rules and institutions in which the power to govern is shared between national and provincial/state governments, creating what is often called a federation.

 

Federalism is a political concept in which a group of members are bound together with a governing representative head. 

Federalism enables the state and the national government to share power.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

3 2809
Q:

Ticks and mites are actually

A) Arachnids B) Insects
C) Myriapods D) Crustaceans
 
Answer & Explanation Answer: A) Arachnids

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

7 2808
Q:

What are the different types of SQL statements ?

Answer

SQL statements are broadly classified into three. They are


1. DDL – Data Definition Language


DDL is used to define the structure that holds the data. For example, Create, Alter, Drop and Truncate table.


2. DML – Data Manipulation Language


DML is used for manipulation of the data itself. Typical operations are Insert, Delete, Update and retrieving the data from the table. The Select statement is considered as a limited version of the DML, since it can't change the data in the database. But it can perform operations on data retrieved from the DBMS, before the results are returned to the calling function.


3. DCL – Data Control Language


DCL is used to control the visibility of data like granting database access and set privileges to create tables, etc. Example - Grant, Revoke access permission to the user to access data in the database.

Report Error

View answer Workspace Report Error Discuss

4 2808
Q:

Which of the following contributed to the failure of prohibition?

A) it was not imposed strictly on immigrants B) many americans didnt consider drinking to be a crime
C) it adversely affected american productivity D) organized crime controlled illegal alcohol production
 
Answer & Explanation Answer: D) organized crime controlled illegal alcohol production

Explanation:

Crime connected with illegal alcohol production and sale became a major issue so that even many people who had originally supported Prohibition decided that it needed to be repealed.

Report Error

View Answer Report Error Discuss

Filed Under: World History
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2808
Q:

Which gas is not produced by volcanic eruptions?

A) Methane B) carbon dioxide
C) sulfur dioxide D) hydrochloric acid
 
Answer & Explanation Answer: A) Methane

Explanation:

Many toxic gases along with water vapour are emitted in vocanic eruptions. All such toxic gases include hydrochloric acid, sulfur dioxide, carbon dioxide, hydrogen sulfide and carbon monoxide. Methane is not produced in the volcanic eruptions.

which_gas_is_not_produced_by_volcanic_eruptions1559201445.jpg image

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: GATE , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

2 2808
Q:

What does deficit spending require a government to do?

A) cut taxes B) hire more workers
C) lay off workers D) take on debt
 
Answer & Explanation Answer: D) take on debt

Explanation:

Deficit spending means spending more than the income getting. A government need to take debts for deficit spending.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2807