GovtExamKit

₹0, ಯಾವಾಗಲೂ · ಸೈನ್-ಅಪ್ ಬೇಕಿಲ್ಲ · ಆಫ್‌ಲೈನ್‌ನಲ್ಲೂ ಕೆಲಸ ಮಾಡುತ್ತದೆ

Database Management (DBMS)

Keys, relational algebra, normal forms, SQL commands and clauses, ACID transactions, E-R diagrams, views and indexes.

Learn: notes, formulas, solved examples and question book

ಮಾದರಿ ಪ್ರಶ್ನೆಗಳು ಮತ್ತು ಪರಿಹಾರಗಳು

ಸದ್ಯಕ್ಕೆ ಪ್ರಶ್ನೆಗಳು ಇಂಗ್ಲಿಷ್ ಮತ್ತು ಹಿಂದಿಯಲ್ಲಿ ಮಾತ್ರ. ಆ್ಯಪ್‌ನ ಉಳಿದ ಭಾಗ ನಿಮ್ಮ ಭಾಷೆಯಲ್ಲಿದೆ.

1. Which command removes all rows of a table but keeps its structure, and cannot use a WHERE clause?

  1. ALTER
  2. TRUNCATE
  3. DROP
  4. DELETE
ಉತ್ತರ: B. ಪರಿಹಾರ ತೋರಿಸಿ

Answer: TRUNCATE

DELETE removes chosen rows (WHERE allowed); TRUNCATE empties the table quickly; DROP removes the table itself.

Source: NIELIT O-Level syllabus (networks, C programming, DBMS) and standard computer science textbook - textbook fact

2. A foreign key is an attribute that:

  1. refers to the primary key of another (or the same) table
  2. cannot have repeated values
  3. is always unique
  4. encrypts data
ಉತ್ತರ: A. ಪರಿಹಾರ ತೋರಿಸಿ

Answer: refers to the primary key of another (or the same) table

Foreign keys keep referential integrity: a value must exist in the referenced key or be NULL.

Source: NIELIT O-Level syllabus (networks, C programming, DBMS) and standard computer science textbook - textbook fact

3. A relation has 7 attributes, and its only candidate keys are the single attributes A and B. How many super keys does it have?

  1. 96
  2. 128
  3. 7
  4. 63
ಉತ್ತರ: A. ಪರಿಹಾರ ತೋರಿಸಿ
  1. Sets with A: 2^6; sets with B: 2^6; with both: 2^5
  2. 64 + 64 − 32 = 96

Answer: 96

ಪ್ರತಿ ಬಾರಿ ಹೊಸ ಪ್ರಶ್ನೆಗಳಿಗಾಗಿ ಮೇಲಿನ "ಪ್ರಾರಂಭಿಸಿ" ಒತ್ತಿ, ಪ್ರತಿಯೊಂದೂ ಉತ್ತರ ಮತ್ತು ಪೂರ್ಣ ಪರಿಹಾರದೊಂದಿಗೆ.