C++ | MCQs

    Q5881: What is the syntax for defining a method in Ruby?

    روبی میں طریقہ کی وضاحت کے لیے نحو کیا ہے؟
    • A. def method_name
    • B. define method_name
    • C. function method_name
    • D. method method_name

    Q5882: Which type of loop is commonly used to iterate through an array in C?

    کس قسم کا لوپ عام طور پر سی میں ایک صف کے ذریعے تکرار کرنے کے لیے استعمال ہوتا ہے؟
    • A. While loop
    • B. Switch loop
    • C. If loop
    • D. For loop
    • A. 32767
    • B. 2147483647
    • C. 4294967295
    • D. 65535

    Q5884: What SQL command can be used to delete columns from a table?

    ٹیبل سے کالم حذف کرنے کے لیے کون سی ایس کیو ایل کمانڈ استعمال کی جا سکتی ہے؟
    • A. ALTER TABLE TableName DROP ColumnName
    • B. MODIFY TABLE TableName DROP COLUMN ColumnName
    • C. MODIFY TABLE TableName DROP ColumnName
    • D. ALTER TABLE TableName DROP COLUMN ColumnName

    Q5885: What is incorrect about structural design?

    ساختی ڈیزائن کے بارے میں کیا غلط ہے؟
    • A. It follows Structure chart
    • B. Structural design emphasis on procedural decomposition
    • C. Structural design introduced notations and heuristics
    • D. The advantage is data flow representation

    Q5886: What is a chromatic number?

    ایک رنگین نمبر کیا ہے؟
    • A. The minimum number of colors required for proper vertex coloring of graph
    • B. The number of colors required for proper edge coloring of graph
    • C. The maximum number of colors required for proper vertex coloring of graph
    • D. The minimum number of colors required for proper edge coloring of graph

    Q5887: Each time you turn on your computer, it will check on the control file. Choose the option?

    ہر بار جب آپ اپنے کمپیوٹر کو آن کریں گے، یہ کنٹرول فائل کو چیک کرے گا۔ آپشن کا انتخاب کریں؟
    • A. Command.com, date.com, dir.com
    • B. Chkdsk.exe
    • C. Command.com, io.sys
    • D. Command.com, io.sys, msdos.sys

    Q5888: What is vertex coloring of a graph?

    گراف کا عمودی رنگ کیا ہے؟
    • A. A condition where any two vertices having a common edge should always have same color
    • B. A condition where any two vertices having a common edge should not have same color
    • C. A condition where all vertices should have same color
    • D. A condition where all vertices should have a different color

    Q5889: Without needing extra______we can simulate non deterministic turning machine using deterministic turning machine.

    اضافی _____ کی ضرورت کے بغیر ہم ڈٹرمنسٹک ٹرننگ مشین کا استعمال کرتے ہوئے نان ڈیٹرمنسٹک ٹیورنگ مشین کی تقلید کر سکتے ہیں۔
    • A. Space
    • B. None of the above
    • C. Time
    • D. Both time and space

    Q5890: The basic components of a machine language program is?

    مشینی زبان کے پروگرام کے بنیادی اجزاء کیا ہیں؟
    • A. Injunctions
    • B. Statements
    • C. Directives
    • D. Instructions
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0

Want to go directly? Enter a page number and hit Jump: