Questions

Q:

Point out the error, if any, in the following program.

#include "stdio.h"

main()

{

      unsigned char;

       FILE *fp;

       fp = fopen ("trail", "r");

       while (( ch = getc (fp)) ! = EOF)

               printf ("%c", ch);

       fclose (fp);

}  

Answer

EOF has been defined as #define EOF -1 n the file "stdio.h" and an unsigned char ranges from 0 to 255 hence when EOF is read from the file it cannot be accommodated in ch. Solution is to declare ch as an int.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 3384
Q:

What is object repository?

Answer

Object Repository means not a collection of objects


it's a common repository for all the people (testing, developers) for seeing all the data in single login.


for example QA wants to see 5 testers works then he goes  to each person login and see the data. It's very difficult job. for this we can use Object Repository.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 3383
Q:

Per Captain Income of a country derived from

A) National Income B) Population
C) National Income and Population both D) none of these
 
Answer & Explanation Answer: C) National Income and Population both

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

1 3383
Q:

 Which of the following occurs when a transaction rereads data it has previously read and finds modification or deletions caused by a committed transaction?

A) Nonrepeatable read B) Phantom read
C) Dirty read D) Consistent read
 
Answer & Explanation Answer: A) Nonrepeatable read

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

0 3383
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 3383
Q:

Which among the following minerals is also known as Horn Silver?

A) Silver Chroride B) Zinc Phosphate
C) Silver Iodide D) Silver Sulphide
 
Answer & Explanation Answer: A) Silver Chroride

Explanation:

Silver chloride is a chemical compound with the chemical formula AgCl is also called as Horn Silver. It is also called as cerargyrite. It is a gray, very heavy halide mineral and an ore of silver.

Which_among_the_following_minerals_is_also_known_as_Horn_Silver1560942904.jpg image

 

Report Error

View Answer Report Error Discuss

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

0 3382
Q:

MPG extension refers usually to what kind of file?

A) MS Office document B) Image file
C) Word Perfect Document file D) Animation/movie file
 
Answer & Explanation Answer: D) Animation/movie file

Explanation:
Report Error

View Answer Report Error Discuss

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

0 3381
Q:

RBI has extended the timeline for full implementation of the Basel III capital regulations to which of the following date instead of 31 March, 2018?

A) 31 Jan, 2019 B) 31 Dec, 2018
C) 31 Mar, 2019 D) 1 Oct, 2018
 
Answer & Explanation Answer: C) 31 Mar, 2019

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

0 3381