Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
3850how can i access a direct (absolute, not the offset) memory
address?
here is what i tried:
wrote a program that ask's for an address from the user,
creates a FAR pointer to that adress and shows it. then the
user can increment/decrement the value in that address by
pressing p(inc+) and m(dec-).
NOW, i compiled that program and opened it twice (in 2
different windows) and gave twice the same address to it.
now look what happen - if i change the value in
one "window" of the program, it DOES NOT change in the
other! even if they point to the same address in the memory!
here is the code snippet:
//------------------------------------------------------
#include
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
2227Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap?
1 3486What is a mutex and a critical section.Whats difference between them?How do each of them work?
CTS,
4 13454What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same
CTS,
3 8341Post New C++ General Questions
Write about c++ storage classes?
What is the difference between set and map in c++?
Is there structure in c++?
What is the function of I/O library in C++ ?
what is oops and list its features in c++?
When must you use a pointer rather than a reference?
What is c++ iterator?
What is #include iostream in c++?
What is null pointer and void pointer?
What are 2 ways of exporting a function from a dll?
Out of fgets() and gets() which function is safe to use?
Is map ordered c++?
By using c++ with an example describe linked list?
Which is the best c++ compiler?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?