Questions

Q:

Answer the following Program

#define CHARSIZE 8

#define MASK(y) (1 << y % CHARSIZE)

#define BITSLOT (y) (y / CHARSIZE)

#define SET(x,y) ( x[BITSLOT(y)] = MASK(y) )

#define TEST(x,y) ( x[BITSLOT(y)] & MASK(y) )

#define NUMSLOTS(n) ((n + CHARSIZE - 1) / CHARSIZE)

 

Give the above macros how would you

1. declare an array arr of 50 bits

2. put the 20th bit on

3. test whether the 40th bit is on or off

Answer

1. char arr[NUMSLOTS(50)];


2. SET (arr, 20);


3. if (TEST (arr, 40))

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2719
Q:

The blind spot of the eye is where the optic nerve leaves the eyeball.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

Everyone of us have a blind spot which is a small portion within the visual field of every eye where the optic nerve and blood vessels leave the eyeball. Optic nerve is connected to brain ehich carries images of what we see.


the_blind_spot_of_the_eye_is_where1536397433.jpg image

Report Error

View Answer Workspace Report Error Discuss

Subject: Biology
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration

0 2719
Q:

Goosebumps are caused by contractions of the

A) Muscles B) Nerves
C) Bones D) All of the above
 
Answer & Explanation Answer: A) Muscles

Explanation:

Goosebumps are caused by the contraction of the tiny muscles attached to hair follicles. These muscles are arrectores pilorum muscles.

 

Goosebumps_are_caused_by_contractions_of_the1560862968.png image

Report Error

View Answer Report Error Discuss

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

6 2719
Q:

What is virtual path?

Answer

Along any transmission path from a given source to a given destination, a group of virtual circuits can be grouped together into what is called path.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

0 2719
Q:

If there is a lock on an adjacent key, an insert will fail if the isolation level is set to what?

A) committed read B) repeatable read
C) share read D) indexed read
 
Answer & Explanation Answer: B) repeatable read

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

1 2717
Q:

Capitalism is characterized by which of the following?

A) Profits B) A market economy
C) Privately owned businesses D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

Capitalism is an economic system followed by a country or a society which is characterized by Privately owned businesses, a market economy and profits.


Capitalism is defined as "production for exchange" driven by the desire for personal accumulation of money receipts in such exchanges, mediated by free markets. The markets themselves are driven by the needs and wants of consumers and those of society as a whole in the form of the bourgeois state.

Report Error

View Answer Report Error Discuss

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

0 2716
Q:

Which of the following is not a function of proteins?

A) Build tissues such as bone and muscle B) Help to fight disease
C) Nail formation D) Store and transmit Heredity
 
Answer & Explanation Answer: D) Store and transmit Heredity

Explanation:

Protiens can help fight specific diseases, always there to regulate cell processes and build muscle/tissues.


Structural proteins also known as Fibrous proteins, are necessary components of your body. They include collagen, keratin and elastin. Collagen forms the connective framework of your muscles, bones, tendons, skin and cartilage. Keratin is the main structural component in hair, nails, teeth and skin.

 

  • Nucleic acids store and transmit heredity.
Report Error

View Answer Report Error Discuss

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

8 2715
Q:

The 'Old Faithful' in Yellow stone National Park, Wyoming is a/an

A) hot spring B) extinct volcano
C) geyser D) oak tree
 
Answer & Explanation Answer: C) geyser

Explanation:

Geysers are fountains of hot water and superheated steam that erupts with an explosion whereas hotsprings or thermal springs are found where water sinks deep enough the surface to be heated up by the interior forces and it comes out without any explosion. Iceland and New Zealand are the other countries having geysers while hot springs are relatively common.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

0 2714