3i Infotech Placement: Sample Questions 486 - 487 of 1245

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 486

Edit

Describe in Detail

Essay▾

What is a structure?

Explanation

Define Structure in C
  • A structure is a user defined data type in C/C ++ .
  • Groups items of possibly different types into a single type.
  • Each element of a structure is called a member.
  • Widely used to store a record - that is collection of related information such as student information, employee information, product information, book information etc.
  • For example, a record of student can consists of student name, address, roll number and age.

SYNATX:

struct structure_name

{

⧵⧵ declaration of different data types

} ;

EXAMPLE:

struct Book

{

char name [15] ;

int price;

int page;

} ;

Question 487

Edit

Describe in Detail

Essay▾

What has triggered the need for multitasking in PCs?

Explanation

Define Multitasking
  • Multitasking is allowing set to perform more than one computer task at a time.
  • Growth of client server computing is the main driver for multitasking- a server necessarlily must support multiple clients.
  • Modern computing requirements like use of cloud computing, backend processing, web servers etc. are driving this further.
  • Ever-increasing computing power with support for multiple cores/threads, support for virtual memory, increased speed and memory capacity of microprocessors are primary hardware changes supporting growth of multitasking.

Developed by: