IT Trainer Questions


Q:

Which datatype in c language has least storage?

A) char B) double
C) int D) float
 
Answer & Explanation Answer: A) char

Explanation:

Data types are used for declaration of variables in computer programming languages. These determine the type and size of data associated with variables.

Data types examples - int, char, float, etc...

 

char datatype is the least storage data type with 1 byte.

int with 2 or 4 bytes.

float with 4 bytes

double with 8 bytes.

datatype_in_c_language_has_least_storage1562156854.png image

Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Database Administration , IT Trainer

2 2957
Q:

CHKDSK command is used to

A) analyze the hard disk error B) diagnose the hard disk error
C) report the status of files on disk D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:
Report Error

View Answer Report Error Discuss

1 2952
Q:

5 Digits Number?

What 5-digit number has the following features:

If we put the numeral 1 at the beginning, we get a number three times smaller than if we put the numeral 1 at the end of the number.

Answer

We can make an equation:


3(100000 + x) = 10x+1


(Why? Well, adding 100000 puts a 1 at the front of a five-digit number, and multiplying by 10 and adding 1 puts a 1 at the end of a number)


Solving this gives:


10x+1 = 3(100000 + x)
10x+1 = 300000 + 3x
10x = 299999 + 3x
7x = 299999
x = 299999/7 = 42857


The answer is 42857 (142857 is three times smaller than 428571).

Report Error

View answer Workspace Report Error Discuss

9 2951
Q:

An increase in the quantity demanded means that

A) The demand curve shifted to right B) Price of the product has declined
C) Increase in consumer income D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:
Report Error

View Answer Report Error Discuss

1 2944
Q:

Conservation of energy refers to the fact that

A) if you conserve energy you will not be as tired B) energy cannot be created or destroyed but can be converted from one form to another
C) no chemical reaction is 100 percent efficient D) the entropy of the universe is always increasing
 
Answer & Explanation Answer: B) energy cannot be created or destroyed but can be converted from one form to another

Explanation:

"Conservation of energy" refers to the fact that energy cannot be created or destroyed but can be converted from one form to another.

Report Error

View Answer Report Error Discuss

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

0 2941
Q:

What is Interpreter in Java?

Answer

  • An Interpreter is a program that reads in as input a source program, along with data for the program, and translates the source program step by step.


 


The Java interpreter decodes each lines bytecode and runs a series of machine instructions for that bytecode. The JVM takes the byte code and generates machine code. The byte code is compiled to machine code, and the machine code is executed.

Report Error

View answer Workspace Report Error Discuss

7 2940
Q:

What can you catch but not throw?

Answer

A cold or flu illness.

Report Error

View answer Workspace Report Error Discuss

3 2933
Q:

A source program is

A) a program to be translated into machine language B) a program written in a machine language
C) a machine language translation of a program D) All of the above
 
Answer & Explanation Answer: A) a program to be translated into machine language

Explanation:

A_source_program_is1563521242.png image

A source program is is a text file that contains instructions or a program written in a language other than machine code, typically a high-level language.

Report Error

View Answer Report Error Discuss

15 2924