0% found this document useful (0 votes)
75 views4 pages

Xi, I.P Q.phalf Yearly Examination, 2020-21

This document contains instructions and questions for a half-yearly examination in Informatics Practices for Class 11. It has 3 sections with multiple choice and short answer questions. Section 1 covers basic concepts like hardware, software, operating systems and components of a computer system. Section 2 focuses on Python programming concepts like variables, data types, operators, input/output etc. Section 3 deals with SQL and relational database concepts like tables, queries, data definition and manipulation language etc. Students are required to answer all questions which test their understanding of fundamental computer science topics through 3 hours of examination.

Uploaded by

Test Man
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views4 pages

Xi, I.P Q.phalf Yearly Examination, 2020-21

This document contains instructions and questions for a half-yearly examination in Informatics Practices for Class 11. It has 3 sections with multiple choice and short answer questions. Section 1 covers basic concepts like hardware, software, operating systems and components of a computer system. Section 2 focuses on Python programming concepts like variables, data types, operators, input/output etc. Section 3 deals with SQL and relational database concepts like tables, queries, data definition and manipulation language etc. Students are required to answer all questions which test their understanding of fundamental computer science topics through 3 hours of examination.

Uploaded by

Test Man
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

DARSHAN ACADEMY

HALF YEARLY EXAMINATION 2020-21


INFORMATICS PRACTICES
CLASS - XI
Time Allowed: 3Hours Maximum Marks: 70
General Instructions:
i) All questions are compulsory.

ii) Answer the questions after carefully reading the te​xt.


Q1.
1. A 4 bit word is called a__________ 1
2. Computer uses __________language to process data. 1
3. What is a computer system? 1
4. Give the function of an operating system. 1
5. List the names of two components of CPU. 1
6. Write the full forms: 1
a) FOSS c) RAM
7. Differentiate between hardware and software with example. 2
8. Categorize the following into input devices , output devices or storage devices: 2
a) Scanner c) CD
b) Printer d) Mouse
9. Name the input/output device used : 2
a) To output audio
b) To enter textual data
c) To make hard copy of a text file
d) To display the data/information
10. What is memory? What are the two types of memory available? Explain them in short. 3

Q2.
1. What is IDLE in python?
1
2. If you wish to determine the type of a variable, Which function can be used? 1
3. a= “Hello” 1
print(a*10)
What output the above Python statements will produce?
4. What is the extension of python programs? 1
5. What is the error in the following python statement: 1
print(“My name is”,name)
6. What will be the output of the following code: 1
a=15
b=4
print(a/b)
print(a//b)
7. What is the difference between interactive mode and script mode in Python? 2
8. Identify the types of following literals: 2
a) 45.67
b) “False”
c) False
d) 678
9. What are operators? Which operator is used to assign values to the variables? 2
10. Give the output of the following: 2
a) print(“I am using Python”)
b) value=”Simar”
age=17
print(name,“you are”,17, “now but”,end= ‘ ’)
print(“you will be”,age+1, “next year”)
Or
What are Comments in Python?
11. Find the errors in the following code fragment: 2
a) c=input(“Enter your class”)
print(“Last year you were in class “c-1)
b) temp=90
print temp
12. Identify the valid strings in python from the following: 3
a) “This course is great!”
b) “Good Bye’
c) ‘My name is,Bruce’
d) ‘I liked the movie ‘Bruce Almighty’ very much”
e) “Hello
f) Abc123

13. Write a python program to input student name and class and print it in the following
format. 3
Sample input -
Enter your name - Amrita
Enter your class - XI

Sample output-
My name is ​Amrita​ , student of class ​XI
Or
What are variables? How are they useful in a program?

14. Write a python program to obtain three numbers, calculate and print their sum. 3

Q3.
1. What is SQL? 1
2. Write the MySQL command to calculate 36*7 in MySQL. 1
3. Which command is used to view the structure of the table PATIENT. 1
4. Give the full forms of DDL and DML. 1
OR
Give any one DDL and DML commands each.
5. What is the purpose of ​WHERE​ clause in MySQL? Explain with example. 2
6. Vandana has created a table EMP in which she has inserted a column named COMM. Now
she wants to show details of all the employees who are not getting commission. For this
she wrote the following query but she is not getting the desired output:
SELECT * FROM EMP WHERE COMM=NULL;
Help her to get the correct output by rewriting the above query by removing the errors if
any.
OR
Name the SQL commands used to : 2
a) Insert data into the table
b) Show the names of the tables
7. What is the similarity and difference between char and varchar datatypes? 2
8. Amrita wants to create a member table for the Hospital database. Suggest any 3 relevant
fields for the Patient table with suitable data types. 3
9. Write SQL commands for statements (i) to (iii): 3
Table : GAMES
GCODE GAMENAME NUMBER PRIZEMONEY
101 KABADDI 2 5000
102 BADMINTON 2 12000
103 Table tennis 4 8000
105 Chess 2 9000
108 Table tennis 4 25000
i) Display the details of the game “Table tennis”.
ii) Identify the primary key in the above table . Also give the reason for your choice.
iii) Display the game name along with its prize money where the prize money is more
than 10000.
10. Write SQL command to create the table TEAM with the following specifications: 3

Field Type Constraint

TeamCode Varchar(5) Primary key

TeamName Varchar(20)

TeamLeader Varchar(20)

TeamSymbol Char(1) Not null

11. What is the purpose of ORDER BY clause and Like operator in MySQL command? Also
write the wild card characters of Like operator. 3
12. Consider the table BANK given below. Write command in MySql for ​(i)​ to ​(iv)​ and output
for ​(v) ​to ​(viii) 8
BName Dateofope
Accno CName Amount Transactions
n
1 BANK OF 10
KARAN BARODA 115000 2008-01-12
2 09
PUNEET STATE BANK 125000 2007-02-01
3 ORIENTAL 05
ANIRBAN BANK 117000 2009-07-15
4 STANDARD 11
YATIN CHARTERED 138000 2009-02-10
5 15
SUNNY STATE BANK 147000 2008-02-8
6 12
JAYANT UCO BANK 134000 2008-08-10
i. Display data for all customers whose transaction is between 8 and 11.
ii. Display data of all customer sorted by their date of open.
iii. Display the details of all the customers whose name starts with letter ‘T’.
iv. To insert a new row in the table
7 , Nikhil, UCO Bank, 156000, 2009-01-02, 08
v. Select CName, Amount from Bank where BName IN(‘State Bank’, ‘UCO Bank’);
vi. Select DISTINCT BName from Bank;
vii. Select Transactions From Bank where BName=’State Bank’;
viii. Select CName ,BName from Bank where CName Like ‘%T’.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy