Questions

Q:

Point out the error, ifany, in the followingb code?

typedef struct

{

     int data;

     NODEPTR link;

} *NODEPTR;

 

Answer

A typedef defines a new name for a type, and in simpler cases like the one shown below you can define a new structure type and a typedef for it at the same time.


typedef struct


{


    char name[20];


    int age;


} emp;


However, in the structure defined in this question, there is an error because a typedef declaration cannot be used until it is defined. In the given code fragment the typedef declaration is not yet defined at he point where the link field is declared.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2343
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.

The Alaska pipeline starts at the frozen edge of the Arctic Ocean. It stretches southward across the largest and northernmost state in the United States, ending at a remote ice-free seaport village nearly 800 miles from where it begins. It is massive in size and extremely complicated to operate. The steel pipe crosses windswept plains and endless miles of delicate tundra that tops the frozen ground. It weaves through crooked canyons, climbs sheer mountains, plunges over rocky crags, makes its way through thick forests, and passes over or under hundreds of rivers and streams. The pipe is 4 feet in diameter, and up to 2 million barrels (or 84 million gallons) of crude oil can be pumped through it daily. Resting on H-shaped steel racks called "bents", long sections of the pipeline follow a zigzag course high above the frozen earth. Other long sections drop out of sight beneath spongy or rocky ground and return to the surface later on. The pattern of the pipeline's up-and-down route is determined by the often harsh demands of the arctic and subarctic climate, the tortuous lay of the land, and the varied compositions of soil, rock, or permafrost (permanently frozen ground). A little more than half of the pipeline is elevated above the ground. The remainder is buried anywhere from 3 to 12 feet, depending largely upon the type of terrain and the properties of the soil. One of the largest in the world, the pipeline cost approximately $8 billion and is by far the biggest and most expensive construction project ever undertaken by private industry. In fact, no single business could raise that much money, so 8 major oil companies formed a consortium in order to share the costs. Each company controlled oil rights to particular shares of land in the oil fields and paid into the pipeline-construction fund according to the size of its holdings. Today, despite enormous problems of climate, supply shortage, equipment breakdowns, labour disagreements, treacherous terrain, a certain amount of mismanagement, and even theft, the Alaska pipeline has been completed and is operating.


What is the capacity of the Alaskan pipeline?

A) 2 million gallons of crude oil B) 4 million barrels of crude oil
C) 84 million gallons of crude oil D) 84 billion barrels of crude oil
 
Answer & Explanation Answer: C) 84 million gallons of crude oil

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2343
Q:

Which is the first payment bank in India?

A) Fino Payments Bank B) Airtel Payments Bank
C) Aditya Birla Payments Bank D) Paytm Payments Bank
 
Answer & Explanation Answer: B) Airtel Payments Bank

Explanation:

Airtel Payments Bank is the first payment bank in India. A payments bank is a new category of banks conceptualized by the Reserve Bank of India, which operates at a smaller scale than an actual bank and doesn't involve any credit risk. It can carry out most banking operations but can't advance loans or issue credit cards.

 


The RBI as of date has given licences to 11 payments bank of which six are currently operational. These include

  1. Aditya Birla Payments Bank,
  2. Airtel Payments Bank,
  3. India Post Payments Bank,
  4. Fino Payments Bank,
  5. Jio Payments Bank (and)
  6. Paytm Payments Bank.
Report Error

View Answer Report Error Discuss

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

0 2343
Q:

Improve the bracketed part of the sentence.
The real principle behind love is to see the (underlied) divine consciousness in everything.

A) underlying B) underlay
C) underlie D) No improvement
 
Answer & Explanation Answer: A) underlying

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 2342
Q:

Function of Bile juice?

Answer

Bile contains bile acids, which are critical for digestion and absorption of fats in the small intestine. Since bile increases the absorption of fats, it is an important part of the absorption of the fat-soluble substances, such as the vitamins A, D, E, and K. Besides its digestive function, many waste products, including bilirubin, a byproduct of red blood cells recycled by the liver are eliminated from the body by secretion into bile and elimination in feces.

Report Error

View answer Workspace Report Error Discuss

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

2 2342
Q:

Instrument for measuring light intensity is called

A) Lucimeter B) Cryometer
C) Cyanometer D) Barometer
 
Answer & Explanation Answer: A) Lucimeter

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 2342
Q:

What is SLIP

Answer

It is a very simple protocol used for transmission of IP datagrams across a serial line.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

1 2341
Q:

Who has become the 1st-ever spinner to bowl the 1st over in a World Cup?

A) Moeen ALi B) Imran Tahir
C) Yuzvendra Chahal D) Rashid Khan
 
Answer & Explanation Answer: B) Imran Tahir

Explanation:

The South African leg-spinner has become the 1st-ever spinner to bowl the 1st over in a World Cup. It took place in the World Cup 2019 against England team at Oval in London where he bowled Bairstow for a DUCK.

the_1st-ever_spinner_to_bowl_the_1st_over_in_a_World_Cup1559630636.jpg image

Report Error

View Answer Report Error Discuss

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

3 2341