IT Trainer 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 5820
Q:

Select the odd term out of the following?

A) Internet B) Macintosh OSX
C) Linux Mint D) Windows 8.1
 
Answer & Explanation Answer: A) Internet

Explanation:

Internet is not an operating system.

Report Error

View Answer Report Error Discuss

17 5802
Q:

What is another name for the governor of a state?

A) Chief Executive B) Attorney General
C) Secretary of the State D) Vice Pesident
 
Answer & Explanation Answer: A) Chief Executive

Explanation:

Another name for the governor of the state is Chief Executive of the state.

And we also know that, The attorney general is the head of the US Department of Justice, The vice president is just under the president of the US and The secretary of state is the head of the US Department of State.

Report Error

View Answer Report Error Discuss

5 5799
Q:

Dynamic Search Ads would be most helpful for

A) Campaigns that need to reduce exposure on competitive keywords. B) Websites with hundreds or thousands of products, services, or listings that frequently change.
C) A local restaurant with a dynamically changing menu that offers fresh new entrees every few months. D) Moving an ads position dynamically in whatever direction a users eyes are looking.
 
Answer & Explanation Answer: B) Websites with hundreds or thousands of products, services, or listings that frequently change.

Explanation:

Dynamic Search Ads are the simplest way to find the customers searching on Google for indubitably what you offer. This is an ideal way for with a well-developed website or with a large inventory. Businesses with websites that contain a lot of content or well-structured URLs will see the best results from using Dynamic Search Ads. 

 

Even well managed Adwords account with many keywords can miss relevant searches, experiance delays in getting ads added for new products or it may be out of Sync with what the website originally have.

 

How to Target : 

You can target 

        • All the web pages  (or)

 

        • Specific webpages containing certain keywords.

 

Benefits of Dynamic Search Ads :

        • Save time. No more mapping keywords, bids, and ad text to each product on your website. Plus, Dynamic Search Ads may help you advertise to new markets faster than other alternatives.
        • Frequent, automatic updates to your ads. When you make changes to pages in our index, we'll crawl your website again to help ensure that your ads are as up to date as possible.
        • Show relevant, dynamically generated headlines with your ads. When a customer's search is relevant to your product or service, AdWords will dynamically generate an ad with a clear headline for the most relevant page on your site.
Report Error

View Answer Report Error Discuss

32 5794
Q:

Which results in an increase in power?

A) doing more work in less time. B) doing less work in more time.
C) doing less work in less time. D) doing more work in more time.
 
Answer & Explanation Answer: A) doing more work in less time.

Explanation:

Doing more work in less time, results in an increase in power to do a work.

Report Error

View Answer Report Error Discuss

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

6 5786
Q:

Emphasize most nearly means

A) Accentuate B) Calculate
C) Justify D) Demain
 
Answer & Explanation Answer: A) Accentuate

Explanation:

Emphasize means giving special importance or worth giving attention to in speaking or writing.

Here in the options, Accentuate is most nearly means Emphasize.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

6 5765
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 5760
Q:

What is the systematic name of Mg(NO3)2?

A) Manganese nitrite B) Magnesium nitrite
C) Magnesium nitrate D) Manganese nitrate
 
Answer & Explanation Answer: C) Magnesium nitrate

Explanation:

Mg(NO3)2 is Magnesium nitrate.

 

In the case of Mg(NO3)2, the metal in the compound is magnesium (Mg), and the non-metal here is called the nitrate ion (NO3). This makes the name of the compound simply magnesium nitrate.

Report Error

View Answer Report Error Discuss

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

3 5755