Questions

Q:

How would you find the length of each string in the following Program?

main()

{

    char *str[] = { "Frogs", "Do", "Not" , "Die" , "They" , "Croak!"};

    printf ("%d%d", sizeof (str), sizeof (str[0]));

}

Answer

main()


{


   char *str[] = { "Frogs", "Do", "Not", "Die." , "They", "Croak!" };


   int i;


         for ( i = 0;i<=5;i++)


         printf ("\n%s%d", str[i], strlen( str[i]));


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2266
Q:

Name 5 different addressing modes?

Answer

Immediate, Direct, Register, Register indirect, Implied addressing modes.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2265
Q:

In the following question, a sentence has been given in Direct/Indirect speech. Out of the four alternatives suggested, select the one which best expresses the same sentence in Indirect/Direct speech.

Priya advised me not to go to school the next day.

A) "Don't go to school next day" Priya said to me. B) "Don't go to school tomorrow" Priya said to me.
C) Priya said, "Will you not go to school tomorrow?" D) Priya told me that, "Don't go to school tomorrow."
 
Answer & Explanation Answer: B) "Don't go to school tomorrow" Priya said to me.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2265
Q:

Read the passage carefully and select the best answer to each question out of the given four alternatives.

 

By practicing mindfulness and other principles, we become more aware of and present to our fears and others’ fears, bearing witness as a way of healing and empowering. We see the spiritual path as intertwined with the path of social action, with contemplation and action parts of the same whole, each nourishing and guiding the other. Acknowledging that our well-being depends on others makes caring for others’ well-being a moral responsibility.


Through a “mindful citizen” exercise, we create a story articulating who we are as individuals who are also part of communities. This exercise helps us move beyond cynicism, complacency, and despair, instead infusing us with a sense of purpose. We embrace our gifts, resolving to do our part to promote a sense of common humanity as a means toward social justice.


With this exercise, I believe we can help students bridge their divides and replace anger and distrust with compassionate connections – just as I witnessed between Shirley and Tiffany.


Shirley returned to class after a brief hiatus, keeping a cool distance from Tiffany. But over the weeks spent together they gradually came to know each other. They practiced seeing and listening, sharing stories so different that they felt bewildered as to how they could overcome the gap. But they found that acknowledging their differences led them to discover a place of deep connection in commonalities, such as being raised by grandmothers, and even wounds, including childhood trauma, that they never imagined existed.


In assessments of these classes, students say that these small groups become “healing communities,” where we overcome victimization and claim agency. Healing occurs as we transcend an “us vs. them” mentality, crossing borders and forging connections. These communities show a way of reducing intergroup prejudice and fostering inclusion based in psychology research and pedagogical practice.

 

What do you mean by pedagogical practice?

A) Going on foot rather than using any transport B) Related to child behaviour
C) Mindful games D) Relating to teaching
 
Answer & Explanation Answer: D) Relating to teaching

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2265
Q:

In Microsoft Word, ____________ are small dots, squares, dashes or graphics that are often seen before the text.

A) Indentation B) Bullets
C) Numbering D) Tabs
 
Answer & Explanation Answer: B) Bullets

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer

6 2265
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

 

All bark and no bite

 

A) Children should only be scolded but never beaten B) To be full of big talk but lacking action
C) The person who appears most scary will help you the most D) A person who talks a lot will never harm you
 
Answer & Explanation Answer: B) To be full of big talk but lacking action

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2265
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.
Ball is in your court

A) Put the blame on the other person. B) Request someone to return your belonging.
C) It is up to you to make the next decision or step. D) To tell someone politely about his/her mistake.
 
Answer & Explanation Answer: C) It is up to you to make the next decision or step.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT

0 2264
Q:

Groundwater is found underground in the zone of

A) Penetration B) Aeration
C) Saturation D) Both B & C
 
Answer & Explanation Answer: D) Both B & C

Explanation:

Groundwater is all the water that has penetrated the earth's surface and is found in one of two soil layers. The one nearest the surface is the "zone of aeration", where gaps between soil are filled with both air and water. Below this layer is the "zone of saturation", where the gaps are filled with water.

Report Error

View Answer Report Error Discuss

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

2 2264