You are on page 1of 4
O.P. JINDAL SCHOOL, ANGUL ANNUAL EXAMINATION - 2023 INFORMATICS PTRCTICES — 065 Class 11 Time: 3:00 Hours Max. Marks: 70 General Instructions This question paper has 4 pages. This question paper contains four sections, Section A to D. All questions are compulsory. Section A has 18 questions carrying 01 mark each. Section B has 07 Very Short Answer questions carrying 02 marks each. Section C has 06 Short Answer type questions carrying 03 marks each. Section D has 04 Long Answer type questions carrying 05 marks each. All programming questions are to be answered in Python Language only. Section -A 1. Answer any 18 MCQ questions: i. Which of the following is an input device? a) Monitor c) Hard Disk b) Printer -d) Joy Stick ii, What type of error is returned by the following statement? If ( abe="a’): print(a) a, ErrorIndentation b. IndentationError c. SpaceError d. No error in the given statement iii, Each statement in python is terminated by a. Semicolon(;) b. Colon(:) c. Commat,) « d. None of the above iv. Which of the following symbol is used to write comment? a? b.// .c.# ase v. Write the output of the following code: x2 x=2 xextx print(x) vi. Which of the following is an invalid variable? a) my_string 1 b) Ist_string a vii, What is the answer to this expression, 22 % 3 is? a)7 b)0 ol Ee i: i #1 E32 viii, What is the output of this expression, 3*1**3? a)27 b)9 -0)3 dl = ix. Which of the following statements assigns the value 25 to the variable x in Python: a)x—25 4) intx = 25 x.1=[4, 8, 9, 2.6, 5 ] isa type of which data type in python? - a) List b) Tuple ©) Set 4) None of these xi, DBMS stands for _ a, Database Management System b. Database Manager System c. Database Management Software d. Data Management System xii, Example of open source DBMS is a. Oracle » b. MySQL ©. Microsoft Access d. MongoDB xiii. Suppose Atharv’s Guardian has changed his mobile number, his Guardian Phone number needs to be modified in GUARDIAN file. This is called __ operation a. Delete b. Update cc. Insert d. Display xiv. A row ina table is also known as___ a. Record b. Tuple c. Both of the above d. None of the above xv. A column in a table is also known as a. Attributes b. Field c. Both of the above d. None of the above xvi. Number of columns in a table is known as a. Cardinality b. Degree c. Attributes 4. Tuples ‘vii. Number of rows in a table is known as a. Cardinality b. Degree ¢. Attributes 4. Tuples xviii, Out of one or more candidate keys, the attribute chosen by the database designer to uniquely identify the tuples in a relation is called the ___of that relation. +a. Primary Key b, Foreign Key c. Composite Primary Key d. Alternate Key xix. A Primary Key can take NULL values. (I/F) a. False b. True xx, Each column name in a table should be unique. (T/F) a. True b. False See 2 Answer the following questions : i. Write the output of the loop below : s=4 For x in range(|,S) : print(x) ii, Write the output of the loop below : wil While (x <=5): S=S+x ) Convert the while loop to for loop . While (x<=5): S$=S+x Print(S) iv. What is a database system? v. What are the disadvantages of database systems? vi, Differentiate between DDL and DML commands. vii. What is MySQL? What are its functions and features? Section -C 3. Answer the following questions : Explain any 3 functions of an operating system . ‘What are interpreters and compilers ? iv. Give any 3 differences between compilers and interpreters . v. Give any 6 applications of Machine Learning . vi. Give any 6 applications of Al programming . Explain the working of an Operating System with the help of a diagram . 2) 2] 2] 2] 2] 2] BI B] Bl 83] Bl Bl Section —D 4, i, Based on the table movie below write the queries : [5] Table name : movie : Movie_id Movie_name points releasedate Director Ghandhi Rajkumar M0001 Godse 10000 2023-01-26 Santoshi "| Hansal M0002 shehzada 5000 2023-02-03 Mehta | Rohit M0003 Shehzada 50000 2023-02-10 Dhawan Write SQL queries for the following : a. Show the Movie id and movie name . b. Show the points only c. Show those points and movie name which are having movie names starting with letter ‘ F * . . Show all the movie records which are having release date = 2023-01-26" e. Show the movie id and movie name whose director is Rohit Dhawan ii, Based on the table above write the output of the SQL queries below : [5] a. select avg(price ), sum(price ) from movie ; b. select movie id, movie_name, points*12 from movie ; ¢. select movie_name, Sum(points ) from movie group by movie_name ; iii. Write a python program to convert the celsius temperature into Fahrenheit and Fahrenheit into Celsius. take the temperature from the user. [5] OR Write a python program to test if a given number entered by the user is prime or not. iv. Distinguish between for loop and while loop . Give a proper example . [5] Convert the for loop below to while loop : For i in range( 1,10): 1f(1%3 0): Print( i)

You might also like