Bloggiri.com

Computer Science Junction

Returns to All blogs
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
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
Process Concept in Operating System: Process and Process State Diagram Today in this Computer Science Study Material for Gate we will discuss about process and process state diagram. SO let start with process meaning. What is Process ?When we start to study the process in operating system then first question that come in mind is how process is different from a  program ?So let me clear the answer of this question process is nothing but it is a program in execution, it means it is an active entity where as program is  a passive. The term program is used when user data or instruction is on disk, but as soon as it is loaded into memory for execution it becomes a process...
Computer Science Junction...
Tag :gate study material for computer science
  February 16, 2018, 6:47 am
JDBC ( Java Database Connectivity) TutorialJDBC is known as java database connectivity. To connect java with any database we require a jdbc driver which implements all the interfaces provided in sql package. Java provides jdbc-odbc bridge driver.Figure 1: Java Application Interaction with DatabaseJDBC uses ODBC drivers available on your machine. DB Vendor provides its own driver. To use them set driver (.jar) into class path/install them into your machine.Package required - java.sql. In this package most of them are interfaces.Types of Driver Different types of drivers are as shown in figure 2.Figure 2: Driver types Driver Type 1: Figure 3: Type 1 DriverIn type 1 driver JDBC ODBC Bridge...
Computer Science Junction...
Tag :Core Java
  January 14, 2018, 9:16 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
  January 9, 2018, 6:23 pm
Download GATE 2018 Admit CardAll the applicants were waiting for exam schedule and admit card of GATE 2018. Now this to inform you that Exam Schedule has been prepared and Admit card also have been released.You can also download the Admit card now. In this post I am providing the exam schedule and Link for downloading the Admit Card for GATE 2018.To download the admit card Click HereAll the Best to all GATE 2018 Applicants. !Reference : http://www.gate.iitg.ac.in/Keywords: gate2018, gate 2018 exam schedule, gate 2018 admit card....
Computer Science Junction...
Tag :
  January 6, 2018, 5:46 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 :Computer Science Study Material for Gate
  January 1, 2018, 1:41 am
Most Frequently Asked Interview Question in Javajava 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. Basics Important Questions  for freshers from Core JavaQ        &n...
Computer Science Junction...
Tag :core java interviews questions
  December 29, 2017, 5:55 am
C- Programming Language Based Practice Questions for GATE Computer Science1. 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) 262265 (d) 262266Solution: Option (d)4. The following programmain ( ){static char [3] [4] = {“abcd”, “mnop”, “fghi”...
Computer Science Junction...
Tag :C programming study material for gate exam
  December 26, 2017, 11:55 pm
Some Typical Questions in Computer Networks for GATE CSE ExamHello, friends today in this Computer Science Study Material for Gate I am going to discuss some conceptual questions in computer networks. Here are these questions and their answer.Q1.How does address resolution is performed in Arp?Answer: The table lookup approach to address resolution requires a data structure thatcontains information about address bindings. The table consists of an array.Each entry in the array contains a pair [P, H] where P is a protocol addressand H is the equivalent hardware address. A separate address binding table isused for each physical network. Consequently, all IP addresses in a giventable have th...
Computer Science Junction...
Tag :Computer Networks
  December 16, 2017, 1:18 am
Routing Table in Computer NetworksBefore explaining the routing table I would like to recall the previous post.In our previous post   Routing Concepts in Computer Networks we have explained the basic introduction of the routing concept. In the continuation of that post now in this article of Computer Science Study Material for Gate, we are going to tell about routing table. In this article provides the information about the different fields of a routing table with a suitable example, what is the use of these fields and how a particular route is selected for the destination host. So let's start with the introduction of routing table.What is Routing Table?Routers maintain a rout...
Computer Science Junction...
Tag :Computer Science Study Material for Gate
  December 8, 2017, 6:06 pm
Gate preparation books for computer science Today in this post I am going to tell the name of some standard books which are mostly read by the students who prepare for GATE Computer Science Exam. These books really have good quality content for preparing the GATE Exam. So here is the subjectwise list.(1)     Name: Operating System Concepts        Authors: Galvin        Publication: WILEY(2)    Name: Compiler            Authors: Ravi Sethi, Ullman            Publication: Pearson            ( 3)    Name: Databa...
Computer Science Junction...
Tag :gate 2018
  December 6, 2017, 6:59 pm
What is Routing?Routing in computer networks is a process which decides on which route the incoming packet will be transmit. It is a process of transmitting the packet from one host to another host.  The process of routing is carried out by the devices known as routers. Different type of routing protocols or routing algorithms are used at network layer which decides which output line the packet will transmit. Since when a packet moves from source host to destination host then in the path several intermediate nodes occurs so routing protocols or routing algorithm decides the next intermediate node in the path from source to destination.Routing protocols are nothing but a set of rules tha...
Computer Science Junction...
Tag :Computer Science Study Material for Gate
  November 28, 2017, 2:53 pm
In this post under Computer Science Study Material for Gate, we are going to tell the differences between File Transfer Protocol (FTP) and Hypertext Transfer Protocol (HTTP). File Transfer ProtocolFTP and HTTP both were developed to make Internet transmission better.FTP is used to exchange files between computer accounts, to transfer files between an account and a desktop computer (upload), or to access software archives on the Internet.It 's also commonly used to download programs and other files to your computer from other servers. It transfers files in two different formats ASCII for text files and Binary format for binary files. This allows a user to perform basic file and directory...
Computer Science Junction...
Tag :Computer Science Study Material for Gate
  November 20, 2017, 10:42 am
 TCP/IP protocol based questions for gate computer science examQ1.What is the difference between transport and session layer of OSI model.Answer: OSI Model Transport LayerThe transport layer uses the services provided by the network layer, such as best path selection and logical addressing, to provide end-to-end communication between source and destination. • The transport -layer data stream is a logical connection between the endpoints of a network.• End-to-end control is provided by sliding windows and reliability in sequencing numbers and acknowledgments. The transport layer regulates information flow to ensure end-to-endconnectivity between host ...
Computer Science Junction...
Tag :Computer Science Study Material for Gate
  November 17, 2017, 5:18 am
[ Prev Page ] [ Next Page ]

Share:
  You can create your ID by clicking on "Sign Up" (written at the top right side of the page) & login into bloggiri. After login, you will be ...
More...  

Hot List (1 Like = 2 Views)
  • 7 Days
  • 30 Days
  • All Time
Total Blogs Total Blogs (863) Total Posts Total Posts (43012)