Time Left - 10:00 mins

Campus Recruitment Tech Quiz- 32

Attempt now to get your rank among 175 students!

Question 1

Consider the following C declaration

struct {

short s [5]

union {

float y;

long z;

}u;

} t;

Assume that objects of the type short, float and long occupy 2 bytes, 4 bytes and 8 bytes, respectively. The memory requirement for variable t, ignoring alignment considerations, is

Question 2

If different properties and functions of a real world entity is grouped or embedded into a single element, what is it called in OOP language?

Question 3

Which of the following is true regarding structure in C language ?

Question 4

Which of the following protocol pairs can be used to send and retrieve e-mails (in that order)?

Question 5

Given a set of functional dependencies on R (A, B, C, D, E) find the number of candidate keys?

{
  A → B

  BC → E

  DE → A
}

  • 175 attempts
  • 0 upvotes
  • 7 comments
Jul 19GATE & PSU CS