Important Networking Questions and Answers Hello, friends today in this Computer Science Study Material for GateI am going to discuss some conceptual important networking questions and answers. I hope that these questions and answers will be helpful to you to cover the theoretical aspect. Q1. How does address resolution is performed in address resolution protocol ? Answer:The […]
gate study material for cse
Gate Preparation Books for Computer Science based gate study material for computer science
Gate preparation books for computer science Today in this post I am going to tell the name of some standard books which are preferred by the students for the preparation for GATE exam in Computer Science and Information Technology. So here is the subject wise list. (1) Name: Operating System Concepts […]
Computer Networks Tutorials
Computer Networks Tutorials I listed different computer networks tutorials as per gate cse syllabus for computer networks subject is here in this post. These computer networks notes are explained in form of different tutorials. Link of computer networks tutorial for different topic is given here. I hope these computer networks tutorials will assist to cover gate […]
Process based questions for GATE CSE exam
Process , Thread and Cpu scheduling based questions for gate exam (1)Consider a set of n tasks with known runtimes r1,r2,……..rn to be run on a uniprocessor machine. Which of the following processor scheduling algorithms will result in the maximum throughput ? (A) Round-Robin (B) Shortest-Job-First (C) Highest-Response-Ratio-Next (D) First-come-First-Served (2) Where does the swap […]
Process Synchronization Based Questions for GATE Exam
What is Process Synchronization? Process synchronization based gate questions are really important to score good marks in GATE exam. Process Synchronization is a mechanism by which more than one processes concurrently share a resource in such a way that they can utilize the resource without any deadlock. A critical section is a program segment where […]
Program in C to Implement Lagrange’s Interpolation Formula
‘C’ program to implement Lagrange’s Interpolation formula. Theory and Concept – Interpolation formulae for equally Spaced Argument is important but as is well known they possess the disadvantage of requiring the values of the independent variable to be equally spaced. It is therefore desirable to have interpolation formulae with unequally space values of […]
Swapping for Memory Management By Operating System
What is Swapping ? Removing suspended or preempted processes from memory and their subsequent bringing back is called swapping. The basic idea of swapping is to treat main memory as a ‘pre-emptable’ resource. Lifting the program from the memory and placing it on the disk is called ‘Swapping out’. To bring the […]
Bare Metal Machine and Resident Monitor
Bare Metal Machine and Resident Monitor Bare metal machine based this tutorial covers the concept of resident monitor and bare machine or bare metal machine in operating system. Objective of this tutorial is to providing knowledge about how the memory is organized using bare machine or bare metal machine and in resident monitor approach. I preferred Operating […]
What are Common Programming Errors ?
Most Common Programming Errors in C Hello Friends In this post, I am telling about some common programming errors that are mostly occurred at the time of writing a program in C Programming language. These errors are as follows: (1) Missing semicolon: Every C statement must end with a semicolon. A missing semicolon is confusion […]
Dynamic Memory Allocation in C using malloc( ) and calloc()
Dynamic Memory Allocation in C using malloc() and calloc() function In this Tutorial, we will learn about dynamic memory allocation in C using malloc(), calloc() function. Syntax and the use of different functions for dynamic memory allocation in c have been explained in this Tutorial. The use of malloc(), malloc() , realloc() and free() functions are explained in […]
Program to copy the contents of one string to another string using a pointer
A C program to copy the contents of one string to another using a pointer method is: #include #include #include #define length 50 void main() { char *s1,*s2,c; int i=0; clrscr(); s1=(char*)malloc(length*sizeof(char)); s2=(char*)malloc(length*sizeof(char)); printf(“enter stringn”); gets(s1); while((c=*(s1+i))!=”) { s2[i]=c; i++; } s2[i]=”; printf(“Copied string isn”); printf(“%s”,s2); getch(); }
How to display the value of an integer variable through pointer ?
Accessing the value of an integer through pointer. A pointer is a variable which contains the address in memory of another variable. We can have a pointer to any variable type. The unary or monadic operator & gives the “address of a variable”. The indirection or dereference operator * gives the “contents of an object pointed to by […]
Pointer to structure in C
How to use a pointer to structure in C Programming? When pointer to structure is incremented then the pointer points to the next block of memory. As for example struct rec { int a; char b[10], *c; }; main() { struct rec *obj; obj=(struct rec *)malloc(sizeof(struct rec)); obj->a=10; strcpy(obj->b, “XYZ”); strcpy(obj->c, “ABC”); printf (“n%dt%st%s”,obj->a, obj->b, […]
Pointer in C Hackerrank Solution
Pointer in C Hancerrank Solution In this Pointer in C Programming Tutorial at first we will learn about basic concepts of pointer after that we will see some pointer in c hackerrank solution for the practice of computer science students. Frequently asked Questions Some frequently asked questions from pointer in c programming are given below […]
Structure in C Programming
Structure in C Programming Structure in C Programming is a collection of variables of different types under the same name. In simple words, structure in c programming is used to store different types of data elements. In this tutorial, we will learn about structure in c programming. We will learn the following concepts about structure in C […]
C Programming Interview Questions – Part 3
“C programming language is a very important programming language for freshers from technical interview point of view. Sometime interviewers ask some tricky questions. Interviewer also asks students to write some well known program in C programming language. In previous post I have posted some questions from C programming language. In this post again I am […]
Short Interview Questions from C Programming
” I am listing some of the important questions from C programming Language which are mostly asked during Technical interview for freshers. I hope all the students will like these questions and also suggest some other typical questions in comment.” […]
Basic Questions from C Programming !
” I am listing some of the important questions from C programming Language which are mostly asked during Technical interview for freshers. I hope all the students will like these questions and also suggest some other typical questions in comment.” […]
Objective Questions from C Programming Language
C is a common Programming language which is used for software development especially for system software. Objective from C programming language are generally asked in every written test related to computer job.In this post ,I am presenting some objective questions from C Programming.Try to attempt these related to computer job. objective Questions from C Programming 1.struct […]