Questions

Q:

which of the following represents a set of properties that guarantee that database transactions are processed reliably in computer science ?

A) Buffer Cache B) ACID
C) Foreign Key D) None
 
Answer & Explanation Answer: B) ACID

Explanation:

ACID means (Atomicity, Consistency, Isolation, Durability) is a set of properties of database transactions intended to guarantee validity even in the event of errors, power failures, etc.

In the context of databases, a sequence of database operations that satisfies the ACID properties and, thus, can be perceived as single logical operation on the data, is called a transaction. For example, a transfer of funds from one bank account to another, even involving multiple changes such as debiting one account and crediting another, is a single transaction.

Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification
Job Role: Analyst , IT Trainer

6 2688
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 2688
Q:

Controlling marketing activities :

What is annual plan control? Why is it needed in an organisation?

Answer

The annual plan control is one of the four types of marketing control system. Annual plan control is essential in order to determine whether all the marketing efforts undertaken by the organisation has been really worthwhile or not. It aims to achieve sales volume,profits and all those objectives which have been set up in the beginning of the year. In an organisation,the top management and middle level management are responsible for the annual plan control. They have to keep a check on the activities undertaken to implement the plans.


 


 

Report Error

View answer Workspace Report Error Discuss

0 2688
Q:

Rust forms when _____ reacts with chemicals in rocks.

A) Water B) Oxygen
C) Nitrogen D) Carbondioxide
 
Answer & Explanation Answer: B) Oxygen

Explanation:

Rust forms when oxygen reacts with chemicals in rocks, and that is often the case with many other elements in general. Like a copper nail being exposed to the air will rust.

Report Error

View Answer Report Error Discuss

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

1 2687
Q:

Who has been given the additional charge of Defence Ministry after Manohar Parrikar resigned from the same post in March, 2017 ?

A) Arun Jaitley B) Nitin Gadkari
C) Narendra Modi D) Rajnath Singh
 
Answer & Explanation Answer: A) Arun Jaitley

Explanation:

Finance minister Arun Jaitley was on 13 March 2017 given the additional charge of the defence ministry after Manohar Parrikar resigned+ to take on the new role of Goa chief minister.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

3 2687
Q:

Nucleic acids are polymers of

A) Nucleotides B) Aminoacids
C) Proteins D) Sugars
 
Answer & Explanation Answer: A) Nucleotides

Explanation:

Nucleic acids are polymers of individual nucleotide monomers.

Each nucleotide is composed of three parts:

a 5-carbon sugar,

a phosphate group, and

a nitrogenous base.

Report Error

View Answer Report Error Discuss

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

0 2686
Q:

Energy transfer by convection is primarily restricted to

A) fluids B) solids
C) liquids D) gases
 
Answer & Explanation Answer: A) fluids

Explanation:

Convection is the mode of heat transfer which involves bulk motion of a fluid to transfer heat. Energy transfer by convection is primarily restricted to fluids. Fluids can be both liquids and gases.

Report Error

View Answer Report Error Discuss

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

2 2686
Q:

Muscles get tired when there is shortfall of ___________.

A) Lactic acid B) Na+ ions
C) ATP D) Sulphates
 
Answer & Explanation Answer: C) ATP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

4 2686