Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

XII C1C2C4 Full Test2

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

C K SCHOOL OF PRACTICAL KNOWLEDGE- CUDDALORE.

STD: XII C1,C2,C4 HALF TEST – 1 TOTAL MARKS : 70


SUB: Computer Science TIME : 3 Hours
DATE : 10.11.2023
PART – I
Choose the correct answer and write the option code 15 X 1 =
15
1. Which of the following is a distinct syntactic block?
(A) Subroutines (B) Function (C) Definition (D) Modules

2.A sequence of immutable objects is called


(A) Built in (B) List (C) Tuple (D) Derived data

3.Containers for mapping names of variables to objects is called


(A) Scope (B) Mapping (C) Binding (D) Namespaces

4.Big Ω is the reverse of


(A) Big O (B) Big θ (C) Big A (D) Big S

5.Which operator is also called as Comparative operator?


A) Arithmetic B) Relational C) Logical D) Assignment

6.elif can be considered to be abbreviation of


A) nested if B) if..else C) else if D) if..elif

7.Which of the following keyword is used to begin the function block?


A) define B) for C) finally D) def

8.Strings in python:
(a) Changeable (b) Mutable (c) Immutable (d) flexible

9.The keys in Python, dictionary is specified by


(a) = (b) ; (c) + (d) :

10.Class members are accessed through which operator?


(a) & (b) . (c) # (d) %

11.Relational database model was first proposed by


a) E F Codd b) E E Codd c) E F Cadd d) E F Codder

12.Which command lets to change the structure of the table?


a. SELECT b. ORDER BY c. MODIFY d. ALTER

13.A CSV file is also known as a ….


(A) Flat File (B) 3D File (C) String File (D) Random File

14.Importing C++ program in a Python program is called


(A) wrapping (B) Downloading (C) Interconnecting (D) Parsing

15.The most commonly used statement in SQL is


(A) cursor (B) select (C) execute (D) commit
PART II 6 X 2 = 12
Answer any 6 from the following.(Question No.24 is Compulsory)

16.What is a subroutine?
17.What is Mapping?
18.What is Insertion sort?
19.What is function and Write the different types of function.
20.What is String and how Do you modify a string in Python?
21.What is data consistency?
22.Write a query that selects all students whose age is less than 18 in order wise.
23.Differentiate compiler and interpreter.
24.Which method is used to connect a database? Give an example.

PART III 6 X 3 = 18
Answer any 6 from the following.(Question No.33 is Compulsory)
25.What is the side effect of impure function. Give example.
26.Why access control is required?
27.Write a note on Asymptotic notation.
28.What are string literals? Explain.
29. Write any three uses of data visualization.
30.What are the difference between List and Dictionary?
31.Write any three DDL commands.
32.What is the difference between the write mode and append mode.
33. Using if..else..elif statement write a suitable program to display largest of 3
numbers.

PART IV 6 X 5 = 30
Answer all the Questions
34.Explain with example Pure and impure functions.
(OR)
Explain the types of scopes for variable or LEGB rule with example.

35.What is Binary search? Discuss with example.


(OR)
Discuss in detail about Tokens in Python

36.Write a detail note on if..else..elif statement with suitable example.


(OR)
Explain about string operators in python with suitable example.

37.What is the purpose of range()? Explain with an example.

(OR)
Differentiate DBMS and RDBMS.

38.Write the different types of constraints and their functions.


(OR)
Explain in detail the types of pyplots using Matplotlib.

*****************SUCCESS*****************

You might also like