Free tutorials & notes in Hindi & English · Clean code examples 🧰 मुफ़्त PDF और फ़ोटो टूल्स →
🏆 Revision और Practice  ·  Lesson 20

ज़रूरी Questions और Viva

Multiple choice questions

  1. Which unit of the CPU controls the flow of data?

    (a) ALU   (b) Control Unit   (c) Register   (d) Cache  

    Answer देखें

    (b) Control Unit

  2. Which of these is system software?

    (a) MS Excel   (b) Tally   (c) Linux   (d) Chrome  

    Answer देखें

    (c) Linux

  3. Gmail is an example of

    (a) IaaS   (b) PaaS   (c) SaaS   (d) Grid computing  

    Answer देखें

    (c) SaaS

  4. Which is NOT one of the Vs of big data?

    (a) Volume   (b) Velocity   (c) Variety   (d) Visibility  

    Answer देखें

    (d) Visibility

  5. Output of print(type(3 + 2.0))

    (a) <class 'int'>   (b) <class 'float'>   (c) <class 'str'>   (d) Error  

    Answer देखें

    (b) <class 'float'>

  6. Output of print('ab' * 3)

    (a) ababab   (b) ab3   (c) Error   (d) aabbab  

    Answer देखें

    (a) ababab

  7. Which method adds an element at the end of a list?

    (a) insert()   (b) add()   (c) append()   (d) push()  

    Answer देखें

    (c) append()

  8. d.get("x", 0) returns 0 when

    (a) x is 0   (b) x is missing   (c) d is empty only   (d) never  

    Answer देखें

    (b) x is missing

  9. np.arange(2, 11, 3) gives

    (a) [2 5 8]   (b) [2 5 8 11]   (c) [3 6 9]   (d) [2 4 6 8 10]  

    Answer देखें

    (a) [2 5 8]

  10. Shape of np.zeros((3, 4))

    (a) (4, 3)   (b) (3, 4)   (c) 12   (d) (3,)  

    Answer देखें

    (b) (3, 4)

  11. The median of 4, 9, 2, 7, 5 is

    (a) 5   (b) 7   (c) 5.4   (d) 4  

    Answer देखें

    (a) 5

  12. Number of rows in a relation is called its

    (a) degree   (b) domain   (c) cardinality   (d) schema  

    Answer देखें

    (c) cardinality

  13. Which constraint does not allow duplicate values but allows NULL?

    (a) PRIMARY KEY   (b) UNIQUE   (c) NOT NULL   (d) DEFAULT  

    Answer देखें

    (b) UNIQUE

  14. Which command changes the structure of a table?

    (a) UPDATE   (b) ALTER   (c) INSERT   (d) SELECT  

    Answer देखें

    (b) ALTER

  15. Which pattern matches names that end with 'a'?

    (a) 'a%'   (b) '%a'   (c) '_a'   (d) '%a%'  

    Answer देखें

    (b) '%a'

  16. DELETE is a ___ command.

    (a) DDL   (b) DML   (c) DCL   (d) TCL  

    Answer देखें

    (b) DML

Output बताइए

Q1

Python
x = 7
y = x // 2 + x % 3 * 2
print(x, y)
Answer देखें
Output
7 5

Q2

Python
L = [10, 20, 30, 40]
L.insert(1, 15)
L.extend([50])
print(L[::2], L.pop(), len(L))
Answer देखें
Output
[10, 20, 40] 50 5

Q3

Python
d = {'a': 3, 'b': 5}
d['c'] = d['a'] * d['b']
for k in d:
    print(k, d[k], end='; ')
print()
Answer देखें
Output
a 3; b 5; c 15;

Q4

Python
import numpy as np
a = np.array([[2, 4], [6, 8]])
print(a * 2)
print(a.sum(axis=0), a.mean())
Answer देखें
Output
[[ 4  8]
 [12 16]]
[ 8 12] 5.0

Q5

Python
import numpy as np
b = np.arange(10)
print(b[b % 3 == 0], b[2:8:2], b.reshape(2, 5)[1])
Answer देखें
Output
[0 3 6 9] [2 4 6] [5 6 7 8 9]

Q6

Python
for i in range(1, 4):
    print('*' * i + '-' * (3 - i))
Answer देखें
Output
*--
**-
***

Short answer और SQL questions

  1. RAM और ROM में अंतर बताइए।

    Answer देखें

    RAM volatile, read-write memory है जो चल रहे programs और data रखती है। ROM non-volatile, ज़्यादातर read-only memory है जो start-up firmware (BIOS) रखती है।

  2. List और NumPy array में क्या फ़र्क है?

    Answer देखें

    List mixed data types रख सकती है और arithmetic operators element-wise नहीं चलते। NumPy array एक data type रखता है, कम memory लेता है, तेज़ है और arr * 2 जैसे element-wise operations support करता है।

  3. Example के साथ primary, candidate और foreign key समझाइए।

    Answer देखें

    STUDENT(RollNo, Name, AadhaarNo) में RollNo और AadhaarNo दोनों student को पहचान सकते हैं — candidate keys। RollNo primary key चुनी गई; AadhaarNo alternate key बनी। FEE(ReceiptNo, RollNo, Amount) में RollNo STUDENT को refer करती है, यह foreign key है।

  4. DELETE और DROP में अंतर बताइए।

    Answer देखें

    DELETE (DML) table से rows हटाता है; ढाँचा बना रहता है। DROP (DDL) पूरी table — ढाँचा और data — हटा देता है।

  5. 12, 7, 9, 7, 15 का mean, median, mode और range निकालें।

    Answer देखें

    Sorted: 7, 7, 9, 12, 15। Mean = 50 ÷ 5 = 10; median = 9; mode = 7; range = 15 − 7 = 8।

  6. IaaS, PaaS और SaaS क्या हैं? हर एक का example दें।

    Answer देखें

    IaaS virtual hardware देता है (AWS EC2); PaaS apps बनाने का platform (Google App Engine); SaaS internet पर ready software (Gmail, Google Docs)।

  7. XI-B के 70 से ज़्यादा marks वाले students के नाम और marks, सबसे ज़्यादा पहले, दिखाने की SQL लिखें।

    Answer देखें

    SELECT Name, Marks FROM STUDENT WHERE Class = 'XI-B' AND Marks > 70 ORDER BY Marks DESC;

  8. STUDENT में Phone column जोड़कर RollNo 101 के लिए set करने की SQL लिखें।

    Answer देखें

    ALTER TABLE STUDENT ADD Phone CHAR(10); UPDATE STUDENT SET Phone = '9876543210' WHERE RollNo = 101;

Viva questions

प्रश्नउत्तर
NumPy का full form?Numerical Python.
ndim क्या बताता है?Number of dimensions of an array.
आख़िरी value सहित बराबर दूरी वाले numbers बनाने का function?np.linspace().
input() को int() से क्यों बदलते हैं?Because input() returns a string.
कौन सा Python data type key-value pairs रखता है?Dictionary.
DBMS क्या है?Software to create and manage databases, e.g. MySQL.
Table का ढाँचा देखने का command?DESCRIBE table_name;
NULL क्या है?An unknown or missing value — not zero or blank.
CHAR और VARCHAR में फ़र्क?CHAR is fixed length; VARCHAR is variable length.
Smartphone के दो sensors बताइए।Accelerometer, proximity sensor (also GPS, gyroscope).

अक्सर पूछे जाने वाले प्रश्न (FAQ)

Class 11 IP में किन chapters के marks सबसे ज़्यादा होते हैं?
आमतौर पर Python programming और database/SQL मिलकर सबसे बड़ा हिस्सा रखते हैं। सटीक weightage के लिए CBSE का latest sample paper और syllabus देखें।
← Class 11 Informatics Practices
🔗

Share this topic with a friend

यह topic किसी दोस्त को भेजें

Found it useful? Send it to a classmate learning the same thing.

अच्छा लगा? जो दोस्त यही सीख रहा है, उसे भेज दीजिए।

Course पूरा! आगे सीखेंClass 12 Informatics Practices आपकी प्रगति: 20 / 20 (100%) · अगला course आगे बढ़ें →

यह lesson कैसा लगा?

आपकी राय से हम content और बेहतर बनाते हैं।

अपना review और सुझाव लिखें (वैकल्पिक)

Review approve होने के बाद आपका नाम और शहर इसके साथ public दिख सकते हैं। Email या phone न लिखें।

▶ CodingEasily on YouTube

Video से सीखें – आसान Hindi में

चुनी हुई video: RDBMS भाग 3 – Class XI Commerce IT

▶ Channel subscribe करें