Questions

Q:

What are the typical elements of a process image?

Answer

User data: Modifiable part of user space. May include program data, user stack area, and programs that may be modified.


User program: The instructions to be executed.


System Stack: Each process has one or more LIFO stacks associated with it. Used to store parameters and calling addresses for procedure and system calls.


Process control Block (PCB): Info needed by the OS to control processes.

Report Error

View answer Workspace Report Error Discuss

26 25965
Q:

What will output when you compile and run the following code?

#include <stdio.h>
struct student
{

int roll;
int cgpa;
int sgpa[8];

};

void main()
{

struct student s = { 12,8,7,2,5,9 };
int *ptr;
ptr = (int *)&s;
clrscr();
printf( "%d", *(ptr+3) );
getch();

}

A) 8 B) 7
C) 2 D) Compiler error
 
Answer & Explanation Answer: C) 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 25937
Q:

Mount Everest is located between

 

A) China & India B) India & Nepal
C) China & Nepal D) India & Myanmar
 
Answer & Explanation Answer: C) China & Nepal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: Bank Exams

5 25936
Q:

Who is known as Man of Blood and Iron ?

A) Napoleon B) Bismarck
C) Ho Chi Minh D) Sir Walter Scott
 
Answer & Explanation Answer: B) Bismarck

Explanation:

Otto von Bismarck (Prince Bismarck), called “man of blood” from his great war policy, and “iron” from his indomitable will. Many years Chancellor of Prussia and Germany. (Born in September 1st 1815)

Report Error

View Answer Report Error Discuss

Filed Under: World History

98 25890
Q:

Which of the following refers to a small, single-site network ?

A) LAN B) DSL
C) RAM D) USB
 
Answer & Explanation Answer: A) LAN

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

122 25843
Q:

Which of the following places is considered a Jain Siddha Kshetra on account of its association with Parsvanatha

A) Champa B) Pava
C) Sammed Sikhar D) Urjayanta
 
Answer & Explanation Answer: C) Sammed Sikhar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

72 25825
Q:

A ........ is approximately one billion bytes

A) Megabyte B) Gigabyte
C) Terabyte D) None of these
 
Answer & Explanation Answer: B) Gigabyte

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer

151 25807
Q:

In the below puzzle, there are 2 double blanks. Fill in the blanks with the same pair of letters to complete an English word. For example, use the letter-pair ac in b__kp__k to make the word backpack

_ _ s _ _ de

Answer

cascade

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles

161 25701