Questions

Q:

Which Indian Community celebrates the Khordad sal

A) Sikh B) Jain
C) Hindu D) Parsi
 
Answer & Explanation Answer: D) Parsi

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Culture

124 7390
Q:

Point out the error in the following program.

main()

{

    char mybuf[] = "Zanzibar" ;

    char yourbuf[] = " Zienckewiz";

    char * const ptr = mybuf;

     *ptr = 'a';

     ptr = yourbuf;

}

Answer

ptr pointer is constant. In ptr = yourbuf the program is trying to modify it, hence an error.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

5 7382
Q:

Consider the following statements about Sikh Gurus:
1. Banda Bahadur was appointed as the military leader of the Sikhs by Guru Tegh Bahadur.
2. Guru Arjan Dev become the Sikh Guru after Guru Ram Das.
3. Guru Arjan Dev gave to Sikhs their own script- Gurumukhi.
Which of the statements given is/are correct?

A) 1 only B) 2 and 3
C) 1 and 3 D) 1 and 2
 
Answer & Explanation Answer: D) 1 and 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Culture

122 7379
Q:

The digital computer was developed primarily in

A) USA B) UK
C) Russia D) Japan
 
Answer & Explanation Answer: A) USA

Explanation:

A digital computer accepts, processes and outputs data in digitized forms. The digital computer was developed primarily in Unites States of America.

Report Error

View Answer Report Error Discuss

21 7378
Q:

When development in economy takes place, the share of tertiary sector in National Income

A) first falls and the rises B) first rises and then falls
C) keeps on increasing D) remains constant
 
Answer & Explanation Answer: C) keeps on increasing

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

4 7377
Q:

Lathyrism is caused by excess consumption of.......

A) Khesari Dal B) Mustard oil
C) Mushrooms D) Polished rice
 
Answer & Explanation Answer: A) Khesari Dal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

35 7376
Q:

Of the following tree structure, which is, efficient considering space and time complexities?

A) Incomplete Binary Tree B) Complete Binary Tree
C) Full Binary Tree D) None
 
Answer & Explanation Answer: B) Complete Binary Tree

Explanation:

Full binary tree loses its nature when operations of insertions and deletions are done. For incomplete binary trees, extra storage is required and overhead of NULL node checking takes place. So complete binary tree is the better one since the property of complete binary tree is maintained even after operations like additions and deletions are done on it.

Report Error

View Answer Report Error Discuss

Filed Under: Software Testing

6 7368
Q:

Which of the statements given below are correct?

 

A) Grigor Dimitrov won the Tennis 2017 ATP World Tour Finals Men's Singles.

B) In 2017, Sergio Aguero played for the Premier League team Liverpool.

C) In 2017, Rohit Sharma captained the IPL team Mumbai Indians.

 

A) Both A and C B) Both A and B
C) A, B and C D) None of these
 
Answer & Explanation Answer: A) Both A and C

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

1 7368