Analyst Questions


Q:

Undefined reference to 'pthread_create'

How to Fix this error?

Answer

This is a common error while compiling C program in Linux. This error occurs when you are using pthread_create function to create threads in your programs.


To fix this problem ensure following points:
Include header file pthread.h in your program.
Add –lpthread linker flag with compilation command.
1- Include Header file
#include <stdio.h>
#include <pthread.h>
...
...
2- Compile command
gcc main.c -o main -lpthread

Report Error

View answer Workspace Report Error Discuss

24 8982
Q:

Which vehicle is spelled the same forwards and backwards?

Answer

Racecar and Civic are the two vehicles which spelled the same forwards an backwards.

Report Error

View answer Workspace Report Error Discuss

7 8980
Q:

In HTML, ___________ tag is used to construct drop-down list boxes and scrolling list boxes.

A) <SELECT> B) <OPTION>
C) <TEXTAREA> D) <INPUT>
 
Answer & Explanation Answer: A) <SELECT>

Explanation:
Report Error

View Answer Report Error Discuss

58 8974
Q:

Where should a boat compass be mounted?

A) near magnet B) near iron
C) away from electrical wiring D) All the above
 
Answer & Explanation Answer: C) away from electrical wiring

Explanation:

A compass, which is used to assist in navigation, is an instrument that shows magnetic north. You must apply a correction to determine the direction of true north. The ability to steer a boat by a compass is useful if land is out of sight, visibility is reduced, or the boat operator is disoriented.

 

Mount a boat compass away from iron, magnets, and electrical wiring and equipment.

Report Error

View Answer Report Error Discuss

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

15 8945
Q:

Sandalwood is largely found in

A) India B) Japan
C) China D) Nepal
 
Answer & Explanation Answer: A) India

Explanation:

Sandalwood is largely found in India and they are government owned and their harvest is controlled.

 

Naturally grown sandalwood can be easily found in Karnataka, Tamilnadu, Andhra, Kerala, Gujarat, Madhya Pradesh, and U.P. Manipura and in some other states of India.

Report Error

View Answer Report Error Discuss

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

12 8944
Q:

Webpages are written using

A) Win Zip B) HTML
C) A fifth generation language D) Peripherals
 
Answer & Explanation Answer: B) HTML

Explanation:

Webpages are written using HTML, (Hyper Text Marup Language). It is used for creating web applications that can be accessed over internet which contain text, graphics and hyperlinks.

Report Error

View Answer Report Error Discuss

11 8941
Q:

A water tank in a village is normally filled in 8 hours but takes 2 hours longer to fill because of a leak in its bottom. If the tank is full, in how many hrs will the leak empty it ? 

A) 34 hrs B) 36 hrs
C) 38 hrs D) 40 hrs
 
Answer & Explanation Answer: D) 40 hrs

Explanation:

The time taken by the leak to empty the tank = 18 - 110 = 5 - 440 = 140

Therefore, the leak empties the tank in 40 hours.

Report Error

View Answer Report Error Discuss

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

10 8941
Q:

What is the main function of an ignition safety switch?

Answer

An ignition safety switch is a safety device can shut off the engine if the operator falls off the PWC or out of the powerboat, or is otherwise thrown from the proper operating position.


 


How it works:


It allows the engine of the vehicle to shut off or to be turned off immediately as it is to prevent further complications to happen as this is being used when an emergency is launched


 


Where it is used:


Most powerboats and PWCs come equipped by the manufacturer with an emergency engine cut-off switch.

Report Error

View answer Workspace Report Error Discuss

Subject: Physics Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

6 8915