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 More

Operating 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 More

Advantages 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 More

Understanding 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 More

Software 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.

7CisSHMKyaoErHXvpmyz5puyEEGKY2YRZZP63EKIj7HVEAGVyiBCCl1AXelgKiUB16KGH2v4pPPTFgpIQQgghhBBTBVkghegDWHrY+4PDDRxvxBpz9uXhEIbz5Zhg9svxiBBCCCGEEBONJpBC9AFfVsZEEm+R7lgBAz9OS1gax9ImJpFVy8KE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k9QAAAABJRU5ErkJggg==

Bi9LAAAAAElFTkSuQmCC

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

2RV8gAAAABJRU5ErkJggg==

h+5CKZgEHLROAAAAABJRU5ErkJggg==

UrsHfQIlAEisA9BH4dFCAHSXXnUgAAAABJRU5ErkJggg==

D289UdlGidyOAAAAAElFTkSuQmCC

Q 3. Draw the use case and class diagram for a placement

Read More

The copy constructor is use for initialising a new instance from an old instance,

7778a2a9cd8015fa611be7cde1789cb6.Png

JVM Architecture

1. Bootstrap ClassLoader loads classes from the location rt.Jar

2. 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

1zI23VMfAbcW6vmsra8Hxb37f1DUSWL6NbRZAAAAAElFTkSuQmCC


Rendered by QuickLaTeX.Com

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,
Read More