Questions

Q:

What is fragmentation? Different types of fragmentation?

Answer

Fragmentation occurs in a dynamic memory allocation system when many of the free blocks are too small to satisfy any request. 


External Fragmentation: External Fragmentation happens when a dynamic memory allocation algorithm allocates some memory and a small piece is left over that cannot be effectively used. If too much external fragmentation occurs, the amount of usable memory is drastically reduced. Total memory space exists to satisfy a request, but it is not contiguous. 


Internal Fragmentation: Internal fragmentation is the space wasted inside of allocated memory blocks because of restriction on the allowed sizes of allocated blocks. Allocated memory may be slightly larger than requested memory; this size difference is memory internal to a partition, but not being used

Report Error

View answer Workspace Report Error Discuss

1 4033
Q:

How many medals has been bagged by Indian athletes at World Dwarf Games 2017 ?

A) 34 B) 37
C) 39 D) 40
 
Answer & Explanation Answer: B) 37

Explanation:
Report Error

View Answer Report Error Discuss

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

5 4030
Q:

Application layer protocol defines

A) message format, syntax and semantics B) rules for when and how processes send and respond to messages
C) types of messages exchanged D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Application layer protocol defines types of messages exchanged, message format, syntax and semantics and rules for when and how processes send and respond to messages.

Report Error

View Answer Report Error Discuss

Filed Under: Networking
Exam Prep: AIEEE
Job Role: Network Engineer

8 4029
Q:

Borders can be applied to

A) paragraph B) text
C) cells D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

When you want to add borders, it can be added to text, cells and paragraphs.

Report Error

View Answer Report Error Discuss

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

2 4029
Q:

Where is the eastern Naval Command Headquarters ?

A) Kolkata B) Kakinada
C) Visakahapatnam D) Machilipatnam
 
Answer & Explanation Answer: C) Visakahapatnam

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

9 4028
Q:

When the simmon commission visited India the Viceroy was

A) Lloyd George B) Lord lrwin
C) Lord Reading D) Lord Ripon
 
Answer & Explanation Answer: B) Lord lrwin

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

4 4028
Q:

How would you free the memory allocated by the following program?

#include "alloc.h"

#define MAXROW 3

#define MAXCOL 4

main()

{

     int **p, i;

     p = (int **) malloc (MAXROW * sizeof (int *));

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

            p[i] = (int *) malloc (MAXCOL * sizeof (int ));

}

Answer

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


free (p[i]);


free (p);

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 4027
Q:

The fireworks exhibition had awesome

A) affects B) defects
C) effects D) show
 
Answer & Explanation Answer: C) effects

Explanation:

The fireworks exhibition had awesome effects.

Report Error

View Answer Report Error Discuss

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

0 4027