12th computer repeated questions
12th computer repeated questions
python
Smart Learn Tuition
CopyEdit
import math
x = 26.7
y = -26.7
print(math.floor(x))
print(math.floor(y))
1. Repeated 6 Times
a. Differentiate Pure and Impure functions.
2. Repeated 5 Times
a. Write a note on Asymptotic Notation.
b. Differentiate ceil() and floor() functions.
3. Repeated 4 Times
a. Why is access control required?
b. List the characteristics of an algorithm.
c. Write short notes on Arithmetic operators with examples.
d. Explain Ternary operator with examples.
e. Write a Python program to display a given pattern.
4. Repeated 3 Times
a. What are the different ways to access the elements of a list? Give examples.
b. Write the syntax of a while loop.
c. Write a note on different types of DBMS users.
d. What is the difference between write mode and append mode?
e. Write a short note about sort().
f. Mention the difference between fetchone() and fetchmany().
g. Write any three uses of data visualization.
5. Repeated 2 Time
a. Explain the characteristics of an algorithm.
b. List the differences between break and continue statements.
c. Write the rules of local variables.
d. What is MinGW? What is its use?
e. Write an SQL statement using the DISTINCT keyword.
f. Write a Python program to read a CSV file with the default delimiter comma (,).
g. Differentiate concrete data type and abstract data type.
h. What is the role of DBA?
i. Using if...else...elif statement, write a suitable program to display the largest of three numbers.
j. Identify which of the following are List, Tuple, and Class?
k. Write a Python program to display a pattern (different patterns were mentioned).
l. Write any three DDL commands.
m. Explain Variable-Length Arguments in Python.
n. Explain any three string functions with examples.
o. Write a short note on DELETE, TRUNCATE, and DROP statements in SQL.
A COMPUTER
AB COMPUTE
COMPUT
ABC
COMPU
ABCD
COMP
ABCDE
COM
CO
C
Write a program to display:
Write a program to display:
*
** *****
*** ****
**** ***
***** **
*