Database | MCQs

    Q51: Which of following types of table constraints will prevent the entry of duplicate rows:

    مندرجہ ذیل میں سے کون سی قسم کی جدول کی رکاوٹیں ڈپلیکیٹ قطاروں کے اندراج کو روکیں گی:
    • A. Primary key
    • B. Foreign key
    • C. Null
    • D. Unique

    Q52: In a database table, the category of information is called __________

    ڈیٹا بیس ٹیبل میں، معلومات کے زمرے کو _________ کہا جاتا ہے
    • A. Tuple
    • B. Record
    • C. All of above
    • D. Field

    Q53: The third stage in designing a database is when we analyze our tables more closely and create a ___ between tables?

    ڈیٹا بیس کو ڈیزائن کرنے کا تیسرا مرحلہ وہ ہے جب ہم اپنی ڈیٹا ٹیبل کا زیادہ قریب سے تجزیہ کرتے ہیں اور ٹیبل کے درمیان ___؟
    • A. Relationship
    • B. Join
    • C. Query
    • D. None of these

    Q54: Which one of the following is a set of one or more attributes taken collectively to uniquely identify a record?

    درج ذیل میں سے کون سا ایک یا زیادہ صفات کا مجموعہ ہے جو کسی ریکارڈ کی منفرد شناخت کے لیے اجتماعی طور پر لیا جاتا ہے؟
    • A. The foreign key
    • B. sub key
    • C. super key
    • D. candidate key

    Q55: A virtual table that that is constructed from other tables is called _____?

    ایک ورچوئل ٹیبل جو دوسری میزوں سے تعمیر کی گئی ہے اسے _____ کہا جاتا ہے؟
    • A. View
    • B. Table
    • C. Tuple
    • D. None of these
    • A. Single tables
    • B. None of these
    • C. Both A & B
    • D. Multiple tables

    Q57: Records are referred to in a database as?

    ریکارڈز کو ڈیٹا بیس میں کہا جاتا ہے؟
    • A. Files
    • B. Rows
    • C. Records
    • D. Tables

    Q58: A repository for data usually usually covering specific topic is

    ڈیٹا کا ذخیرہ عام طور پر کس مخصوص موضوع کا احاطہ کرتا ہے۔
    • A. Data base
    • B. Data requisition
    • C. None of these
    • D. Data Bank

    Q59: Where is the NADRA Headquarters located?

    نادرا کا ہیڈ کوارٹر کہاں واقع ہے؟
    • A. Islamabad
    • B. Rawalpindi
    • C. Karachi
    • D. Lahore

    Q60: The SQL command used to retrieve data from a database table is?

    ڈیٹا بیس ٹیبل سے ڈیٹا حاصل کرنے کے لیے ایس کیو ایل کمانڈ کا استعمال کیا جاتا ہے؟
    • A. RETRIEVE
    • B. FETCH
    • C. SELECT
    • D. None of these
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0