# ER Diagram Examples – Questions

 ER Diagram Examples Some ER Diagram Examples : Question 1 : (a) Construct an E-R diagram for the registrar’s office. Document all assumptions you make about the mapping constraints. Assumptions: A class meets only at one particular place and time. This diagram does not attempt to model a class meeting at different places or at…

# Theoretical Questions and Answers on DBMS

 Theoretical  Questions and Answers on DBMS Question 1: List four significant differences between a file-processing system and a DBMS Answer: A database coordinates the physical and logical access to the data; a file-processing system only coordinates physical access to the data A DBMS reduces the amount of data duplication A DBMS is designed to allow…

# Pointer to Structure Example

 Pointer to Structure Example Before Discussing  Pointer to Structure Example, Read out the basics on Structure and Pointers on the following link. Link : http://www.edugrabs.com/pointer-to-structure-basics/ Program No 1 : main() { struct s1 { char *z; int i; struct s1 *p; }; Struct s1 a[] = { {“NAGPUR”, 1, a+1} {“RAIPUR”, 2, a+2} {“KANPUR”, 3, a}…

# Pointer to Array or Access Multidimensional Arrays Using Pointers

 Pointer to Array or Access Multidimensional Arrays Using Pointers ?? Before discussing Pointer to Array or how to access multidimensional arrays using Pointers, you must know about Multidimensional Arrays. Now, Consider a 2 Dimensional array a[3][4]: How does the following statement solve ?? 1. a = base address of array = 1000 2. a[0] can be written as…

# Arrays and Pointers in C Examples for GATE Students

 Arrays and Pointers in C Examples for GATE Students Basic Tip : Between Unary and Binary Operator, the priority of Unary Operator is more than Binary Operator. How to solve these type of Programs in GATE Exam ? Program No 1 : Consider the following Program : main() { char *s[] = {“iceman”, “green”, “cone”, “please”};…

# Arithmetic Operations on Pointers for GATE Students

 Arithmetic Operations on Pointers for GATE Students Basics Before Solving the Programs : Basic Tip : Priority and Associativity between Increment/Decrement (++ or –) Operator and Deferencing Operator(*) : Priority between ++/– and * : Same Priority Associativity : Right to Left Consider the following statements in C++ : 1. int a [] = {0,1,2,3,4};…

# Ethics in Management

 Ethics in Management Ethics is placed as top priority when engaging in business management and activities. All standards for businesses are based on ethical standards for transparent, air, logical operations. Keeping the ethical standards means that companies decision making is not only based on economic and principles, but also on the premise of ethical judgements…

# Console input output operations

Console Input Output Operations Every program takes some input and generates the processed data as output. So, each and every programming language provide facilities for handling input and output operations. C++ or C also is practically unique in its approach to input output operations. This is because the C++ language has no defined keywords that perform…

# Jump Statements and exit Function

Jump Statements and exit Function The jump statements unconditionally transfer program control within a function and the exit function causes the program to terminate. C++ has 4 statements that perform an unconditional branch : goto statement break statement continue statement and return statement Out of these, the return and goto statement can be used anywhere in…

# Basic Programs on Pointers in C for Gate Students

 Basic Programs on Pointers in C for GATE Students Before Solving the below Programs, read out the basics of Pointers in the following link : Link : http://www.edugrabs.com/pointers-in-c-for-gate-students/ Program No 1 : What will be the output of the following program ? Assume processor is of 16 bit. 1. main() 2. { 3. char *p; 4. printf(“%d,…