Questions

Q:

Point out the error, ifany, in the followingb code?

typedef struct

{

     int data;

     NODEPTR link;

} *NODEPTR;

 

Answer

A typedef defines a new name for a type, and in simpler cases like the one shown below you can define a new structure type and a typedef for it at the same time.


typedef struct


{


    char name[20];


    int age;


} emp;


However, in the structure defined in this question, there is an error because a typedef declaration cannot be used until it is defined. In the given code fragment the typedef declaration is not yet defined at he point where the link field is declared.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2318
Q:

Explain Data Control Language

Answer

Data Control Language (DCL):-statements to take care of the security and authorization.


Examples:



    1. GRANT

    2. REVOKE

Report Error

View answer Workspace Report Error Discuss

2 2317
Q:

What are the roles of glass-box and black-box testing tools?

Answer

Glass Box (or white box) testing is the process of giving i/p to the system and checking how the system processes i/p to generate o/p


Black Box testing is the process of giving i/p to the system and checking if the system is giving correct o/p without bothering how the o/p is generated.


As we can see from the definitions, the role of black box testing is to ensure that the o/p generated is correct. And role of white box testing is to ensure that methods used to generate the o/p are correct.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 2316
Q:

In which year American Revolution started ?

A) 1774 B) 1775
C) 1776 D) 1777
 
Answer & Explanation Answer: B) 1775

Explanation:

American Revolution started in 1775 and lasted till 1781.

Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2316
Q:

Mina is the tribe of

A) Assam B) Rajasthan
C) Bihar D) Tripura
 
Answer & Explanation Answer: B) Rajasthan

Explanation:
Report Error

View Answer Report Error Discuss

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

19 2316
Q:

What is the currency of Japan?

A) yen B) dirham
C) yuan D) None of the above
 
Answer & Explanation Answer: A) yen

Explanation:

The currency of Japan is Japanese yen.

Report Error

View Answer Report Error Discuss

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

1 2315
Q:

Which equation is an example of a synthesis reaction?

A) 2H2 + O2 → 2H2O B) Na + Cl → NaCl
C) HA + BOH → H2O + BA D) NaCl + AgNO3 → NaNO3 + AgCl
 
Answer & Explanation Answer: B) Na + Cl → NaCl

Explanation:

When two or more chemical species combine to form a single product, the reaction is said to be synthesis reaction. It is also called as Direct Combination reaction.

 

Here in the given options, Sodium (Na) combines with Chlorine (Cl) to form a more complex single product Sodium Chloride (NaCl).

Report Error

View Answer Report Error Discuss

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

2 2314
Q:

What organelle carries out photosynthesis?

A) Chloroplasts B) Ribosomes
C) Chromosomes D) All of the above
 
Answer & Explanation Answer: A) Chloroplasts

Explanation:

Chloroplasts contains chlorophyll, the green substance in plants that allows them to create food from carbon dioxide and water called as photosynthesis.

 

Report Error

View Answer Report Error Discuss

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

5 2313