into student(rollno,name, batch,mark1, mark2,mark3) values(..details of second record);

Size: px
Start display at page:

Download "into student(rollno,name, batch,mark1, mark2,mark3) values(..details of second record);"

Transcription

1 QUESTION NO : 1 Rollno Name Batch Mark1 Mark2 Mark3 total 10 Abhishek Cs Adithyan Cs santhosh Bs Nelson Bs Jose Com vineeth com a. Create a table Student with the following fields Roll_Number Integer Primary key Name Varchar (25) Batch Varchar (15) Mark1 Integer Mark2 Integer Mark3 Integer Total Integer create table student (Rollno Integer Primary key, Name Varchar (25), Batch Varchar (15), Mark1 Integer, Mark2 Integer, Mark3 Integer, Total Integer); b. insert at least 5 records into the table except for the column Total. insert into student(rollno,name, batch,mark1, mark2,mark3) values(10,'abhishek','cs',80,90,95); into student(rollno,name, batch,mark1, mark2,mark3) values(..details of second record); c. Update the column Total with the sum of Mark1, Mark2 and Mark3. Ans : -update student set total = mark1+ mark2+ mark3; d. List the details of students in Commerce batch. select * from student where batch = 'com'; e. Display the name and total marks of students who are failed (Total < 100). select name,total from student where total<100; f. Display the name and batch of those students who scored 80 or more in Mark1 and Mark2. Ans select name, batch from student where mark1> 80 and mark2>80 g. Delete the student who scored below 80 in Mark3. Delete from student where mark3<80

2 QUESTION NO : 2 Empcode Empname Design Dept Basic Da gross 1001 Gopan Manager purchase Jose Clerk sales Lisy clerk hr Vishnu Manager hr Sreedevi manager sales Murugan clerk purchase Create a table Employee with the following fields Emp_code Integer Primary key Emp_name Varchar (20) Designation Varchar (25) Department Varchar (25) Basic Decimal (10,2) DA Decimal (10,2) Gross_pay Decimal (10,2) Create table employee (empcode integer primary key, Empname char(30), Design char(25), Dept char(25), Basic decimal(10,2), Gross decimal(10,2)); 2)Insert at least 5 records into the table except the column Gross_pay and DA. Insert into employee (empcode,empname,design,dept,da) values(1001, gopan, manager, purchase,15000); 2) Update DA with 75% of Basic. Update employee set da = basic *75/100; 3. Display the details of employees in Purchase, Sales and HR departments. Select * from employee where dept = purchase or sales or hr ; 4. Update the Gross_pay with the sum of Basic and DA. Update employee set gross = basic + da; 5. Display the details of employee with gross pay below Select * from employee where gross < 10000; 6. Delete all the clerks from the table. Delete from employee where desig = clerk ;

3 QUESTION NO : 3 Accno Name Branch Acc_type amount 1002 Maneesh TCR SB Shalish TCR CURRENT Vineesh EKM NRE SUDHEER TVM NRO PRASANTH EKM SB MADHU TVB NRE Create a table Bank with the following fields. Acc_No Integer Primary key Acc_Name Varchar (20) Branch_Name Varchar (25) Acc_ Type Varchar (10) Amount Decimal (10,2) 1.Create table bank (accno integer primary key, Name char(20), Branch char(30), Acc_type char(10), Amount decimal(10,2)); 2 insert any six records into the table bank Insert into bank values(1000, maneesh, tcr, sb,12000); 3.Display the branch-wise details of account holders in the ascending order of the amount. Select * from bank order by branch, amount; 4.Insert a new column named Minimum_Amount into the table with default value Alter table student add(min_amt decimal(6,2)); c. Update the Minimum_Amount column with the value 1000 for the customers in branches other than tvm and ekm update bank set min_amt= 1000 where branch<> ekm and branch<> tvm ;. d. Find the number of customers who do not have the minimum amount Select count(*) from bank where min_amt <1000; e. Remove the details of SB accounts from TVM branch who have zero (0) balance in their account. Delete from bank where branch = tvm and acc_type = sb and amount =0;

4 QUESTION NO : 4 Rollno Name Batch Mark1 Mark2 Mark3 total 10 Abhishek Cs Adithyan Cs santhosh Bs Nelson Bs Jose Com vineeth com Create a table Student with the following fields. Roll_Number Integer Primary key Name Varchar (25) Batch Varchar (15) Mark1 Integer Mark2 Integer Mark3 Integer Total Integer 2. Insert at least 5 records into the table except for the column Total. insert into student(rollno,name, batch,mark1, mark2,mark3) values(10,'abhishek','cs',80,90,95); Insert remaining records as per your table 3.Update the column Total with the sum of Mark1, Mark2 and Mark3. Update student set total = mark1+mark2+mark3; 4. Add a new column Average to the table Student. Alter table student add(avg decimal(5,2); 5. Update the column Average with average marks. Update student set avg = mark1+mark2+mark3/3; 6. List the details of student who has the highest Total. Select * from student where total = (select max(total) from student); 7. Delete the students of Commerce batch who failed in any two subjects. Delete from student where batch = com

5 QUESTION NO : 5 Book_id Book_name Author Publication Price 1001 Physics Stephen Scert Create a table Book with the following fields Book_ID Integer Primary key Book_Name Varchar (20) Author_Name Varchar (25) Pub_Name Varchar (25) Price Decimal (10,2) 2.Insert at least 5 records into the table. Insert into book values(1001, physics, stephen, SCERT,2000); 3. Create a view containing the details of books published by SCERT. Create view sub as select * from book where publication = scert 4. Display the average price of books published by each publisher Select book_name,avg(price) from book group by publication; 5. Display the details of book with the highest price. Select * from book where price = (select max(price) from book); 6. Display the publisher and number of books of each publisher in the descending order of the count. Select publication, count(*) from book order by publication; 7. Display the title, current price and the price after a discount of 10% in the alphabetical order of book title. Select book_name, price,price*10/100 from book order by book_name;

[6] [6] [6] [5] [5] [6] [5] [5]

[6] [6] [6] [5] [5] [6] [5] [5] M.K. Institute of Computer Studies,Bharuch Programming Language-I Programs April/May - 2005. Write a C program to find the factorial of a user inputted number. 2. Write a program to find the sum of 4 digits

More information

VPM s Joshi-Bedekar College of Arts and Commerce TYBCOM Practical Exam Practice Questions MYSQL

VPM s Joshi-Bedekar College of Arts and Commerce TYBCOM Practical Exam Practice Questions MYSQL STUDENT containing columns ROLLNO (roll number), NAME (Student s name), ADDR (Student s address) and PHONE (Phone number). Add five rows to this table. To Display roll number, name of all the students

More information

KENDRIYA VIDYALAYA SANGATHAN CLASS XII EXAMINATION INFORMATICS PRACTICES (065)

KENDRIYA VIDYALAYA SANGATHAN CLASS XII EXAMINATION INFORMATICS PRACTICES (065) KENDRIYA VIDYALAYA SANGATHAN CLASS XII EXAMINATION INFORMATICS PRACTICES (065) Time Allowed: 3 Hours Maximum Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming Language: Java, SQL

More information

(Note: 1. Each Question Carries 5 marks. 2. Solve any two questions) SET-I

(Note: 1. Each Question Carries 5 marks. 2. Solve any two questions) SET-I name), ADDR (Student s address) and PHONE (Phone number). Add five rows to this table. To Display roll number, name of all the students EMPLOYEE containing columns EMP_ID( employee id primary key) EMP_NAME(

More information

Subject: Computer Science

Subject: Computer Science Subject: Computer Science Topic: Data Types, Variables & Operators 1 Write a program to print HELLO WORLD on screen. 2 Write a program to display output using a single cout statement. 3 Write a program

More information

Computer Science 330 Assignment

Computer Science 330 Assignment Computer Science 330 Assignment Note: All questions are compulsory. The marks for each question are given at the same place. Max. Marks: 20 (ii) Write your name, enrolment number, AI name and subject etc.

More information

INFORMATION TECHONOLOGY (402) UNIT 7 DATABASE DEVELOPMENT PRACTICAL QUESTIONS

INFORMATION TECHONOLOGY (402) UNIT 7 DATABASE DEVELOPMENT PRACTICAL QUESTIONS INFORMATION TECHONOLOGY (402) UNIT 7 DATABASE DEVELOPMENT PRACTICAL QUESTIONS Q1. Write the SQL commands on the basis of the given table: Table: HOSPITAL NO NAME AGE DEPARTMENT DATEOFADMIN CHARGES GENDER

More information

QQ Group

QQ Group QQ Group: 617230453 1 Extended Relational-Algebra-Operations Generalized Projection Aggregate Functions Outer Join 2 Generalized Projection Extends the projection operation by allowing arithmetic functions

More information

Database Management Systems,

Database Management Systems, Database Management Systems Database Design (2) 1 Topics Data Base Design Logical Design (Review) Physical Design Entity Relationship (ER) Model to Relational Model Entity Relationship Attributes Normalization

More information

Database implementation Further SQL

Database implementation Further SQL IRU SEMESTER 2 January 2010 Semester 1 Session 2 Database implementation Further SQL Objectives To be able to use more advanced SQL statements, including Renaming columns Order by clause Aggregate functions

More information

Questions Bank. 14) State any four advantages of using flow-chart

Questions Bank. 14) State any four advantages of using flow-chart Questions Bank Sub:PIC(22228) Course Code:-EJ-2I ----------------------------------------------------------------------------------------------- Chapter:-1 (Overview of C Programming)(10 Marks) 1) State

More information

Babaria Institute of Technology Computer Science and Engineering Department Practical List of Object Oriented Programming with C

Babaria Institute of Technology Computer Science and Engineering Department Practical List of Object Oriented Programming with C Practical -1 Babaria Institute of Technology LEARN CONCEPTS OF OOP 1. Explain Object Oriented Paradigm with figure. 2. Explain basic Concepts of OOP with example a. Class b. Object c. Data Encapsulation

More information

SQL. Char (30) can store ram, ramji007 or 80- b

SQL. Char (30) can store ram, ramji007 or 80- b SQL In Relational database Model all the information is stored on Tables, these tables are divided into rows and columns. A collection on related tables are called DATABASE. A named table in a database

More information

M.Com IT (Information Tech.) -Scheme with Practical List Colleges BHARATHIAR UNIVERSITY,COIMBATORE

M.Com IT (Information Tech.) -Scheme with Practical List Colleges BHARATHIAR UNIVERSITY,COIMBATORE Page 1 of 7 BHARATHIAR UNIVERSITY,COIMBATORE-641 046 M.Com I T (Information Technology) with Diploma in Services Marketing / Diploma in Capital and Commodity Markets /Diploma in Insurance Management /

More information

SYSTEM CODE COURSE NAME DESCRIPTION SEM

SYSTEM CODE COURSE NAME DESCRIPTION SEM Course: CS691- Database Management System Lab PROGRAMME: COMPUTER SCIENCE & ENGINEERING DEGREE:B. TECH COURSE: Database Management System Lab SEMESTER: VI CREDITS: 2 COURSECODE: CS691 COURSE TYPE: Practical

More information

HKTA TANG HIN MEMORIAL SECONDARY SCHOOL SECONDARY 3 COMPUTER LITERACY. Name: ( ) Class: Date: Databases and Microsoft Access

HKTA TANG HIN MEMORIAL SECONDARY SCHOOL SECONDARY 3 COMPUTER LITERACY. Name: ( ) Class: Date: Databases and Microsoft Access Databases and Microsoft Access Introduction to Databases A well-designed database enables huge data storage and efficient data retrieval. Term Database Table Record Field Primary key Index Meaning A organized

More information

Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of. MCA III SEM Session -2010

Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of. MCA III SEM Session -2010 Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of MCA III SEM Session -2010 MCA-301 - Object Oriented Programming in C++ 1. WAP to generate Fibonacci

More information

MARKING SCHEME INFORMATICS PRACTICES (065) Time allowed : 3 Hours M. M.: 70. (a) Ans: Team Viewer( 1 mark for correct answer)

MARKING SCHEME INFORMATICS PRACTICES (065) Time allowed : 3 Hours M. M.: 70. (a) Ans: Team Viewer( 1 mark for correct answer) MARKING SCHEME INFORMATICS PRACTICES (065) Time allowed : 3 Hours M. M.: 70 1. (a) Ans: Team Viewer( 1 mark for correct answer) (b) Ans: i) WAN ii) MAN (1/2 Mark for each correct ans) (c) Ans: Modem convert

More information

5 Years Integrated M.Sc.(IT) Semester 1 Practical LIST CC2 Database Management Systems

5 Years Integrated M.Sc.(IT) Semester 1 Practical LIST CC2 Database Management Systems 5 Years Integrated M.Sc.(IT) Semester 1 Practical LIST 060010110 CC2 Database Management Systems Practical No: 1 Duration for completion PEO(s) to be PO(s) to be CO(s) to be Date Group Analyze : Athe scenario

More information

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION CLASS XII COMMON PRE-BOARD EXAMINATION

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION CLASS XII COMMON PRE-BOARD EXAMINATION KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION CLASS XII COMMON PRE-BOARD EXAMINATION Sub : Informatics Practices (065) Time allowed : 3 hours Maximum Marks : 70 Instruction : (i) All questions are compulsory

More information

1. Wap in JAVA to accept two values and calculate highest value and lowest value.

1. Wap in JAVA to accept two values and calculate highest value and lowest value. Application based on if..else and nested if else structure : 1. Wap in JAVA to accept two values and calculate highest value and lowest value. 2. Wap in JAVA language to accept a number, check and display

More information

Darshan Institute of Engineering & Technology Relational Model

Darshan Institute of Engineering & Technology Relational Model Explain keys. Super key A super key is a set of one or more attributes that allow us to identify each tuple uniquely in a relation. For example, the enrollment_no of a student is sufficient to distinguish

More information

AssNo: 1 Use MySQL Create a table emp with following fields and constraints

AssNo: 1 Use MySQL Create a table emp with following fields and constraints AssNo: 1 Use MySQL Create a table emp with following fields and constraints Eno (Constraint:- primary key and apply sequence starts with 101) Ename (Constraint :- not null) Address (Constraint :-default

More information

P.G.D.C.M. (Semester I) Examination, : ELEMENTS OF INFORMATION TECHNOLOGY AND OFFICE AUTOMATION (2008 Pattern)

P.G.D.C.M. (Semester I) Examination, : ELEMENTS OF INFORMATION TECHNOLOGY AND OFFICE AUTOMATION (2008 Pattern) *4089101* [4089] 101 P.G.D.C.M. (Semester I) Examination, 2011 101 : ELEMENTS OF INFORMATION TECHNOLOGY AND OFFICE AUTOMATION (2008 Pattern) Time : 3 Hours Max. Marks : 70 Note : 1) Q. 1 is compulsory.

More information

Second Year March 2017

Second Year March 2017 Reg. No. :... Code No. 5052 Name :... Second Year March 2017 Time : 2 Hours Cool-off time : 15 Minutes Part III COMPUTER APPLICATION (Commerce) Maximum : 60 Scores General Instructions to Candidates :

More information

SQL (Structured Query Language)

SQL (Structured Query Language) Lecture Note #4 COSC4820/5820 Database Systems Department of Computer Science University of Wyoming Byunggu Yu, 02/13/2001 SQL (Structured Query Language) 1. Schema Creation/Modification: DDL (Data Definition

More information

Final Examination Semester 2 / Year 2010

Final Examination Semester 2 / Year 2010 Southern College Kolej Selatan 南方学院 Final Examination Semester 2 / Year 2010 COURSE : PROGRAMMING LOGIC AND DESIGN COURSE CODE : CCIS1003 TIME : 2 1/2 HOURS DEPARTMENT : COMPUTER SCIENCE LECTURER : LIM

More information

Scheme G. Sample Test Paper-I. Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Second Subject Tile : Programming in C

Scheme G. Sample Test Paper-I. Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Second Subject Tile : Programming in C Sample Test Paper-I Marks : 25 Time:1 Hrs. Q1. Attempt any THREE 09 Marks a) State four relational operators with meaning. b) State the use of break statement. c) What is constant? Give any two examples.

More information

SAMPLE PAPER Class XII Subject INFORMATICS PRACTICES. TIME: 3Hrs. M.M. 70

SAMPLE PAPER Class XII Subject INFORMATICS PRACTICES. TIME: 3Hrs. M.M. 70 SAMPLE PAPER -2015 Class XII Subject INFORMATICS PRACTICES TIME: 3Hrs. M.M. 70 Q1. (a). Which Protocol is used for transfer of hypertext documents of the Internet? [1] (b). Two doctors in the same room

More information

Downloaded from

Downloaded from SAMPLE PAPER - 2014 INFORMATICS PRACTICES Class XII Time: 3Hrs. M.M. 70 Instructions: (i) There are 30 questions contained in four sections A,B,C and D. (ii) All questions are compulsory to solve. (iii)

More information

Downloaded from

Downloaded from UNIT 3 CHAPTER 13: DATABASE FUNDAMENTALS - MYSQL REVISION TOUR Database: Collection of logically related data stored in a structure format. DBMS: Software used to manage databases is called Data Base Management

More information

Chapter 3: Introduction to SQL. Chapter 3: Introduction to SQL

Chapter 3: Introduction to SQL. Chapter 3: Introduction to SQL Chapter 3: Introduction to SQL Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 3: Introduction to SQL Overview of The SQL Query Language Data Definition Basic Query

More information

6.5 Integrity Contraints: SQL Statements:

6.5 Integrity Contraints: SQL Statements: 6.5 Integrity Contraints: Foreign Key PREREQUISITE.(CourseNumber) PREREQUISITE.(PrerequisiteNumber) SECTION.(CourseNumber) GRADE_REPORT.(StudentNumber) GRADE_REPORT.(SectionIdentifier) Referencing Relation

More information

Suggestive List of C++ Programs

Suggestive List of C++ Programs Suggestive List of C++ Programs 1. Write a C++ program to display Hello World! on the output screen. 2. Write a program to display Multiplication Table of a number inputted by the user. 3. Write a program

More information

(i) case (ii) _delete (iii) WHILE (iv) 21stName

(i) case (ii) _delete (iii) WHILE (iv) 21stName KENDRIYA VIDAYALAYA SANGATHAN ERNAKULAM REGION PREBOARD EXAMINATION 208-9 CLASS :XII MAX. MARKS : 70 SUBJECT : COMPUTER SCIENCE Instructions: TIME :3 HRS (i) Please check that this question paper contains

More information

Chapter 2: Input, Processing, and Output

Chapter 2: Input, Processing, and Output Chapter 2: Input, Processing, and Output Starting Out with Programming Logic & Design Second Edition by Tony Gaddis Copyright 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter Topics

More information

Marwadi University Bachelor of Computer Application Semester II (w.e.f. July, 2016)

Marwadi University Bachelor of Computer Application Semester II (w.e.f. July, 2016) Learning Objectives: This course is intended to give students basic fundamental knowledge about RDBMS. This will give conceptual insight about how database design and implementation takes place. Also,

More information

PRACTICAL LIST FOR ODD SEMESTERS Session (PGDCA/MCA/MSC (CS))

PRACTICAL LIST FOR ODD SEMESTERS Session (PGDCA/MCA/MSC (CS)) GURU JAMBHESHWAR UNIVERSITY OF SCIENCE & TECHNOLOGY, HISAR DIRECTORATE OF DISTANCE EDUCATION PRACTICAL LIST FOR ODD SEMESTERS Session 2015-16 (PGDCA/MCA/MSC (CS)) SEMSTER 1 st Programme: PGDCA/MCA/MSC

More information

Time: 3 HOURS Maximum Marks: 100

Time: 3 HOURS Maximum Marks: 100 ANNA UNIVERSITY:CHENNAI 600 025 M.E/M.Tech. DEGREE EXAMINATIONS, NOV./DEC. 2014 Regulations 2013 Third Semester B.E. Computer Science and Engineering CS6311: PROGRAMMING AND DATA STRUCTURES LABORATORY

More information

CS 327E Lecture 2. Shirley Cohen. January 27, 2016

CS 327E Lecture 2. Shirley Cohen. January 27, 2016 CS 327E Lecture 2 Shirley Cohen January 27, 2016 Agenda Announcements Homework for today Reading Quiz Concept Questions Homework for next time Announcements Lecture slides and notes will be posted on the

More information

THE INDIAN COMMUNITY SCHOOL, KUWAIT

THE INDIAN COMMUNITY SCHOOL, KUWAIT THE INDIAN COMMUNITY SCHOOL, KUWAIT SERIES : II MID TERM /FN/ 18-19 CODE : M 065 TIME ALLOWED : 2 HOURS NAME OF STUDENT : MAX. MARKS : 50 ROLL NO. :.. CLASS/SEC :.. NO. OF PAGES : 3 INFORMATICS PRACTICES

More information

ADD Identifier-1 TO Identifier-2 Literal-1. ADD Identifier-1. GIVING Identifier-2 Literal-1

ADD Identifier-1 TO Identifier-2 Literal-1. ADD Identifier-1. GIVING Identifier-2 Literal-1 The Basic Arithmetic Verbs All basic arithmetic operations of ADD, SUBTRACT, MULTIPLY, and DIVIDE require the fields operated on :- 1) Have numeric PICTURE clause 2) Actually have numeric data when the

More information

SYLLABUS B.Com ( Tax Procedures & Practices) III Year

SYLLABUS B.Com ( Tax Procedures & Practices) III Year SYLLABUS B.Com ( Tax Procedures & Practices) III Year DATABASE MANAGEMENT SYSTEM (This paper is offered in lieu of Business Communication offered to B.Com.(General)) Paper : P.P.W :4 Max.Marks : 70T+30P=100

More information

SQL. Lecture 4 SQL. Basic Structure. The select Clause. The select Clause (Cont.) The select Clause (Cont.) Basic Structure.

SQL. Lecture 4 SQL. Basic Structure. The select Clause. The select Clause (Cont.) The select Clause (Cont.) Basic Structure. SL Lecture 4 SL Chapter 4 (Sections 4.1, 4.2, 4.3, 4.4, 4.5, 4., 4.8, 4.9, 4.11) Basic Structure Set Operations Aggregate Functions Null Values Nested Subqueries Derived Relations Modification of the Database

More information

RDBMS-Day3. SQL Basic DDL statements DML statements Aggregate functions

RDBMS-Day3. SQL Basic DDL statements DML statements Aggregate functions RDBMS-Day3 SQL Basic DDL statements DML statements Aggregate functions SQL SQL is used to make a request to retrieve data from a Database. The DBMS processes the SQL request, retrieves the requested data

More information

Database Management System. * First install Mysql Database or Wamp Server which contains Mysql Databse.

Database Management System. * First install Mysql Database or Wamp Server which contains Mysql Databse. Database Management System * First install Mysql Database or Wamp Server which contains Mysql Databse. * Installation steps are provided in pdf named Installation Steps of MySQL.pdf or WAMP Server.pdf

More information

UNIT III INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL)

UNIT III INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) UNIT III INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) 3.1Data types 3.2Database language. Data Definition Language: CREATE,ALTER,TRUNCATE, DROP 3.3 Database language. Data Manipulation Language: INSERT,SELECT,UPDATE,DELETE

More information

ES I INFORMATICS PRACTICES Set I Class XII Sec- A,B,C Date: April 2017 Time: 1 hr 10 min M.M.: 30

ES I INFORMATICS PRACTICES Set I Class XII Sec- A,B,C Date: April 2017 Time: 1 hr 10 min M.M.: 30 ES I INFORMATICS PRACTICES Set I Class XII Sec- A,B,C Date: April 2017 Time: 1 hr 10 min M.M.: 30 Name Roll No. Instruction: a) Attempt all questions 1. a) Table Stud has 20 rows and 15 columns. Table

More information

Programming in OOP/C++

Programming in OOP/C++ Introduction Lecture 3-2 Programming in OOP/C++ Arrays Part (2) By Assistant Professor Dr. Ali Kattan 1 Arrays Examples Solutions for previous assignments Write a program to enter and store your name and

More information

Database Systems SQL SL03

Database Systems SQL SL03 Checking... Informatik für Ökonomen II Fall 2010 Data Definition Language Database Systems SQL SL03 Table Expressions, Query Specifications, Query Expressions Subqueries, Duplicates, Null Values Modification

More information

Suggestions and Model Questions for B.Com Part II IT Practical Examination (C21G), 2016 (Information Technology and its Application in Business)

Suggestions and Model Questions for B.Com Part II IT Practical Examination (C21G), 2016 (Information Technology and its Application in Business) Suggestions and Model Questions for B.Com Part II IT Practical Examination (C21G), 2016 (Information Technology and its Application in Business) Students may practice the following 1. Creating Folders

More information

Simple SQL. Peter Y. Wu. Dept of Computer and Information Systems Robert Morris University

Simple SQL. Peter Y. Wu. Dept of Computer and Information Systems Robert Morris University Simple SQL Peter Y. Dept of Computer and Information Systems Robert Morris University Simple SQL create table drop table insert into table values ( ) delete from table where update table set a to v where

More information

CLASS XII SAMPLE PAPER-065 INFORMATICS PRACTICES

CLASS XII SAMPLE PAPER-065 INFORMATICS PRACTICES General Instructions : (i)all the questions are compulsory. (ii)programming language : Java. CLASS XII SAMPLE PAPER-065 INFORMATICS PRACTICES Q-1 (a) A School with 20 stand alone computers is considering

More information

COGS 121 HCI Programming Studio. Week 03 - Tech Lecture

COGS 121 HCI Programming Studio. Week 03 - Tech Lecture COGS 121 HCI Programming Studio Week 03 - Tech Lecture Housekeeping Assignment #1 extended to Monday night 11:59pm Assignment #2 to be released on Tuesday during lecture Database Management Systems and

More information

VARIABLE, OPERATOR AND EXPRESSION [SET 1]

VARIABLE, OPERATOR AND EXPRESSION [SET 1] VARIABLE, OPERATOR AND EXPRESSION Question 1 Write a program to print HELLO WORLD on screen. Write a program to display the following output using a single cout statement. Subject Marks Mathematics 90

More information

GIFT Department of Computing Science. CS-217: Database Systems. Lab-4 Manual. Reporting Aggregated Data using Group Functions

GIFT Department of Computing Science. CS-217: Database Systems. Lab-4 Manual. Reporting Aggregated Data using Group Functions GIFT Department of Computing Science CS-217: Database Systems Lab-4 Manual Reporting Aggregated Data using Group Functions V3.0 4/28/2016 Introduction to Lab-4 This lab further addresses functions. It

More information

Revised Guidelines for B.A. Programme Semester II Paper: Database Management System (Meeting held on 15 th Jan 2015)

Revised Guidelines for B.A. Programme Semester II Paper: Database Management System (Meeting held on 15 th Jan 2015) Revised Guidelines for B.A. Programme Semester II Paper: Database Management System (Meeting held on 15 th Jan 2015) Theory Theory Periods 4 periods/ week Tutorial - 1 period / 15 days Theory Paper Marks

More information

Database Systems SQL SL03

Database Systems SQL SL03 Inf4Oec10, SL03 1/52 M. Böhlen, ifi@uzh Informatik für Ökonomen II Fall 2010 Database Systems SQL SL03 Data Definition Language Table Expressions, Query Specifications, Query Expressions Subqueries, Duplicates,

More information

CGS 3066: Spring 2017 SQL Reference

CGS 3066: Spring 2017 SQL Reference CGS 3066: Spring 2017 SQL Reference Can also be used as a study guide. Only covers topics discussed in class. This is by no means a complete guide to SQL. Database accounts are being set up for all students

More information

Chapter 3: Introduction to SQL

Chapter 3: Introduction to SQL Chapter 3: Introduction to SQL Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 3: Introduction to SQL Overview of the SQL Query Language Data Definition Basic Query

More information

Babu Madhav Institute of Information Technology 2015

Babu Madhav Institute of Information Technology 2015 Paper No.:060010102 Subject: Database Management Systems (Practical) Program: 5 Years Integrated M.Sc.(IT) Semester: 01 Practical No: 1 Enrolment No: Practical Problem Create following tables: CLIENT_MASTER

More information

INDIAN SCHOOL MUSCAT FINAL TERM EXAMINATION INFORMATICS PRACTICES

INDIAN SCHOOL MUSCAT FINAL TERM EXAMINATION INFORMATICS PRACTICES Answer Key-Class XI INFO 017-18(Final) Roll Number Code Number 065/ INDIAN SCHOOL MUSCAT FINAL TERM EXAMINATION INFORMATICS PRACTICES CLASS: XII Sub. Code: 065 TimeAllotted:3 Hrs 18.0.018 Max. Marks: 70

More information

Chapter 4. Basic SQL. SQL Data Definition and Data Types. Basic SQL. SQL language SQL. Terminology: CREATE statement

Chapter 4. Basic SQL. SQL Data Definition and Data Types. Basic SQL. SQL language SQL. Terminology: CREATE statement Chapter 4 Basic SQL Basic SQL SQL language Considered one of the major reasons for the commercial success of relational databases SQL Structured Query Language Statements for data definitions, queries,

More information

(c)rewrite the following program after removing the syntactical error(s),if any.under line each correction. [2] def main1(emp): print emp[name]

(c)rewrite the following program after removing the syntactical error(s),if any.under line each correction. [2] def main1(emp): print emp[name] Sample paper 3 Name: Class: XII M.M:7 Max. Time: 3 hr Sub:Computer Science (83) No. of pages: 8 Instructions:. Attempt all the questions neatly. 2. Marks are indicated against each question. Q-. [] (a)

More information

Simple SQL Queries (2)

Simple SQL Queries (2) Simple SQL Queries (2) Review SQL the structured query language for relational databases DDL: data definition language DML: data manipulation language Create and maintain tables CMPT 354: Database I --

More information

Downloaded from

Downloaded from FIRST TERMINAL EXAMINATION, 2013 INFORMATICS PRACTICES Time : 3 hrs. 221214 M.M. : 70 Instructions: i. This question paper contains 7 Questions. ii. All the questions are compulsory. iii. Answer the questions

More information

KENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOMEWORK CLASS-XII INFORMATICS PRACTICES

KENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOMEWORK CLASS-XII INFORMATICS PRACTICES KENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOMEWORK 18-19 CLASS-XII INFORMATICS PRACTICES 1. Arrange the following data types in increasing order of their size : byte, int, float, double, char, boolean.

More information

INFORMATICS PRACTICES

INFORMATICS PRACTICES SET-4 Series SSO Code No. 90 Roll No. Candidates must write the Code on the title page of the answer-book. Please check that this question paper contains 8 printed pages. Code number given on the right

More information

The SQL data-definition language (DDL) allows defining :

The SQL data-definition language (DDL) allows defining : Introduction to SQL Introduction to SQL Overview of the SQL Query Language Data Definition Basic Query Structure Additional Basic Operations Set Operations Null Values Aggregate Functions Nested Subqueries

More information

Exam code: Exam name: Database Fundamentals. Version 16.0

Exam code: Exam name: Database Fundamentals. Version 16.0 98-364 Number: 98-364 Passing Score: 800 Time Limit: 120 min File Version: 16.0 Exam code: 98-364 Exam name: Database Fundamentals Version 16.0 98-364 QUESTION 1 You have a table that contains the following

More information

Chapter 3: SQL. Database System Concepts, 5th Ed. Silberschatz, Korth and Sudarshan See for conditions on re-use

Chapter 3: SQL. Database System Concepts, 5th Ed. Silberschatz, Korth and Sudarshan See  for conditions on re-use Chapter 3: SQL Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 3: SQL Data Definition Basic Query Structure Set Operations Aggregate Functions Null Values Nested

More information

Data about data is database Select correct option: True False Partially True None of the Above

Data about data is database Select correct option: True False Partially True None of the Above Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another

More information

Visit for more.

Visit  for more. Chapter 9: More On Database & SQL Advanced Concepts Informatics Practices Class XII (CBSE Board) Revised as per CBSE Curriculum 2015 Visit www.ip4you.blogspot.com for more. Authored By:- Rajesh Kumar Mishra,

More information

Chapter 3: SQL. Chapter 3: SQL

Chapter 3: SQL. Chapter 3: SQL Chapter 3: SQL Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 3: SQL Data Definition Basic Query Structure Set Operations Aggregate Functions Null Values Nested

More information

Question Bank IT(402) Unit Database 1. What is database? Ans: A database is a collection of information that is organized so that it can be easily

Question Bank IT(402) Unit Database 1. What is database? Ans: A database is a collection of information that is organized so that it can be easily Question Bank IT(402) Unit Database 1. What is database? Ans: A database is a collection of information that is organized so that it can be easily accessed, managed and updated.data is organized into rows,

More information

Arranging Information. Sorting the Data. Adding More Data to the List. Headings. Chapter 14: Fill-in-the-blank Computing: The Basics of Spreadsheets

Arranging Information. Sorting the Data. Adding More Data to the List. Headings. Chapter 14: Fill-in-the-blank Computing: The Basics of Spreadsheets Chapter 14: Fill-in-the-blank Computing: The Basics of Spreadsheets Fluency with Information Technology Third Edition by Lawrence Snyder Arranging Information Organizing textual information into lists

More information

5/17/2009. Arranging Information. Sorting the Data. Adding More Data to the List. Headings

5/17/2009. Arranging Information. Sorting the Data. Adding More Data to the List. Headings Chapter 14: Fill-in-the-blank Computing: The Basics of Spreadsheets Arranging Information Fluency with Information Technology Third Edition by Lawrence Snyder Organizing textual information into lists

More information

TOPICS TO COVER:-- Array declaration and use.

TOPICS TO COVER:-- Array declaration and use. ARRAYS in JAVA TOPICS TO COVER:-- Array declaration and use. One-Dimensional Arrays. Passing arrays and array elements as parameters Arrays of objects Searching an array Sorting elements in an array ARRAYS

More information

Expense Pay: Expense Pay Extract

Expense Pay: Expense Pay Extract Expense Pay: Expense Pay Extract Specification Applies to these SAP Concur solutions: Expense Professional/Premium edition Standard edition Travel Professional/Premium edition Standard edition Invoice

More information

Silberschatz, Korth and Sudarshan See for conditions on re-use

Silberschatz, Korth and Sudarshan See   for conditions on re-use Chapter 3: SQL Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 3: SQL Data Definition Basic Query Structure Set Operations Aggregate Functions Null Values Nested

More information

origin destination duration New York London 415 Shanghai Paris 760 Istanbul Tokyo 700 New York Paris 435 Moscow Paris 245 Lima New York 455

origin destination duration New York London 415 Shanghai Paris 760 Istanbul Tokyo 700 New York Paris 435 Moscow Paris 245 Lima New York 455 CS50 Beyond Databases origin destination duration New York London 415 Shanghai Paris 760 Istanbul Tokyo 700 New York Paris 435 Moscow Paris 245 Lima New York 455 SQL SQL Databases MySQL PostgreSQL SQLite...

More information

Chapter 2. C++ Basics. Copyright 2014 Pearson Addison-Wesley. All rights reserved.

Chapter 2. C++ Basics. Copyright 2014 Pearson Addison-Wesley. All rights reserved. Chapter 2 C++ Basics 1 Overview 2.1 Variables and Assignments 2.2 Input and Output 2.3 Data Types and Expressions 2.4 Simple Flow of Control 2.5 Program Style Slide 2-3 2.1 Variables and Assignments 2

More information

MYOB Exo Business White Paper

MYOB Exo Business White Paper MYOB Exo Business White Paper Search Templates Last modified: 8 August 2017 Contents Introduction 1 Version History... 1 Adding Search Templates 1 Search Template SQL Statements... 4 Required Fields...

More information

Chapter-6 Classes and Objects. stud.execute(); getch();} Output:

Chapter-6 Classes and Objects. stud.execute(); getch();} Output: Chapter-6 Classes and Objects Examples: 1.Specifying a class: class student char name[30]; int rollno,mark1,mark2,total_marks; void accept() cout>name>>rollno>>mark1>>mark2;

More information

Maharaja Agrasen Model School Sample Paper Subject: Informatics Practices

Maharaja Agrasen Model School Sample Paper Subject: Informatics Practices Time: 3Hours Q-1 Answer the following questions: Maharaja Agrasen Model School Sample Paper Subject: Informatics Practices Maximum Marks:70 1.1 Which protocol is used for transfer of hyper text documents

More information

INDIAN SCHOOL MUSCAT FIRST PRELIMINARY EXAMINATION 2017 INFORMATICS PRACTICES

INDIAN SCHOOL MUSCAT FIRST PRELIMINARY EXAMINATION 2017 INFORMATICS PRACTICES Roll Number Code Number 065/ INDIAN SCHOOL MUSCAT FIRST PRELIMINARY EXAMINATION 07 INFORMATICS PRACTICES CLASS: XII Sub. Code: 065 Time Allotted: 3 Hrs...07 Max. Marks: 70 Instructions:. All the questions

More information

More on Arrays CS 16: Solving Problems with Computers I Lecture #13

More on Arrays CS 16: Solving Problems with Computers I Lecture #13 More on Arrays CS 16: Solving Problems with Computers I Lecture #13 Ziad Matni Dept. of Computer Science, UCSB Announcements Homework #12 due today No homework assigned today!! Lab #7 is due on Monday,

More information

Previous Year Nagarro Questions

Previous Year Nagarro Questions TECHNICAL QUESTIONS: Q1. Write a function to give demonstrate the functionality of 3D matrix in 1D matirx. Function prototye: void set (int value, int index X, int index Y, int index Z, int [] 1dArray);

More information

Downloaded from

Downloaded from Lesson 16: Table and Integrity Constraints Integrity Constraints are the rules that a database must follow at all times. Various Integrity constraints are as follows:- 1. Not Null: It ensures that we cannot

More information

Answer Key a reference section in the back of the Student Reference Book (SRB) that gives answers to sample problems

Answer Key a reference section in the back of the Student Reference Book (SRB) that gives answers to sample problems Answer Key a reference section in the back of the Student Reference Book (SRB) that gives answers to sample problems Arrow Rule an operation that determines the number that goes into the next frame in

More information

Relational Database Development

Relational Database Development Instructor s Relational Database Development Views, Indexes & Security Relational Database Development 152-156 Views, Indexes & Security Quick Links & Text References View Description Pages 182 183 187

More information

Creating and using reports

Creating and using reports L E S S O N 6 Creating and using reports Lesson objectives To present data from your tables, you will need to generate reports. To create and use reports, you will: a b Create a standard report with data

More information

Programming Logic and Design Sixth Edition

Programming Logic and Design Sixth Edition Objectives Programming Logic and Design Sixth Edition Chapter 6 Arrays In this chapter, you will learn about: Arrays and how they occupy computer memory Manipulating an array to replace nested decisions

More information

Syllabus for Bachelor of Technology. Information Technology. Subject Code: 01CE1302. Subject Name: Database Management System. B.Tech.

Syllabus for Bachelor of Technology. Information Technology. Subject Code: 01CE1302. Subject Name: Database Management System. B.Tech. Subject Code: 01CE1302 Subject Name: Database Management System B.Tech. Year - II Objective: A major purpose of a database system is to provide users with an abstract view of the data. The lowest level

More information

DATABASE TECHNOLOGY. Spring An introduction to database systems

DATABASE TECHNOLOGY. Spring An introduction to database systems 1 DATABASE TECHNOLOGY Spring 2007 An introduction to database systems Kjell Orsborn Uppsala Database Laboratory Department of Information Technology, Uppsala University, Uppsala, Sweden 2 Introduction

More information

WHAT IS SQL. Database query language, which can also: Define structure of data Modify data Specify security constraints

WHAT IS SQL. Database query language, which can also: Define structure of data Modify data Specify security constraints SQL KEREM GURBEY WHAT IS SQL Database query language, which can also: Define structure of data Modify data Specify security constraints DATA DEFINITION Data-definition language (DDL) provides commands

More information

Class XII Informatics Practices Sample Question Paper Time allowed: 3 Hours Max. Marks: 70

Class XII Informatics Practices Sample Question Paper Time allowed: 3 Hours Max. Marks: 70 Class XII Informatics Practices Sample Question Paper 08-9 Time allowed: 3 Hours Max. Marks: 70 General Instructions: All questions are compulsory, however question number, and 6 have internal choices.

More information

Microsoft Access 2016 Intro to Select Queries

Microsoft Access 2016 Intro to Select Queries Microsoft Access 2016 Intro to Select Queries training@health.ufl.edu Access 2016: Intro to Select Queries 2.0 hours Queries compile data from tables into a desired dataset. You can choose multiple fields

More information

List of Practical for Class XII Computer Science

List of Practical for Class XII Computer Science List of Practical for Class XII Computer Science P.01. Write a complete C++ program to define class Garment with following description: Private members: Code - type string Type - type string Size - type

More information

BLUE PRINT. S.No. Topic Marks 1 Java Programming 30 2 Database concepts 35 3 IT Applications 5

BLUE PRINT. S.No. Topic Marks 1 Java Programming 30 2 Database concepts 35 3 IT Applications 5 BLUE PRINT S.No. Topic Marks 1 Java Programming 30 2 Database concepts 35 3 IT Applications 5 KENDRIYA VIDYALAYA NO.2 TAMBARAM, CHENNAI 73 HALF YEARLY EXAM 2015 CLASS : XII MARKS : 70 SUB : INFORMATICS

More information