Find Available Covid Vaccination Slots: https://cowintrack.com/


Domyhomework123.com - programming homework help. Get your programming homework done with expert homework helper. Trust Writemypaper123.com with your paper and you will never regret it.

Welcome to MyQuestionPoint


Ask Any Question Relative to your Sujbect

Visit: Ask Question


CSE202 : Object Oriented Programming Mid Term Exam Question paper

CSE202 : Object Oriented Programming Mid Term Exam Question paper

Question 1 :
How many times "programming" gets printed?
void main()
{ int x
for(x=-1x>-9x)
{ if(x>-4)
{ continue
cout<<"programming"
}
else
break
}
getch()
}

Question 2 :
Find errors in the following codes?
#include
#include
void main()
{ char ch
int v=o,c=o
cout<<"enter character"
while((ch>=a&&ch<=z)||(ch>=A&&ch<=Z))
{ switch(ch)
{ casea:
casee:
casei:
caseo:
caseu:
caseA:
caseE:
caseI:
caseO:
caseU:++V
break
default:++c }
cout<<"vowels"<cout<<"consonants"<getch()
}

Question 3 :
Write a program to print permutation of all the strings?

Question 4 : Write a program to remove duplicate elements from an array?

Question 5 :
Is it possible to integrate the concepts of inline functions and recursion in c++?Explain why or why not? 

CSE316 : Operating System Concept End Term Exam Question Paper - lpu

CSE316 : Operating System Concept End Term Exam Question Paper - lpu
CSE316: OPERATING SYSTEM CONCEPT

PART A

Question 1. (a) Give an abstract view of components of a computer system.
(b) Job of Security is to defend a system from external and internal attacks. Comment?
(c) Differentiate between preemptive and non-preemptive scheduling?
(d) What is busy waiting?
(e) What is Difference between Deadlock avoidance and Deadlock prevention?
(f) List the names of attributes which are helpful in identifying files.
(g) What do you mean by Dynamic Linking and Dynamic Loading?
(h) What are the solution of external fragmentation?
(i) What are two limitation of using pipes in IPC?
(j) What do you mean by file descriptors?

PART B

Question 2. (a) Explain the methods through which the user interacts with the operating systems?
OR
(b) What do you mean by operating system? Explain the structure of various operating systems.

Question 3. (a) Write a program for listing all environment variables.
OR
(b) Explain Memory Layout of C program with Suitable Examples.

Question 4. (a) Consider a following Page String : 1,2,4,3,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6
How many page fault would occur for the LRU Replacement algorithm assuming two, three frames?
Initially all frames are empty.
OR
(b) Compare paging with segmentation with respect to the amount of memory required by the
address translation structures in order to convert virtual addresses to physical addresses.

Question 5. (a) In almost every case many files are stored on the same disk. The main problem is how to
allocate space to these files so that the disk space utilized effectively and files can be access
quickly. Discuss the methods along with its advantage and disadvantages in details.
OR
(b) (i) What is seek time? Why rotation latency is usually not considered in disk scheduling?
(ii) Except FCFS, none of the disk scheduling discipline is truly fair (starvation may occur) explain
why this assertion is true. Also explain why fairness is an important goal in time sharing system.

Question 6. (a) Write a short note on following:
(i) Named Pipes
(ii) Pipes
(iii) popen and pclose
OR
(b) The parent process passes the data or message to child process using the method of IPC.
Explain which method is used for this type of communication along with an example.

CSE316 : Operating Systems End Term Exam Question Paper | CSE 316 | CSE316 : MCQ Questions | LPU

CSE316 : Operating Systems End Term Exam Question Paper | CSE 316 | CSE316 : MCQ Questions | LPU

An Operating System (OS) is an interface between a computer user and computer hardware. An operating system is a software which performs all the basic tasks like file management, memory management, process management, handling input and output, and controlling peripheral devices such as disk drives and printers.




CSE423 : Virtualization And Cloud Computing End Term Exam Question Paper | CSE 423 | LPU

CSE423 : Virtualization And Cloud Computing End Term Exam Question Paper | CSE 423 | LPU

Virtualization is the creation of a virtual -- rather than actual -- version of something, such as an operating system, a server, a storage device or network resources.



INT404 : Artificial Intelligence End Term Question Paper | INT 404 | LPU

INT404 : Artificial Intelligence End Term Question Paper  | INT 404 | LPU

Artificial intelligence (AI) is intelligence exhibited by machines. In computer science, the field of AI research defines itself as the study of "intelligent agents": any device that perceives its environment and takes actions that maximize its chance of success at some goal.



ECE312 : Microprocessor Based System Design End Term Exam Question Paper | ECE 312 | LPU

ECE312 : Microprocessor Based System Design End Term Exam Question Paper  | ECE 312 | LPU

A microprocessor is an electronic component that is used by a computer to do its work. It is a central processing unit on a single integrated circuit chip containing millions of very small components including transistors, resistors, and diodes that work together.