Questions

Q:

If the following structure is written to a file using fwrite(), can fread() read it back successfully?

struct emp

{

    char *n;

    int age;

};

struct emp e = { "Sujay",15};

FILE *fp;

fwrite (&e, sizeof (e), 1, fp);

Answer

No, since the structure contains a char pointer while writing the structure to the disk using fwrite() only the value stored in the pointer n would get written. When this structure is read back the address would be read back but it is quite unlikely that the desired string would be present at this address in memory

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3245
Q:

Find the compound amount if $1200 is deposited at 8% interest for 11 years if interest is compounded continuously

A) 1456 B) 1456
C) 1693.08 D) 1890
 
Answer & Explanation Answer: C) 1693.08

Explanation:

M=Pe^yr

 

2893.08

 

I=M-P

Report Error

View Answer Report Error Discuss

0 3244
Q:

What is multi - level marketing (MLM)?

Answer

It is a marketing strategy in which the sales force is compensated not only for sales they personally generate, but also for the sales of the other salespeople that they recruit. This recruited sales force is reffered to as the participant's 'downline' , and can provide multiple levels of compensation. Other terms used for MLM include pyramid selling, network marketing and refferal marketing. Most commonly, the salespeople are expected to sell products directly to consumers by means of relationship referrals and word-of-mouth marketing.

Report Error

View answer Workspace Report Error Discuss

0 3244
Q:

Hard Drive capacity is measured in

A) Newton B) GB
C) THz D) Gwallior
 
Answer & Explanation Answer: B) GB

Explanation:

Hard drive or disc is used to store the users information and its capacity is measured in Giga Bytes (GB) and Tera Bytes (TB).

Report Error

View Answer Report Error Discuss

12 3244
Q:

Which of these phosphorylates ADP to make ATP?

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

Explanation:

The ATP is synthesized from ADP and an inorganic phosphate and involves special channel proteins that are embedded in a membrane. ATP is formed in the electron transport chain of photosynthesis and cellular respiration.

 

which_of_these_phosphorylates_adp_to_make_atp1554270963.jpg image

 

Photosynthesis only occurs in autotrophic organisms while respiration occurs in all types of organisms.

Report Error

View Answer Report Error Discuss

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

1 3244
Q:

What are different types of DBMS?

Answer

1. DBMS


2. RDBMS (Relational)


3. ORDBMS (Object Relational)


4. DDBMS (Distributed)


5. FDBMS (Federated)


6. HDDBMS (Homogeneous)


7. HDBMS (Hierarchical)


8. NDBMS (Networked)

Report Error

View answer Workspace Report Error Discuss

Subject: Database
Job Role: Database Administration

0 3243
Q:

Why was the 1955 UN General Assembly called "Menon Session" or "Menon Assembly"?

Answer

Because V K Krishna Menon spoke for 13hours continuously while representing india.

Report Error

View answer Workspace Report Error Discuss

3 3243
Q:

World's oldest living man 2018?

A) Masazo Nonaka B) Francisco Nunez Olivera
C) Juan Pablo Villalos D) Les Colley
 
Answer & Explanation Answer: A) Masazo Nonaka

Explanation:

According to Guiness World Records, the world's oldest living man Masazo Nonaka has turned 113 years on 25 July of 2018 in Japan's Hokkaido.

world_oldest_man1532609412.jpg image 

 

Francisco Nunez Olivera was the former oldest person who died on 29th of January 2018 at the age of 112 years.

 

Les Colley (1898 - 1998, Australia), is the oldest ever man to father a child. He had his ninth child a son named Oswald to his third wife at the age of 92 years 10 months.

Report Error

View Answer Report Error Discuss

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

0 3243