Hamarivani.com

Computer Science Junction

File management in operating systemToday in this post I am going to discuss about file concept in os and file management in operating system. In this post we will learn about different types of files in operating system.What is file ?Generally  a file is a collection of records. A file can also be defined as a named persistent sequential (structured) data repository. The basic idea behind the creation of a file is  that files can be used to store data for long periods of time, and specifically.  File as a collection of related information is recorded on the secondary storage like magnetic disk. Magnetic tape and optical disk.Attributes of file Under this heading we will learn ...
Computer Science Junction...
Tag :Operating System
  June 30, 2018, 1:40 pm
What is thrashing ?Today I am going to introduce about thrashing in os. So what is thrashing in os ? Thrashing is a state which occurs when a process is spending more time in paging or swapping than its execution. In thrashing state CPU is so much busy in swapping that it can not respond to user program as much as it required.Causes of ThrashingThrashing is not good for performance point of view. Now I will tell about the causes of thrashing actually Initially when the CPU utilization is low, then process scheduling mechanism, loads multiple processes into the memory at the same time in order to increase the degree of multi programming.So now in this situation we have more number of processe...
Computer Science Junction...
Tag :Thrashing in os
  June 18, 2018, 9:23 am
Cache Mapping TechniquesToday in this cache mapping techniquesbased tutorialfor Gate  we will learn about different type of mapping techniques used in cache memory. These techniques are used to fetch the information from main memory to cache memory. There are three type of mapping techniques used in cache memory. Let us see them one by oneThree types of mapping procedures used for cache memory are as follows -(i) Associative mappingThe fastest and most flexible computer used associative memory in computer organization. The associative memory stores both the address and content (data) of the memory word. This permits any location in cache to store any word f...
Computer Science Junction...
Tag :gate study material for computer science
  June 15, 2018, 6:04 am
Java Programming Interview Questions       java is an Object  Oriented Programming Language. Which is mostly used to develop Windows based Software  as well as Web Based Project. Some basic core java interview questions are asked in interview for the post of  Java Developer . In this post I am telling about core java interview questions  for freshers at basic level. These java interview questions and answers questions are related to Variable, operators, JVM and Jdk, Interface and access specifier, methods , class, use of final keyword etc.Q          ...
Computer Science Junction...
Tag :Top 30 Core Java Interview Questions with Answer
  June 12, 2018, 4:29 pm
Hello Friends, Today in this post we will practice some computer organization mcq . These questions are based on gate pattern.COMPUTER ORGANIZATION AND ARCHITECTUREPractice Set 3(Instruction Pipelining, Cache & Main memory, Secondary Storage)1. More than one word is put in one cache block to(a) Exploit temporal locality references in a program(b) Exploit spatial locality references in a program(c) Reduce miss penalty(d) All of these2. A pipeline P is found to provide a speedup of 6.16 when operating at 100 MHz and an efficiency of 88 percent. How many stages does P have?3. How big is a four way set associative cache memory with a block size of 64 Bytes and containing 1024 sets?4. A ...
Computer Science Junction...
Tag :computer science study material for gate exam
  May 27, 2018, 9:01 am
 C  Programming Practice Question for GATE ExamHello Friends today in this post we will practice some c programming mcq. So practice these c programming mcq with answer. Loops and Cotrols1. Consider the C program below.#include int *A, stkTop;int stkFunc (int opcode, int val){static int size=0, stkTop=0;switch (opcode){case -1:size = val;break;case 0:if (stkTop < size ) A[stkTop++]=val;break;default:if (stkTop) return A[--stkTop];}return -1;}int main(){int B[20];A=B;stkTop = -1;stkFunc (-1, 10);stkFunc (0, 5);stkFunc (0, 10);printf ("%d\n", stkFunc(1, 0)+ stkFunc(1, 0));}The value printed by the above program is ___________(a) 9 (b) 10(c) 15 (d) 17Solution: Option (c)2...
Computer Science Junction...
Tag :C programming study material for gate exam
  May 26, 2018, 5:02 am
Tips to Improve Brain Powerदोस्तों कहते हैं कि मानव शरीर को स्वस्थ रखने में  शारीरिक व्यायाम का अपना विशेष महत्व है।  शरीर के प्रत्येक अंग के लिए अलग अलग प्रकार  के व्यायाम और योग आदि क्रियाएं हैं।  दिमाग मानव शरीर का सबसे महत्वपूर्ण  हिस्सा है, लेकिन इसके लिए व्यायाम  करना ह...
Computer Science Junction...
Tag :
  May 20, 2018, 7:57 pm
Operating system Previous year gate questionsQ1.Synchronization in the classical readers and writers problem can be achieved through use of semaphores. In the following incomplete code for readers-writers problem, two binary semaphores mutex and wrt are used to obtain synchronization. [GATE 2007]wait (wrt)writing is performedsignal (wrt)wait (mutex)  readcount = readcount + 1if readcount = 1 then S1S2reading is performedS3readcount = readcount - 1if readcount = 0 then S4 signal (mutex)The values of S1, S2, S3, S4, (in that order) are1.signal (mutex), wait (wrt), signal (wrt), wait (mutex)2.signal (wrt), signal (mutex), wait (mutex), wait (wrt)3.wait (wrt), signal (mutex), wait (mutex), ...
Computer Science Junction...
Tag :
  May 19, 2018, 7:15 pm
Here you will get various article related to database management concepts , practice sets and examples that will help you to solve the dbms related questions for Gate Exam.1. What is database management system and characteristics of dbms?2. Uptu-previous-year-questions-paper-for-dbmsMore Article are coming soon.......!Practice Sets...
Computer Science Junction...
Tag :
  May 18, 2018, 8:18 pm
Here  you can read some motivational article.1. How to boost self confidence ?2. Remember These Tips in Life.3. Tips to improve mind powerMore article are coming soon.......
Computer Science Junction...
Tag :
  May 18, 2018, 8:01 pm
Thread's Concepts in Operating System Today in this Operating System Study Material and Tutorial   I will discuss about threading concepts such as threads basic , its advantages, threads implementation in operating system , user level and kernel level threads.Lets see each one by one -what is thread in os ?A thread is nothing but a light  weight process which can utilize the cpu independently.  A thread meaning is just  a flow of execution through its  process code.Like a process a thread also its  thread control block. Which keeps the information about that thread.  Thread control block also has program counter field  that keeps track o...
Computer Science Junction...
Tag :Operating System Study material
  May 17, 2018, 6:47 am
This article cover the overview of database management system. In this article author covered introduction of data and database , database management software, dbms examples, characteristics of dbms, advantages of dbms.What is Data ?Before introducing the database let us know something about data what is data ? The term data may be defined as a collection of facts which provide information  about something. Data may be in the form of text, table figure graph audio and video. In context of computer world data is processed by computer and it is recorded or store in some suitable form which can be understand by the user. Data can be stored on secondary device like had disk or in primary me...
Computer Science Junction...
Tag :
  May 13, 2018, 4:09 pm
File Concepts Based Operating System Study MaterialWhat is a File ?Generally  a file is a collection of records. A file can also be defined as a named persistent sequential (structured) data repository. The basic idea behind the creation of a file is  that files can be used to store data for long periods of time, and specifically. File as a collection of related information is recorded on the secondary storage like magnetic disk. Magnetic tape and optical disk.Attributes of a File File’s attributes vary from one operating system to another Operating System. But in general a File may have following attributes.Name : Every file has a name which is human readable.Id: Id is a unique ...
Computer Science Junction...
Tag :file management in operating system
  April 27, 2018, 6:49 am
Mapping Techniques in Cache MemoryToday in this Computer Science Study Material for Gate  we will learn about different type of address mapping techniques in the cache memory these techniques are used to fetch the information from main memory to cache memory.  There are three type of mapping techniques. Let us see them one by oneThree types of mapping procedures used for cache memory(i) Associative mapping(ii) Direct mapping(iii) Set-associative mapping(i) Associative mappingThe fastest and most flexible cache organization uses an associative memory. The organization is illustrated. The associative memory stores both the address and content (data) of the memory word....
Computer Science Junction...
Tag :gate study material for computer science
  April 26, 2018, 6:46 am
 C  Programming Practice Question for GATE Exam Loops and Cotrols1. Consider the C program below.#include int *A, stkTop;int stkFunc (int opcode, int val){static int size=0, stkTop=0;switch (opcode){case -1:size = val;break;case 0:if (stkTop < size ) A[stkTop++]=val;break;default:if (stkTop) return A[--stkTop];}return -1;}int main(){int B[20];A=B;stkTop = -1;stkFunc (-1, 10);stkFunc (0, 5);stkFunc (0, 10);printf ("%d\n", stkFunc(1, 0)+ stkFunc(1, 0));}The value printed by the above program is ___________(a) 9 (b) 10(c) 15 (d) 17Solution: Option (c)2. Which combination of the integer variables x, y and z makes the variable a get the value 4 in the following expression?a = ( ...
Computer Science Junction...
Tag :C programming study material for gate exam
  April 20, 2018, 7:07 am
Top 100 Interview Questions in Software EngineeringWhat is software engineering?What is Software?Write out the reasons for the Failure of Water Fall Model.What are the characteristics of the software?What are the various categories of software?What are the challenges in software?Define software processWhat are the fundamental activities of a software process?What are the umbrella activities of a software process?What are the merits of incremental model?List the task regions in the Spiral model..What are the drawbacks of spiral model?What is System Engineering?List the process maturity levels in SEIs CMM.What is an effectors process?Define the computer based system.What does Verification rep...
Computer Science Junction...
Tag :software engineering interview questions
  April 14, 2018, 5:48 am
COMPUTER ORGANIZATION AND ARCHITECTUREPractice Set 3(Instruction Pipelining, Cache & Main memory, Secondary Storage)1. More than one word is put in one cache block to(a) Exploit temporal locality references in a program(b) Exploit spatial locality references in a program(c) Reduce miss penalty(d) All of these2. A pipeline P is found to provide a speedup of 6.16 when operating at 100 MHz and an efficiency of 88 percent. How many stages does P have?3. How big is a four way set associative cache memory with a block size of 64 Bytes and containing 1024 sets?4. A five stage pipeline has a clock cycle time of 5ns. If the non-pipeline clock is also of the same duration than what is the speed up...
Computer Science Junction...
Tag :computer science study material for gate exam
  April 7, 2018, 6:46 am
Hello Friends,       java is an Object  Oriented Programming Language. Which is mostly used to develop Windows based Software  as well as Web Based Project. It is good to have good knowledge about a programming language and practical knowledge for developing program in that particular language. In the technical interview for the post of  Java Developer some basic questions are asked. In this post I am telling about questions at basic level. These questions are related to Variable, operators, JVM and Jdk, Interface and access specifier, methods , class, use of final keyword etc.Q    &...
Computer Science Junction...
Tag :Top 30 Core Java Interview Questions with Answer
  April 5, 2018, 6:05 am
Addressing Modes and It's Types : gate study material for computer scienceIn this gate study material for computer science we are going to explain different types of addressing modes. We have examined the types of operands and operations that may be specified by machine instructions. Now we have to see how is the address of an operand specified, and how are the bits of an instruction organized to define the operand addresses and operation of that instruction.The most common addressing techniques are• Immediate• Direct• Indirect• Register• Register Indirect• Displacement• StackAll computer architectures provide more than one of these addressing modes. The question arises as...
Computer Science Junction...
Tag :computer science study material for gate exam
  April 3, 2018, 6:40 am
C Programming Based Practice Questions for GATE Computer Science 1. Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?(a) rem = 3.14 % 2.1;(b) rem = modf(3.14, 2.1);(c) rem = fmod(3.14, 2.1);(d) Remainder cannot be obtained in floating point division.It's Solution Explanation2. What are the types of linkages?(a) Internal and External (b) External, Internal and None(c) External and None (d) InternalIt's Solution Explanation3. Which of the following special symbol allowed in a variable name?(a) * (asterisk) (b) | (pipeline)(c) - (hyphen) (d) _ (underscore)It's Solution Explanation4. Is there any difference between following declarations?1: exter...
Computer Science Junction...
Tag :C programming study material for gate exam
  March 30, 2018, 4:46 am
C- Programming Practice Questions for GATE Computer ScienceHello friends today in this c programming language based  post we are going to practice some c aptitude questions with answers.1. Consider the following programmain ( ){int i = 5;if (i = = 5) return;else printf “i is not five”);printf (“over”);}results in(a) a syntax error (b) an execution error(c) printing of over (d) printing anythingSolution: Option (d)2. The following statementsfor (i = 3; i < 15; i +=3){printf (“%d”, i);++i;}will result in the printing of(a) 36912 (b) 3691215(c) 3711 (d) 371115Solution: Option (c)3. The possible output of printf (“%d %d”, wer, wer+1); is(a) 262262 (b) 262263(c) 26226...
Computer Science Junction...
Tag :C Programming MCQ
  March 28, 2018, 4:35 am
Thread's Concepts in Operating System Today in this Operating System Study Material and Tutorial   I will discuss about threads concepts such as threads basic introduction , its advantages, threads implementation in operating system , user level and kernel level threads.Lets see each one by one -What is Thread ?A thread I nothing but a light  weight process which can utilize the cpu independently.  A thread is just  a flow of execution through its  process code.Like a process a thread also its  thread control block. Which keeps the information about that thread.  Thread control block also has program counter field  that keeps track of wh...
Computer Science Junction...
Tag :Operating System Study material
  March 25, 2018, 7:54 am
Operating System and It's TypeToday in this Computer Science Study Material for Gate Based tutorial I will tell you about what is an operating system and what are different types of an operating system.What is an Operating System ?Operating System: Operating system works as an interface between user and hardware. Operating System also works as a Resource manager.  It is a control program. It is a system software which provides the environment and platform to application software for their use. It provides support and services to application software.Operating system is also known as resource allocator because it allocates the required resources such as memory, cpu, I/O, file etc to...
Computer Science Junction...
Tag :gate study material for computer science
  March 20, 2018, 6:25 pm
How to improve coding skills ?Now a days you should have good coding skills  to get a job as a software developer. Almost every software company conduct  coding round during campus placement when it goes to recruit the students in engineering colleges. Here in this post I am telling about some preferred resources to learn coding which are mostly used all over the world.Recently it has been found in a survey that 1/3rd Indian software developers are self taught .  Most of Indian developers learn  code through the websites like YouTube, Github, satckoverflow and some other online resources. Students are also learning coding from these resources. They are not dependent on ed...
Computer Science Junction...
Tag :
  March 10, 2018, 5:39 am
What is Process Control Block ?Today in this Computer Science Study Material for Gate we will discuss about process control block and its various field which provides the information about process. .So let see what is process control block.A Process Control Block is a data structure maintained by the Operating System for every process. Each process has it own data structure.  When a process is created then a unique id is assigned to the process Operating system identify a process among all processes on the basis of this process id. A PCB keeps all the information needed to keep track of a process. Generally a process control block contains the following information about a process....
Computer Science Junction...
Tag :gate study material for computer science
  February 23, 2018, 8:41 pm
[ Prev Page ] [ Next Page ]

Share:
  हमारीवाणी.कॉम पर ब्लॉग पंजीकृत करने की विधि बहुत सरल हैं। इसके लिए सबसे पहले प्रष्ट के सबसे ऊपर दाईं ओर लिखे ...
  हमारीवाणी पर ब्लॉग-पोस्ट के प्रकाशन के लिए 'क्लिक कोड' ब्लॉग पर लगाना आवश्यक है। इसके लिए पहले लोगिन करें, लोगिन के उपरांत खुलने वाले प...
और सन्देश...
कुल ब्लॉग्स (3807) कुल पोस्ट (180840)