IT Trainer Questions


Q:

How to create a basic text file in php?

Answer

$filename = "/home/user/guest/newfile.txt";
$file = fopen( $filename, "w" );
if( $file == false )
{
echo ( "Error in opening new file" );
exit();


}
fwrite( $file, "This is a simple test\n" );
fclose( $file );

Report Error

View answer Workspace Report Error Discuss

Subject: PHP
Job Role: IT Trainer

5 10953
Q:

What could cause a Fixed Disk Error?

A) Slow Processor Speed B) RAM Space
C) Incorrect CMOS Settings D) None
 
Answer & Explanation Answer: C) Incorrect CMOS Settings

Explanation:
Report Error

View Answer Report Error Discuss

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

24 10945
Q:

Which of the following has the highest frequency?

A) Cosmic rays B) X-rays
C) Radio waves D) Microwaves
 
Answer & Explanation Answer: A) Cosmic rays

Explanation:
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

30 10857
Q:

Which of the following is not the member of class?

A) Virtual function B) Static function
C) Friend function D) Const function
 
Answer & Explanation Answer: C) Friend function

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++
Job Role: Analyst , Database Administration , IT Trainer

19 10838
Q:

What is the most important step in prioritizing goals?

A) deciding what is most important B) having multiple tasks lined up for each goal
C) determining categories for various goals D) writing a list of goals
 
Answer & Explanation Answer: A) deciding what is most important

Explanation:

Always prioritize by what's most important to what is less important to us to reach our goals as soon as possible.

Report Error

View Answer Report Error Discuss

7 10827
Q:

A UNION query is which of the following?

A) Combines the output from multiple queries and does not include the same number of columns. B) Combines the output from multiple queries and must include the same number of columns.
C) Combines the output from no more than two queries and does not include the same number of columns. D) Combines the output from no more than two queries and must include the same number of columns.
 
Answer & Explanation Answer: B) Combines the output from multiple queries and must include the same number of columns.

Explanation:

A UNION query combines the output from multiple queries and must include the same number of columns.

Report Error

View Answer Report Error Discuss

Filed Under: SQL
Job Role: Analyst , Database Administration , IT Trainer

2 10824
Q:

What one word has the most letters in it?

Answer

ALPHABET is the only has the most letters in it.


 


Alphabet has all the 26 letters from A - Z. 


 


Hence, ALPHABET is one word that has the most letters in it.

Report Error

View answer Workspace Report Error Discuss

10 10820
Q:

Which is the point from where an azimuth originates?

A) South B) North
C) East D) West
 
Answer & Explanation Answer: B) North

Explanation:

The azimuth originates at true North i.e, the azimuth originates from the north point. It is a measure of how far an object forms the observer's north point.

 

Azimuth is a technical mapping term which is used to describe the direction of an angle between north and south on a compass circle through which the circle line passes. It is the most common military method to express direction. When using an azimuth, the point from which the azimuth originates is the center of an imaginary circle.

Report Error

View Answer Report Error Discuss

8 10804