IT Trainer Questions


Q:

Which of the following best describes JavaScript?

A) a scripting language precompiled in the browser. B) an object-oriented scripting language
C) a low-level programming language. D) a compiled scripting language.
 
Answer & Explanation Answer: B) an object-oriented scripting language

Explanation:

JavaScript, often abbreviated as JS, is a high-level, interpreted programming language that conforms to the ECMAScript specification.

 

JavaScript has

* curly-bracket syntax,

* dynamic typing,

* prototype-based object-orientation, and

* first-class functions.

 

Uses :

It is well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat.

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: IT Trainer

3 16446
Q:

What is math.floor(3.6)?

A) 6 B) 3
C) 3.5 D) 0.6
 
Answer & Explanation Answer: B) 3

Explanation:

The Math.floor() function in JavaScript is used to round off the number passed as parameter to its nearest integer in Downward direction of rounding i.g towards the lesser value.

 

Hence, math.floor(3.6) = 3.

Report Error

View Answer Report Error Discuss

30 16412
Q:

Which of the following is an Autotroph?

A) Fish B) Algae
C) Butterfly D) Mushroom
 
Answer & Explanation Answer: B) Algae

Explanation:

Here from the above options, Algae is an Autotroph.

Autotrophs : 

An Autotroph is also called as Producer, is an organism that produces complex organic compounds from simple substances present in its surroundings, generally using energy from light or inorganic chemical reactions.

Report Error

View Answer Report Error Discuss

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

78 16408
Q:

10 examples of computer hardware?

Answer

A computer system consists of two major elements: hardware and software. Computer hardware is the collection of all the parts you can physically touch. Computer software, on the other hand, is not something you can touch. Software is a set of instructions for a computer to perform specific operations. You need both hardware and software for a computer system to work.


10 examples of computer hardware are ::


1. Monitor


2. Motherboard


3. CPU(Microprocessor) 


4. Main memory(RAM)


5. Expansion cards 


6. Power supply unit


7. Optical disc drive 


8. Hard disk drive (HDD)


9. Keyboard


10. Mouse

Report Error

View answer Workspace Report Error Discuss

26 16104
Q:

In MS-Word, for what does ruler help?

A) to set indents B) to change page margins
C) to set tabs D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

In_MS-Word,_for_what_does_ruler_help1554294391.jpg image 

 

In MS-Word, the Ruler function helps align the text, graphic, tables or other elements in your document.

 

In_MS-Word,_for_what_does_ruler_help1558590348.png image 

Report Error

View Answer Report Error Discuss

32 16097
Q:

What Does My Name Mean, If my Mother is a Mathematician, and my Father is a Chemist. And they gave a Code to My Name as "Iron59".

Crack my Name?

A) Elix B) Alex
C) Selix D) Felix
 
Answer & Explanation Answer: D) Felix

Explanation:

Here my name "Iron59" means Felix.

Since my father is a chemist he gave code Iron for Fe as chemical symbol for Iron is Fe and my mother is a mathematician she gave 59 for Lix as Roman word for 59 is Lix.

 

Hence my name is FELIX.

Report Error

View Answer Report Error Discuss

Filed Under: Logic Puzzles
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer , Project Manager

17 16028
Q:

Which sentence is capitalized correctly?

A) on a cloudless night, I studied pisces, a constellation in the north sky. B) On a cloudless night, I studied Pisces, a constellation in the North sky.
C) on a Cloudless Night, i studied Pisces, a constellation in the North Sky. D) On a cloudless night, I studied pisces, a constellation in the north sky.
 
Answer & Explanation Answer: B) On a cloudless night, I studied Pisces, a constellation in the North sky.

Explanation:
Report Error

View Answer Report Error Discuss

14 16024
Q:

what will be the output of the following code?

class Value
{
    public int i = 15;
}
public class Test
{
    public static void main(String argv[])
    {
        Test t = new Test();
        t.first();
    }
    public void first()
    {
        int i = 5;
        Value v = new Value();
        v.i = 25;
        second(v, i);
        System.out.println(v.i);
    }
    public void second(Value v, int i)
    {
        i = 0;
        v.i = 20;
        Value val = new Value();
        v =  val;
        System.out.println(v.i + " " + i);
    }
}

A) 15 0 2 B) 15 0 0
C) 15 20 0 D) 15 0 20
 
Answer & Explanation Answer: D) 15 0 20

Explanation:
Report Error

View Answer Report Error Discuss

9 15938