Operating Systems & Memory Management: A Comprehensive Guide
Exam Cheat Sheet
Memory
Stack & Heap
C programs use the stack for local variables, function parameters, and return addresses.
C programs use the heap for explicitly requested dynamically allocated data (with malloc()).
In general, data is put on the stack unless we use malloc(), then it’s on the heap.
Malloc & Free
Used in C as a type of manual memory management.
Always free malloc()! Else, lose points.
Modern languages like Java, Erlang, etc. use Automatic Memory Management. The system allocates
Read MoreOperating Systems: A Comprehensive Guide
The Operating System is the basic computer software. This software manages all hardware resources of a computer system and provides the basis for the creation and implementation of application software. The system consists of a set of programs, services, and functions that manage and coordinate the operation of the hardware. Thanks to the operating system, the hardware is recognized and the computer system starts to work. Through programs and applications of the operating system, the user can perform
Read MoreAdvantages and Technical Aspects of Digital Television
Advantage Digital Television
1) Increased Noise Immunity
In the case of an analog signal, noise adds to the signal, degrading it as an indivisible whole. In a digital signal, while the noise does not exceed the level causing misinterpretation of the data, it can be extracted without affecting the signal.
2) Increased Capacity for Manipulation
The increasing number of available algorithms can generate effects, expand creative possibilities, and improve the quality of signal processing.
3) Bandwidth Control
Once
Read MoreUnderstanding HTTP and Network Security: A Comprehensive Guide
What is HTTP?
HTTP (Hypertext Transfer Protocol) is a protocol designed for sharing scientific data internationally, instantly, and cost-effectively.
Transfer Protocol
A system that facilitates the exchange of requested information between servers and clients, typically through a web browser.
Stateless Protocol
HTTP is a stateless protocol, meaning it doesn’t retain memory of previous connections.
Cookies
Text files exchanged between client and server to store information for future interactions.
Methods
Read MoreSoftware Requirements Specifications (SRS) and Agile Development
Q 1. Write a Software Requirement Specification as per SRS IEEE template for the scenario.
A system is to be developed for scheduling the courses in the MCA program, based on the input about classrooms, lecture times, and time preferences of the different instructors.
Q 2 Write SRS in IEEE format for an event management system. The overall functioning is as follows.
- Booking of venue
- Registration of vendors
- Assigning vendors
- Generating quotations
Q 3. Draw the use case and class diagram for a placement
Read MoreThe copy constructor is use for initialising a new instance from an old instance,
JVM Architecture | 1. Bootstrap ClassLoader loads classes from the location rt.Jar2. Extension ClassLoader loads files from jre/lib/ext directory or any other directory pointed by the system property java.Ext.Dirs 3. System ClassLoader loads the Application type classes found in the environment variable CLASSPATH, -classpath or -cp command line option |
|---|---|
1. Method Area is a part of the heap memory which is shared among all the threads. It is used to store class structure, superclass name, interface name, |
