Questions Bank for Operating System Subject Unit 1 Type 1. 2 Marks Questions (1) What is Spooling? (2) What is system call? (3) What do you mean by kernel? (4) What is Operating System? (5) What is reentrant kernel? (6) Symmetric and Asymmetric Multiprocessing. (7) Write the difference between multiprogramming and multiprocessing. (8) What […]
Author: admin
Fragmentation in OS
Fragmentation in OS Fragmentation in OS Operating System represents the amount of memory waste during allocation using different Memory Management technique. Fragmentation plays an important role in memory allocation. Methods which produce less fragmentation is considered good for memory allocation. Some time it seems confusing for students to understand the exact difference between internal and […]
Memory Allocation in OS
Memory allocation in os is an important function of operating system. Every user’s program need memory space in RAM in order to execute. Operating system keeps track of how much memory is available at any instant of time. Operating system is responsible for deallocation of memory from process after it’s completion. Computer science student […]
Program in C to Implement Lagrange’s Interpolation Formula
‘C’ program to implement Lagrange’s Interpolation formula. Theory and Concept – Interpolation formulae for equally Spaced Argument is important but as is well known they possess the disadvantage of requiring the values of the independent variable to be equally spaced. It is therefore desirable to have interpolation formulae with unequally space values of […]
Uptu previous year questions paper of database management system
Database Management System NCS 502 Time : 3 Hrs MM:100 SECTION- A 1. Attempt all parts. All parts carry equal marks. ( 2 * 10 = 20) (a) What is DBMS? (b) What is data model? List some type of data model. (c) What is trigger? (d) What is normalization? (e) […]
Electroencephalogram (EEG ) Technology : इलेक्ट्रोइन्सेफलोग्राम तकनीक !
” वर्तमान में चिकत्सा के क्षेत्र में का Electroencephalogram (EEG ) अपना विशेष महत्व है। इलेक्ट्रोइन्सेफलोग्राम (EEG) तकनीक की मदद से मस्तिष्क की गतिविधियों के आधार पर मानसिक अवस्था की सामान्य और असामान्य स्थिति का पता लगाया जाता है। इस तकनीक के माध्यम से मरीज का इलाज करने वाले डॉक्टर को न्यूरोलॉजिस्ट कहते हैं। जो कंप्यूटर स्क्रीन पर प्रदर्शित तरंगो […]
Swapping for Memory Management By Operating System
What is Swapping ? Removing suspended or preempted processes from memory and their subsequent bringing back is called swapping. The basic idea of swapping is to treat main memory as a ‘pre-emptable’ resource. Lifting the program from the memory and placing it on the disk is called ‘Swapping out’. To bring the […]
Memory Protection in Contiguous Memory Allocation
Memory Protection in Operating System Memory Protection is an important concept in Operating system. Memory protection in operating system is required to protect the kernel address space from user address space. In order to understand the concept of Memory protection in contiguous memory allocation first, we need to know about the user mode and kernel […]
Relocation in Memory Management
What is Relocation in Memory Management ? In this tutorial we will discuss about relocation in memory management or relocation in Operating System. Here in this post today we will learn about relocation introduction, memory management techniques , different types of relocation such as static relocation and dynamic relocation . Some time conceptual questions are […]
Bare Metal Machine and Resident Monitor
Bare Metal Machine and Resident Monitor Bare metal machine based this tutorial covers the concept of resident monitor and bare machine or bare metal machine in operating system. Objective of this tutorial is to providing knowledge about how the memory is organized using bare machine or bare metal machine and in resident monitor approach. I preferred Operating […]
What are Common Programming Errors ?
Most Common Programming Errors in C Hello Friends In this post, I am telling about some common programming errors that are mostly occurred at the time of writing a program in C Programming language. These errors are as follows: (1) Missing semicolon: Every C statement must end with a semicolon. A missing semicolon is confusion […]
Difference Between Syntax and Semantic Errors – [ Interview ]
Syntax and Semantic in Programming Language This tutorial covers the basic introduction of syntax and semantic with example. Difference between syntax and semantic errors is also explained. Some basic definition types questions are generally asked in Technical Interview. Here in this post we have answer these questions are explained properly. Students are kindly requested to […]
Dynamic Memory Allocation in C using malloc( ) and calloc()
Dynamic Memory Allocation in C using malloc() and calloc() function In this Tutorial, we will learn about dynamic memory allocation in C using malloc(), calloc() function. Syntax and the use of different functions for dynamic memory allocation in c have been explained in this Tutorial. The use of malloc(), malloc() , realloc() and free() functions are explained in […]
Program to copy the contents of one string to another string using a pointer
A C program to copy the contents of one string to another using a pointer method is: #include #include #include #define length 50 void main() { char *s1,*s2,c; int i=0; clrscr(); s1=(char*)malloc(length*sizeof(char)); s2=(char*)malloc(length*sizeof(char)); printf(“enter stringn”); gets(s1); while((c=*(s1+i))!=”) { s2[i]=c; i++; } s2[i]=”; printf(“Copied string isn”); printf(“%s”,s2); getch(); }
How to display the value of an integer variable through pointer ?
Accessing the value of an integer through pointer. A pointer is a variable which contains the address in memory of another variable. We can have a pointer to any variable type. The unary or monadic operator & gives the “address of a variable”. The indirection or dereference operator * gives the “contents of an object pointed to by […]
Pointer to structure in C
How to use a pointer to structure in C Programming? When pointer to structure is incremented then the pointer points to the next block of memory. As for example struct rec { int a; char b[10], *c; }; main() { struct rec *obj; obj=(struct rec *)malloc(sizeof(struct rec)); obj->a=10; strcpy(obj->b, “XYZ”); strcpy(obj->c, “ABC”); printf (“n%dt%st%s”,obj->a, obj->b, […]
Pointer in C Hackerrank Solution
Pointer in C Hancerrank Solution In this Pointer in C Programming Tutorial at first we will learn about basic concepts of pointer after that we will see some pointer in c hackerrank solution for the practice of computer science students. Frequently asked Questions Some frequently asked questions from pointer in c programming are given below […]
Structure in C Programming
Structure in C Programming Structure in C Programming is a collection of variables of different types under the same name. In simple words, structure in c programming is used to store different types of data elements. In this tutorial, we will learn about structure in c programming. We will learn the following concepts about structure in C […]
Download Admit Card for Gate 2017 Exam
Admit Card for Gate 2017 Exam All the gate 2017 Aspirants are here by informed that the GATE 2017 Admit Card has been released. The authority will release the GATE 2017 Admit Card online through the official website of gate 2017. The admit card will not be sent by email or post method. Candidates are […]
Newton Backward Interpolation Program in C
Newton Interpolation Program in C I have explained the newton interpolation program in c programming here in this post. This tutorial helps computer science students understand the concepts of interpolation, extrapolation in numerical techniques. This tutorial helps the students implement the program for backward interpolation in the c programming language. Frequently Asked Questions This newton interpolation program based tutorial […]