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 9179
Q:

Rs. 69 were divided among 115 family members so that each lady gets 50 paise less than each gentleman, and each gentleman received twice the paise as each lady received. Find the number of  gentlemen in the family?

A) 23 B) 92
C) 48 D) 52
 
Answer & Explanation Answer: A) 23

Explanation:

Total number of female members = 115

Let the number of males = x

Number of females = y

=> x + y = 115  ......(1)

According to the given data,

x + y(0.50) = 69 ......(2)

From (1) & (2), we get

0.5y = 46

=> y = 46 x 2 = 92

=> x = 115 - 92 = 23

 

Hence, required number of gentlemen in the family = x = 23.

Report Error

View Answer Report Error Discuss

Filed Under: Percentage
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO

8 9179
Q:

Sripad has scored average of 65 marks in three objects. In no subjects has he secured less than 58 marks. He has secured more marks in Maths than other two subjects. What could be his maximum score in Maths ?

A) 79 B) 77
C) 76 D) 73
 
Answer & Explanation Answer: A) 79

Explanation:

Assuming Sripad has scored the least marks in subject other than science,
Then the marks he could secure in other two are 58 each.
Since the average mark of all the 3 subject is 65.
i.e (58+58+x)/3 = 65
116 + x = 195
x = 79 marks.

Therefore, the maximum marks he can score in maths is 79.

Report Error

View Answer Report Error Discuss

Filed Under: Average
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO

5 9169
Q:

Alloy of copper and zinc is called

A) Bronze B) Gold
C) Silver D) Brass
 
Answer & Explanation Answer: D) Brass

Explanation:

alloy_of_copper_and_zinc_is_called1556100441.jpg image

 

Alloy of copper and zinc is called as Brass.

Report Error

View Answer Report Error Discuss

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

3 9168
Q:

A tin a mixture of two liquids A and B in the proportion 4 : 1. If 45 litres of the mixture is replaced by 45 litres of liquid B, then the ratio of the two liquids becomes 2 : 5. How much of the liquid B was there in the tin? What quantity does the tin hold?

A) 58 l B) 65 l
C) 50 l D) 62 l
 
Answer & Explanation Answer: C) 50 l

Explanation:

Let the tin contain 5x litres of liquids

5x - 45 x 455x - 45 x 15 + 45 = 25

=> 5(4x - 36) = 2(x + 36)

=> 20x - 180 = 2x + 72

=> x = 14 litres

Hence, the initial quantity of mixture = 70l

Quantity of liquid B

70 - 45 x 15 + 45 

= 50 litres.

Report Error

View Answer Report Error Discuss

Filed Under: Alligation or Mixture
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

29 9168
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 9151
Q:

Find the errors in the below given A, B, C & D sentences.

 Former prime minister ruled himself out(A)/as an alternative rightwing candidate for his party colleague (B)/

whose campaign has been thrown into chaos(C)/by a fake jobs scandal(D)

A) A & C B) B & D
C) A & D D) C & B
 
Answer & Explanation Answer: C) A & D

Explanation:

A) As prime minister is an honorable person it must start with an Article 'The'. 

D) a fake jobs => a indicates it is singular, so job will come.

Report Error

View Answer Report Error Discuss

14 9148
Q:

How many meshes are there in 1 squrare meter of wire gauge if each mesh is 8mm long and 5mm wide ?

A) 2500 B) 25000
C) 12500 D) 15400
 
Answer & Explanation Answer: B) 25000

Explanation:

We know that,

 

One square meter is equal to 10,00,000 sq mm.
Given, each mesh is 8mm length and 5mm wide
Therefore for each mesh : 8 x 5 = 40 sq mm.
So, number of meshes = 100000040 = 25000.

Report Error

View Answer Report Error Discuss

Filed Under: Volume and Surface Area
Exam Prep: GRE , GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

6 9144