THE INDIAN COMMUNITY SCHOOL, KUWAIT

Size: px
Start display at page:

Download "THE INDIAN COMMUNITY SCHOOL, KUWAIT"

Transcription

1 THE INDIAN COMMUNITY SCHOOL, KUWAIT SERIES : II MID TERM /FN/ CODE : M 065 TIME ALLOWED : 2 HOURS NAME OF STUDENT : MAX. MARKS : 50 ROLL NO. :.. CLASS/SEC :.. NO. OF PAGES : 3 INFORMATICS PRACTICES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1) Answer the following questions: 10x2= a) What is Mysql? What are its Characteristics? b) Classify Mysql according to its Category. Explain each. c) What is the difference between char() and varchar(). d) Differentiate between primary key and unique key. e) Differentiate between drop table and delete with example. f) How the Alternate Key different from Candidate key. g) What are Constraints?. What are the different types of Constraints. Explain. h) What is a MySQL function? What are the different types of functions Explain with example. i) Write the syntax for the following: I. To Extract the name of the weekday for the date passed II. To return the Numerical value of a Character j) Write the syntax for the following: i. To Search the first occurrence of a character in the string ii. To check the given number is positive or negative 2) Write an SQL query to create a table Employee with proper Syntax and constraints. 2 Attribute Data type Size Constraint Ecode Integer 10 Not Null, Primary key Ename Varchar Not Null Sex Char 1 Not Null Grade Char 2 Default grade = E1 Gross Decimal 10 Check Gross should be morethan 00. Deptno Integer 6 Default can be 10 3) Write SQL commands for the table Club given below: 3x1=3 Table: CLUB Cid Coachname Age Sports DateofApp Pay Sex 1 Ravina 34 Karate F 2 Kukreja 35 Karate M 3 Karan 34 Squash Null M 4 Tarun 33 BasketBall M 5 Ketaki 36 Swimming F

2 a) Display all the female coaches in alphabetical order who joined after 1998 with salary more than b) Add a new column address into the table CLUB. c) To Delete the table club including its structure. 4) Write SQL commands for the table Teacher given below. 12x1=12 Table: TEACHER No. Name Age Department Dateofjoin Salary Sex 1 Zainab 34 Computer M 2 Sharmila 31 History F 3 Sandeep 32 Maths M 4 Aswini 35 Computer F 5 Rakesh 42 Maths M 6 Shyam 50 History M 7 Shiva 44 Computer M 8 Shalakha 33 Maths F a) To list the names of all teachers in uppercase with their date of join in descending order. b) Increase the salary of all male teacher by 10% whose age is not in the range of to 40. c) To insert a new row in the table with the following data without using null : 10, Rajesh, Computer, M d) Display the name starts with S,ends with a only from Computer and Maths department. e) Delete all the teachers who joined in the month of June Display all the teachers in the following format: <name> were working in <department> drawing <salary> f) To list all teachers whose annual salary is more than 200. g) Remove the column called age from the table teacher. h) Display different departments from teacher table. Write the Output for the following: i) Select dayofmonth (dateofjoin), name from teacher where salary between 0 and 0; j) Select substr (name,2,3) from teacher where department = computer order by name; k) Select year (dateofjoin) + Month(dateofjoin) from teacher where age > 35 ; l) Select round (salary, -1) + truncate (salary, -2) from teacher where sex = M ; 5) Find the output for the following : 13x1=13 Table : emp Empno Ename Job Mgr Hiredate Sal Comm Deptno 8369 SMITHA CLERK ANYA SETH DEVAN MOMIN BINA MANAGER PRESIDENT ANALYST a) Select ename,comm from emp where length( ename ) < 5 and comm Is not null. b) Select substr( ename,-3 ), left (job,3) from emp where deptno= ; c) Select * from emp order by deptno desc ; d) Select year ( hiredate ) + month( hiredate) from emp where ename like %n ;

3 e) Select ename from emp where Sal >= 00 and year( hiredate ) between 1991 and 1992; f) SELECT RIGHT ( LEFT ( software, 5), 2); g) SELECT INSTR ( SUBSTR ( PROGRAMMING IS FUN,8,9 ), U ) ; h) SELECT DAYOFYEAR (CURDATE()) + DAYOFMONTH ( ); i) SELECT ROUND (76.987, -2) + TRUNCATE (999.99,-1); j) SELECT MOD (-27,4) + POW (2,6) ; k) SELECT CHAR(50,70,100) + ASCII( BAD ); l) SELECT LEFT(RIGHT( MATHEMATICS,8),5); m) SELECT SUBSTR(LEFT( MATHEMATICS,8),-5); #####################

4 The Indian Community School,Kuwait II mid semester Examination Class XI Informatics Practices Answer key Time 2 hrs Marks : 50 2) Answer the following questions: k) Definition Mysql (1) Characteristics (1) l) Classify Mysql according to its Category. Explain each. m) Difference between char() and varchar(). n) Difference between primary key and unique key. o) Difference between drop table and delete with example. p) Difference between Alternate Key different from Candidate key. q) Definition of Constraints. types. r) MySQL function. types. s) Write the syntax for the following: III. Dayname() IV. ASCII() t) Write the syntax for the following: iii. INSTR() iv. SIGN() 6) Create table Employee 7) Write SQL commands for the table Club given below: Table: CLUB Cid Coachname Age Sports DateofApp Pay Sex 1 Ravina 34 Karate F 2 Kukreja 35 Karate M 3 Karan 34 Squash Null M 4 Tarun 33 BasketBall M 5 Ketaki 36 Swimming F d) Select command syntax (1) e) Alter table syntax.(1) f) Drop table club. (1) 8) SQL commands for the table Teacher given below. 12x1=12 Table: TEACHER No. Name Age Department Dateofjoin Salary Sex 1 Zainab 34 Computer M 2 Sharmila 31 History F 3 Sandeep 32 Maths M 4 Aswini 35 Computer F 5 Rakesh 42 Maths M 6 Shyam 50 History M 7 Shiva 44 Computer M 8 Shalakha 33 Maths F m) Select syntax with ucase / order by. n) Update syntax / between. o) Insert into teacher (col name) values(10, Rajesh, Computer, M ) p) Select syntax with in clause. q) Delete command with month / year function. r) Select syntax with <name> were working in <department> drawing <salary> s) Select syntax with salary*12 >200. t) Alter table teacher drop age. u) Select distinct (departments) from teacher.

5 Write the Output for the following: v) Select dayofmonth (dateofjoin), name from teacher where salary between 0 and 0; w) Select substr (name,2,3) from teacher where department = computer order by name; x) Select year (dateofjoin) + Month(dateofjoin) from teacher where age > 35 ; y) Select round (salary, -1) + truncate (salary, -2) from teacher where sex = M ; 9) Find the output for the following : 13x1=13 Table : emp Empno Ename Job Mgr Hiredate Sal Comm Deptno SMITHA ANYA SETH DEVAN MOMIN BINA CLERK MANAGER PRESIDENT ANALYST n) Select ename,comm from emp where length( ename ) < 5 and comm Is not null. o) Select substr( ename,-3 ), left (job,3) from emp where deptno= ; p) Select * from emp order by deptno desc ; q) Select year ( hiredate ) + month( hiredate) from emp where ename like %n ; r) Select ename from emp where Sal >= 00 and year( hiredate ) between 1991 and 1992; s) tw; t) 0; u) DAYOFYEAR (CURDATE()) + DAYOFMONTH ( ); v) ; w) ; x) 2E66; y) HEMAT; z) HEMATICS; #####################

Assignment No. 1 DBMS CONCEPTS

Assignment No. 1 DBMS CONCEPTS Assignment No. 1 DBMS CONCEPTS TYPE A : VERY SHORT ANSWER QUESTIONS 1. What is data redundancy? What are the problems associated with it? 2. How do data base management systems overcome the problems associated

More information

INFORMATICS PRACTICES (065)

INFORMATICS PRACTICES (065) Roll No. Code : 112011-065-A Please check that this question paper contains 7 questions and 8 printed pages. CLASS-XI INFORMATICS PRACTICES (065) Time Allowed : 3 Hrs. Maximum Marks : 70 General Instructions

More information

Question Bank. Class : XII( ) Subject : Informatics Practices(065)

Question Bank. Class : XII( ) Subject : Informatics Practices(065) Question Bank Class : XII(2017-18) Subject : Informatics Practices(065) 1. What is the purpose of modem? [1] 2. Define Domain Name Resolution. [1] 3. What do you mean by transmission media? Name the type

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

INTRODUCTION TO MYSQL MySQL : It is an Open Source RDBMS Software that uses Structured Query Language. It is available free of cost. Key Features of MySQL : MySQL Data Types: 1. High Speed. 2. Ease of

More information

Q5 Question Based on SQL & Database Concept Total Marks 8. Theory Question 2 Marks / SQL Commands 6 Marks / Output of commands 2 Marks

Q5 Question Based on SQL & Database Concept Total Marks 8. Theory Question 2 Marks / SQL Commands 6 Marks / Output of commands 2 Marks Q5 Question Based on SQL & Database Concept Total Marks 8 Theory Question 2 Marks / SQL Commands 6 Marks / Output of commands 2 Marks Q1 Define the Following with example i) Primary Key ii) Foreign Key

More information

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement GIFT Department of Computing Science [Spring 2013] CS-217: Database Systems Lab-2 Manual Data Selection and Filtering using the SELECT Statement V1.0 4/12/2016 Introduction to Lab-2 This lab reinforces

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

INDIAN SCHOOL SOHAR FINAL EXAMINATION ( ) INFORMATICS PRACTICES (065)

INDIAN SCHOOL SOHAR FINAL EXAMINATION ( ) INFORMATICS PRACTICES (065) INDIAN SCHOOL SOHAR FINAL EXAMINATION (2015-2016) INFORMATICS PRACTICES (065) No. of printed pages: 5 Please check that this question paper contains 5 printed pages. Please check that this question paper

More information

SQL Structured Query Language Introduction

SQL Structured Query Language Introduction SQL Structured Query Language Introduction Rifat Shahriyar Dept of CSE, BUET Tables In relational database systems data are represented using tables (relations). A query issued against the database also

More information

SQL. - single row functions - Database Design ( 데이터베이스설계 ) JUNG, Ki-Hyun ( 정기현 )

SQL. - single row functions - Database Design ( 데이터베이스설계 ) JUNG, Ki-Hyun ( 정기현 ) SQL Database Design ( 데이터베이스설계 ) - single row functions - JUNG, Ki-Hyun ( 정기현 ) 1 SQL Functions Input Function Output Function performs action that defined already before execution 2 Two Types of SQL Functions

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

SESSION ENDING EXAMINATION CLASS XI SUBJECT : INFORMATICS PRACTICES (065) Time Allowed : 3 Hrs. Max Marks : 70

SESSION ENDING EXAMINATION CLASS XI SUBJECT : INFORMATICS PRACTICES (065) Time Allowed : 3 Hrs. Max Marks : 70 SESSION ENDING EXAMINATION CLASS XI SUBJECT : INFORMATICS PRACTICES (065) Time Allowed : 3 Hrs. Max Marks : 70 Note : 1-This question paper is divided into three sections. 2- Section-A and Section-B are

More information

Chapter 14: MySQL Revision Tour. Informatics Practices Class XII. By- Rajesh Kumar Mishra. KV No.1, AFS, Suratgarh (Raj.)

Chapter 14: MySQL Revision Tour. Informatics Practices Class XII. By- Rajesh Kumar Mishra. KV No.1, AFS, Suratgarh (Raj.) Chapter 14: MySQL Revision Tour Informatics Practices Class XII By- Rajesh Kumar Mishra PGT (Comp.Sc.) KV No.1, AFS, Suratgarh (Raj.) e-mail : rkmalld@gmail.com What is the Database? A database is a collection

More information

KENDRIYA VIDYALAYA SANGATHAN CLASS XII BOARD EXAMINATION INFORMATICS PREACITES (065)

KENDRIYA VIDYALAYA SANGATHAN CLASS XII BOARD EXAMINATION INFORMATICS PREACITES (065) KENDRIYA VIDYALAYA SANGATHAN CLASS XII BOARD EXAMINATION INFORMATICS PREACITES (065) Time allowed: 3 hours Maximum Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming language :

More information

KENDRIYA VIDYALAYA ONGC PANVELSESSION ENDING EXAM

KENDRIYA VIDYALAYA ONGC PANVELSESSION ENDING EXAM KENDRIYA VIDYALAYA ONGC PANVELSESSION ENDING EXAM - 2013 KENDRIYA VIDYALAYA ONGC, PANVEL SESSION ENDING EXAMINATION 2012 SEE Set-2-2013 CLASS XI SUBJECT : INFORMATICS PRACTICES (065) Time Allowed : 3 Hrs.

More information

CS2 Current Technologies Lecture 2: SQL Programming Basics

CS2 Current Technologies Lecture 2: SQL Programming Basics T E H U N I V E R S I T Y O H F R G E D I N B U CS2 Current Technologies Lecture 2: SQL Programming Basics Dr Chris Walton (cdw@dcs.ed.ac.uk) 4 February 2002 The SQL Language 1 Structured Query Language

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

Visit for more.

Visit  for more. Chapter 10: MySQL Functions Informatics Practices Class XI (CBSE Board) Revised as per CBSE Curriculum 2015 Visit www.ip4you.blogspot.com for more. Authored By:- Rajesh Kumar Mishra, PGT (Comp.Sc.) Kendriya

More information

Sample Paper 2011 Class XII Subject Informatics Practices Time 03 hrs Max Marks 70 General Instructions:- 1. All questions are compulsory. 2. Question paper carries A, B & C Three parts. 3. Section A is

More information

Visit for more.

Visit  for more. Chapter 8: MySQL Revision Tour Informatics Practices Class XII (CBSE Board) Revised as per CBSE Curriculum 2015 Visit www.ip4you.blogspot.com for more. Authored By:- Rajesh Kumar Mishra, PGT (Comp.Sc.)

More information

SAMPLE PAPER CLASS XII SUBJECT Informatics Practices

SAMPLE PAPER CLASS XII SUBJECT Informatics Practices http:/// Time : 3 hrs. SAMPLE PAPER CLASS XII SUBJECT Informatics Practices MM:70 A. Answer the following questions. A.1 Expand the following terms: FLOSS and ODF (1) A.2 Sun Beam Connectivity Association

More information

Index for C++ Programming

Index for C++ Programming Computer Science (083) Practical File for Class XII Session 2018-19 Index for C++ Programming Name: Section: Roll No.: SN. Program Description Date Sign. 1. Write a C++ program to calculate the multiplication

More information

Objectives. After completing this lesson, you should be able to do the following:

Objectives. After completing this lesson, you should be able to do the following: Objectives After completing this lesson, you should be able to do the following: Describe the types of problems that subqueries can solve Define subqueries List the types of subqueries Write single-row

More information

CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries

CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries T E H U N I V E R S I T Y O H F R G E D I N B U CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries Chris Walton (cdw@dcs.ed.ac.uk) 11 February 2002 Multiple Tables 1 Redundancy requires excess

More information

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST PRE-BOARD EXAMINATION

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST PRE-BOARD EXAMINATION KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST PRE-BOARD EXAMINATION 04-5 INFORMATICS PRACTICES Time allowed: 3 hours Maximum Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming

More information

INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION. Subject- Informatics Practices

INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION. Subject- Informatics Practices Grade- XI INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION Unit 1 Programming and Computational Thinking Chapter 1 Introduction to Computer Systems 1. What are the functions of computer? 2. What

More information

Chapter 12 DBMS Concepts

Chapter 12 DBMS Concepts Chapter 12 DBMS Concepts Manish Kumar Prajapati PGT (Comp.Sc.) (First Shift) Kendriya Vidyalaya Bailey Road Patna-14 What is the Database? A database is a collection of interrelated data stored together

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

GIFT Department of Computing Science. [Spring 2016] CS-217: Database Systems. Lab-3 Manual. Single Row Functions in SQL

GIFT Department of Computing Science. [Spring 2016] CS-217: Database Systems. Lab-3 Manual. Single Row Functions in SQL GIFT Department of Computing Science [Spring 2016] CS-217: Database Systems Lab-3 Manual Single Row Functions in SQL V3.0 4/26/2016 Introduction to Lab-3 Functions make the basic query block more powerful,

More information

Chapter 9: Working with MySQL

Chapter 9: Working with MySQL Chapter 9: Working with MySQL Informatics Practices Class XI (CBSE Board) Revised as per CBSE Curriculum 2015 Visit www.ip4you.blogspot.com for more. Authored By:- Rajesh Kumar Mishra, PGT (Comp.Sc.) Kendriya

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

Databases. Relational Model, Algebra and operations. How do we model and manipulate complex data structures inside a computer system? Until

Databases. Relational Model, Algebra and operations. How do we model and manipulate complex data structures inside a computer system? Until Databases Relational Model, Algebra and operations How do we model and manipulate complex data structures inside a computer system? Until 1970.. Many different views or ways of doing this Could use tree

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

King Fahd University of Petroleum and Minerals

King Fahd University of Petroleum and Minerals 1 King Fahd University of Petroleum and Minerals Information and Computer Science Department ICS 334: Database Systems Semester 041 Major Exam 1 18% ID: Name: Section: Grades Section Max Scored A 5 B 25

More information

Subodh Public School

Subodh Public School Subodh Public School08-9 Final Exam Class:Scholars (XI) Subject :- Informatics Practices Answer Key Q. Section-A 0 Marks A a)machine failure (b) Program failure (c) Operating failure (d) Control procedures

More information

QUESTION BANK CLASS- XI ( INFORMATICS PRACTICES)

QUESTION BANK CLASS- XI ( INFORMATICS PRACTICES) QUESTION BANK-2017-18 CLASS- XI ( INFORMATICS PRACTICES) Q1. (a) What will be the value of j = -- k + 2* k+ (l = k, l++) if k is 20 initially. (b) What do you mean by token? (c) What is byte code? (d)

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

1 SQL Structured Query Language

1 SQL Structured Query Language 1 SQL Structured Query Language 1.1 Tables In relational database systems (DBS) data are represented using tables (relations). A query issued against the DBS also results in a table. A table has the following

More information

CS2 Current Technologies Note 1 CS2Bh

CS2 Current Technologies Note 1 CS2Bh CS2 Current Technologies Note 1 Relational Database Systems Introduction When we wish to extract information from a database, we communicate with the Database Management System (DBMS) using a query language

More information

1. Answer the following questions: a. Explain Real Time OS.

1. Answer the following questions: a. Explain Real Time OS. SECOND TERMINAL EXAMINATION, 2014 INFORMATICS PRACTICES Time : 3 hrs. Class XI M.M. : 70 Date 26.02.2014 Important instructions: This question paper contains 7 questions. All the questions are compulsory.

More information

Q1. (SQL) Consider the following table HOSPITAL. Write SQL commands for the statements (i) to (v)

Q1. (SQL) Consider the following table HOSPITAL. Write SQL commands for the statements (i) to (v) Q1. (SQL) Consider the following table HOSPITAL. Write SQL commands for the statements (i) to Table : HOSPITAL No Name Age Department Date of adm Charges Sex 1 Arpit 62 Surgery 21.01.98 300 M 2 Zarina

More information

INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION

INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION Grade- XI COMPUTER SCIENCE Unit I Programming and Computational Thinking 1. What are the functions of computer? 2. Briefly explain the basic architecture

More information

RDBMS Using Oracle. BIT-4 Lecture Week 3. Lecture Overview

RDBMS Using Oracle. BIT-4 Lecture Week 3. Lecture Overview RDBMS Using Oracle BIT-4 Lecture Week 3 Lecture Overview Creating Tables, Valid and Invalid table names Copying data between tables Character and Varchar2 DataType Size Define Variables in SQL NVL and

More information

Sample Paper for class XII IP with Answers Prepared by Successbook Group Sub: - Informatics Practices Total Marks :70 Time:3hr

Sample Paper for class XII IP with Answers Prepared by Successbook Group Sub: - Informatics Practices Total Marks :70 Time:3hr Sample Paper for class XII IP with Answers Prepared by Successbook Group Sub: - Informatics Practices Total Marks :70 Time:3hr 1. (a.) Why do we use repeater? A repeater is used to regenerate data and

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

UNIT-3 RELATIONAL DATABASE MANAGEMENT SYSTEM

UNIT-3 RELATIONAL DATABASE MANAGEMENT SYSTEM UNIT-3 RELATIONAL DATABASE MANAGEMENT SYSTEM Data: Basic/raw facts about something which is not organized, for example details of some students which is not organized. Data Item: Each piece of information

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

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

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

15. INFORMATICS PRACTICES (CODE: 065)

15. INFORMATICS PRACTICES (CODE: 065) Learning Objectives: 15. INFORMATICS PRACTICES (CODE: 065) To gain working knowledge of a computer system including peripherals To understand the application development process. To gain programming skills

More information

1 SQL Structured Query Language

1 SQL Structured Query Language 1 SQL Structured Query Language 1.1 Tables In relational database systems (DBS) data are represented using tables (relations). A query issued against the DBS also results in a table. A table has the following

More information

Unit 1 - Chapter 4,5

Unit 1 - Chapter 4,5 Unit 1 - Chapter 4,5 CREATE DATABASE DatabaseName; SHOW DATABASES; USE DatabaseName; DROP DATABASE DatabaseName; CREATE TABLE table_name( column1 datatype, column2 datatype, column3 datatype,... columnn

More information

Deepak Bhinde PGT Comp. Sc.

Deepak Bhinde PGT Comp. Sc. Deepak Bhinde PGT Comp. Sc. SQL Elements in MySQL Literals: Literals refers to the fixed data value. It may be Numeric or Character. Numeric literals may be integer or real numbers and Character literals

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

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

Kendriya Vidyalaya Sangathan (Chandigarh Region) Blue Print of Question Paper Class: XI Subject: Informatics Practices Session

Kendriya Vidyalaya Sangathan (Chandigarh Region) Blue Print of Question Paper Class: XI Subject: Informatics Practices Session Kendriya Vidyalaya Sangathan (Chandigarh Region) Blue Print of Question Paper Class: XI Subject: Informatics Practices Session 2017-18 S.No. Unit Very Short Answer Short Answer-I Short Answer-II Long Answer

More information

Introduction. Introduction to Oracle: SQL and PL/SQL

Introduction. Introduction to Oracle: SQL and PL/SQL Introduction Introduction to Oracle: SQL and PL/SQL 1 Objectives After completing this lesson, you should be able to do the following: Discuss the theoretical and physical aspects of a relational database

More information

Databases - 4. Other relational operations and DDL. How to write RA expressions for dummies

Databases - 4. Other relational operations and DDL. How to write RA expressions for dummies Databases - 4 Other relational operations and DDL How to write RA expressions for dummies Step 1: Identify the relations required and CP them together Step 2: Add required selections to make the CP Step

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

Table : Purchase. Field DataType Size Constraints CustID CHAR 5 Primary key CustName Varchar 30 ItemName Varchar 30 PurchaseDate Date

Table : Purchase. Field DataType Size Constraints CustID CHAR 5 Primary key CustName Varchar 30 ItemName Varchar 30 PurchaseDate Date Q1. Write SQL query for the following : (i) To create above table as per specification given (ii) To insert 02 records as per your choice (iii) Display the Item name, qty & s of all items purchased by

More information

CLASS XII INFORMATICS PRACTICES ACADEMIC SESSION FORTNIGHTLY BREAKUP OF SYLLABUS. Main Topic Sub Topics Pds Total Pds

CLASS XII INFORMATICS PRACTICES ACADEMIC SESSION FORTNIGHTLY BREAKUP OF SYLLABUS. Main Topic Sub Topics Pds Total Pds S. No Fortnight 1 19 th March 28 March (Block Teaching) Total no of days CLASS XII INFORMATICS PRACTICES ACADEMIC SESSION 2018-2019 FORTNIGHTLY BREAKUP OF SYLLABUS Main Topic Sub Topics Pds Total Pds 8

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

THE INDIAN COMMUNITY SCHOOL, KUWAIT

THE INDIAN COMMUNITY SCHOOL, KUWAIT THE INDIAN COMMUNITY SCHOOL, KUWAIT SERIES : II TERM /FN/ 2018-2019 CODE :N 065 TIME ALLOWED :3 HOURS NAME OF STUDENT : MAX. MARKS :70 ROLL NO. :.. CLASS/SEC :.. NO. OF PAGES :5 INFORMATICS PRACTICES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

More information

PRACTICAL ASSIGNMENTS [LAB WORK] CLASS XII IP

PRACTICAL ASSIGNMENTS [LAB WORK] CLASS XII IP Experiment No. 1: PRACTICAL ASSIGNMENTS [LAB WORK] CLASS XII IP Objective: Understanding and use of variables of float and other data types. Task: Develop a simple Calculator application as per given screen

More information

UNIT III-DATA MANAGEMENT-1 COMPLETE NOTES

UNIT III-DATA MANAGEMENT-1 COMPLETE NOTES UNIT III-DATA MANAGEMENT-1 COMPLETE NOTES MYSQL It is freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language(SQL). In MySQL database, information

More information

Create Rank Transformation in Informatica with example

Create Rank Transformation in Informatica with example Create Rank Transformation in Informatica with example Rank Transformation in Informatica. Creating Rank Transformation in Inforamtica. Creating target definition using Target designer. Creating a Mapping

More information

Q.1 Short Questions Marks 1. New fields can be added to the created table by using command. a) ALTER b) SELECT c) CREATE. D. UPDATE.

Q.1 Short Questions Marks 1. New fields can be added to the created table by using command. a) ALTER b) SELECT c) CREATE. D. UPDATE. ID No. Knowledge Institute of Technology & Engineering - 135 BE III SEMESTER MID EXAMINATION ( SEPT-27) PAPER SOLUTION Subject Code: 2130703 Date: 14/09/27 Subject Name: Database Management Systems Branches:

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

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES INDIAN SCHOOL SOHAR FIRST TERM EXAM (2015-2016) INFORMATICS PRACTICES Page 1 of 5 No. of printed pages: 5 Class: XI Marks: 70 Date: 10-09-15 Time: 3 hours Instructions: a. All the questions are compulsory.

More information

@vmahawar. Agenda Topics Quiz Useful Links

@vmahawar. Agenda Topics Quiz Useful Links @vmahawar Agenda Topics Quiz Useful Links Agenda Introduction Stakeholders, data classification, Rows/Columns DDL Data Definition Language CREATE, ALTER, DROP, TRUNCATE CONSTRAINTS, DATA TYPES DML Data

More information

Chapter 17: Table & Integrity Contraints. Informatics Practices Class XII. By- Rajesh Kumar Mishra. KV No.1, AFS, Suratgarh

Chapter 17: Table & Integrity Contraints. Informatics Practices Class XII. By- Rajesh Kumar Mishra. KV No.1, AFS, Suratgarh Chapter 17: Table & Integrity Contraints Informatics Practices Class XII By- Rajesh Kumar Mishra PGT (Comp.Sc.) KV No.1, AFS, Suratgarh e-mail : rkmalld@gmail.com Integrity Constraints One of the major

More information

ASSIGNMENT NO 2. Objectives: To understand and demonstrate DDL statements on various SQL objects

ASSIGNMENT NO 2. Objectives: To understand and demonstrate DDL statements on various SQL objects ASSIGNMENT NO 2 Title: Design and Develop SQL DDL statements which demonstrate the use of SQL objects such as Table, View, Index, Sequence, Synonym Objectives: To understand and demonstrate DDL statements

More information

KENDRIYA VIDYALAYA NO 1 AFS JALAHALLI (WEST) PRE BOARD INFORMATICS PRACTICE Class XII

KENDRIYA VIDYALAYA NO 1 AFS JALAHALLI (WEST) PRE BOARD INFORMATICS PRACTICE Class XII MM: 70 KENDRIYA VIDYALAYA NO AFS JALAHALLI (WEST) PRE BOARD- 0 INFORMATICS PRACTICE Class XII TIME: 3:00 HRS Note: There are 7 Questions and all questions are compulsory. Q. a) Abir wants to establish

More information

Pivot Tables Motivation (1)

Pivot Tables Motivation (1) Pivot Tables The Pivot relational operator (available in some SQL platforms/servers) allows us to write cross-tabulation queries from tuples in tabular layout. It takes data in separate rows, aggregates

More information

Sample Question Paper

Sample Question Paper Sample Question Paper Marks : 70 Time:3 Hour Q.1) Attempt any FIVE of the following. a) List any four applications of DBMS. b) State the four database users. c) Define normalization. Enlist its type. d)

More information

SECOND TERMINAL EXAMINATION, 2017 INFORMATICS PRACTICES

SECOND TERMINAL EXAMINATION, 2017 INFORMATICS PRACTICES SECOND TERINAL EXAINATION, 2017 INFORATICS PRACTICES Time : 3 hrs. Class XI.. : 70 Date - 25.02.2017 (Saturday) Name of the student Section Important instructions: All questions are compulsory. Answer

More information

Programming Languages

Programming Languages Programming Languages Chapter 19 - Continuations Dr. Philip Cannata 1 Exceptions (define (f n) (let/cc esc (/ 1 (if (zero? n) (esc 1) n)))) > (f 0) 1 > (f 2) 1/2 > (f 1) 1 > Dr. Philip Cannata 2 Exceptions

More information

Creating and Managing Tables Schedule: Timing Topic

Creating and Managing Tables Schedule: Timing Topic 9 Creating and Managing Tables Schedule: Timing Topic 30 minutes Lecture 20 minutes Practice 50 minutes Total Objectives After completing this lesson, you should be able to do the following: Describe the

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

I MID SEMESTER. The Indian Community School Kuwait Informatics Practices Year Plan for Class XI

I MID SEMESTER. The Indian Community School Kuwait Informatics Practices Year Plan for Class XI Year Plan for Class XI 0-7 Term Month Week Portions Unit : Introduction to Programming-Introduction, Rapid Application Development using IDE (Integrated Development Environment);Familiarization of IDE

More information

ajpatelit.wordpress.com

ajpatelit.wordpress.com ALPHA COLLEGE OF ENGINEERING & TECHNOLOGY COMPUTER ENGG. / INFORMATION TECHNOLOGY Database Management System (2130703) All Queries 1. Write queries for the following tables. T1 ( Empno, Ename, Salary,

More information

Real-World Performance Training SQL Introduction

Real-World Performance Training SQL Introduction Real-World Performance Training SQL Introduction Real-World Performance Team Basics SQL Structured Query Language Declarative You express what you want to do, not how to do it Despite the name, provides

More information

IBM A Assessment: DB2 9 Fundamentals-Assessment. Download Full Version :

IBM A Assessment: DB2 9 Fundamentals-Assessment. Download Full Version : IBM A2090-730 Assessment: DB2 9 Fundamentals-Assessment Download Full Version : http://killexams.com/pass4sure/exam-detail/a2090-730 C. 2 D. 3 Answer: C QUESTION: 294 In which of the following situations

More information

Based on the following Table(s), Write down the queries as indicated: 1. Write an SQL query to insert a new row in table Dept with values: 4, Prog, MO

Based on the following Table(s), Write down the queries as indicated: 1. Write an SQL query to insert a new row in table Dept with values: 4, Prog, MO Based on the following Table(s), Write down the queries as indicated: 1. Write an SQL query to insert a new row in table Dept with values: 4, Prog, MO INSERT INTO DEPT VALUES(4, 'Prog','MO'); The result

More information

Downloaded from Set :B SECTION A

Downloaded from   Set :B SECTION A Sample Paper 2014 Class XII Subject Informatics Practices Set :B Time : 3 Hours M.M. 70 M SECTION A Q1. (a)write the two advantage and two disadvantages of the following topologies in network (i) Bus Topologies

More information

Downloaded from

Downloaded from Unit-III DATABASES MANAGEMENT SYSTEM AND SQL DBMS & Structured Query Language Chapter: 07 Basic Database concepts Data : Raw facts and figures which are useful to an organization. We cannot take decisions

More information

IBM DB2 9 Family Fundamentals. Download Full Version :

IBM DB2 9 Family Fundamentals. Download Full Version : IBM 000-730 DB2 9 Family Fundamentals Download Full Version : http://killexams.com/pass4sure/exam-detail/000-730 Answer: D QUESTION: 292 The EMPLOYEE table contains the following information: EMPNO NAME

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

CHAPTER 11 INTRODUCTION TO MySQL

CHAPTER 11 INTRODUCTION TO MySQL CHAPTER 11 INTRODUCTION TO MySQL MYSQL It is freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language(SQL). In MySQL database, information is stored

More information

Trigger is a stored procedure which is called implicitly by oracle engine whenever a insert, update or delete statement is fired.

Trigger is a stored procedure which is called implicitly by oracle engine whenever a insert, update or delete statement is fired. Aim:- TRIGGERS Trigger is a stored procedure which is called implicitly by oracle engine whenever a insert, update or delete statement is fired. Advantages of database triggers: ---> Data is generated

More information

Part III. Data Modelling. Marc H. Scholl (DBIS, Uni KN) Information Management Winter 2007/08 1

Part III. Data Modelling. Marc H. Scholl (DBIS, Uni KN) Information Management Winter 2007/08 1 Part III Data Modelling Marc H. Scholl (DBIS, Uni KN) Information Management Winter 2007/08 1 Outline of this part (I) 1 Introduction to the Relational Model and SQL Relational Tables Simple Constraints

More information

Tables From Existing Tables

Tables From Existing Tables Creating Tables From Existing Tables After completing this module, you will be able to: Create a clone of an existing table. Create a new table from many tables using a SQL SELECT. Define your own table

More information

SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY ADITYA SILVER OAK INSTITUTE OF TECHNOLOGY

SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY ADITYA SILVER OAK INSTITUTE OF TECHNOLOGY BE - SEMESTER III MID SEMESTER-I EXAMINATION WINTER 2017 SUBJECT: ENGINEERING ECONOMICS AND MANAGEMENT (2130004) (CE/IT/EC/EE) DATE: 04/08/2017 TIME: 10:00 am to 11:30 am TOTAL MARKS:40 Instructions: 1.

More information

Informatics Practices (065) Sample Question Paper 1 Section A

Informatics Practices (065) Sample Question Paper 1 Section A Informatics Practices (065) Sample Question Paper 1 Note 1. This question paper is divided into sections. Section A consists 30 marks. 3. Section B and Section C are of 0 marks each. Answer the questions

More information

INDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables

INDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables INDEX Exercise No Title 1 Basic SQL Statements 2 Restricting and Sorting Data 3 Single Row Functions 4 Displaying data from multiple tables 5 Creating and Managing Tables 6 Including Constraints 7 Manipulating

More information

RESTRICTING AND SORTING DATA

RESTRICTING AND SORTING DATA RESTRICTING AND SORTING DATA http://www.tutorialspoint.com/sql_certificate/restricting_and_sorting_data.htm Copyright tutorialspoint.com The essential capabilities of SELECT statement are Selection, Projection

More information

MySQL DML Commands - Joins and subqueries

MySQL DML Commands - Joins and subqueries MySQL DML Commands - Joins and subqueries By Prof. B.A.Khivsara Note: The material to prepare this presentation has been taken from internet and are generated only for students reference and not for commercial

More information

Database Foundations. 6-3 Data Definition Language (DDL) Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Database Foundations. 6-3 Data Definition Language (DDL) Copyright 2015, Oracle and/or its affiliates. All rights reserved. Database Foundations 6-3 Roadmap You are here Introduction to Oracle Application Express Structured Query Language (SQL) Data Definition Language (DDL) Data Manipulation Language (DML) Transaction Control

More information

Information Systems. Database System Architecture. Relational Databases. Nikolaj Popov

Information Systems. Database System Architecture. Relational Databases. Nikolaj Popov Information Systems Database System Architecture. Relational Databases Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria popov@risc.uni-linz.ac.at Outline

More information