INFORMATION TECHNOLOGY (IT)
Information Technology (IT)
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
ایم پی ٹیبل سے کلرکوں کے ریکارڈ حاصل کرنے کے لئے مندرجہ ذیل میں سے کون سا صحیح ایس کیو ایل استفسار ہے؟
- SELECT * FROM EMP WHERE Job = 'Clerk';
- SELECT * FROM EMP WHERE Job == 'Clerk';
- SELECT ALL FROM EMP WHERE Job = 'Clerk';
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The single equals sign = is used for comparison in SQL conditions.
The query correctly filters rows where the Job column matches the string 'Clerk'.
- cin(age)
- cin<<age;
- cin>>age;
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
cin >> age; is the correct syntax in C++ to take input from the user and store it in the variable age.
The >> operator is used with cin to extract the input value into the variable.
- clrscr();
- clear_screen();
- scanf();
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
clrscr() is a function used to clear the console screen in C/C++ (usually with conio.h library).
It helps to remove previous output before displaying new information on the screen.
- 16
- 23
- 30
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Process P2 starts at time 16 and finishes at time 23.
Finish time is the time when the process completes execution in FCFS.
ایک مرتب شدہ سی زبان کے پروگرام فائل میں عام طور پر کون سی توسیع ہوتی ہے؟
- .obj
- .pdf
- .pptx
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
.obj files are object files generated during compilation before linking into an executable.
.pdf and .pptx are document formats.
.cpp is C++ source code.
مندرجہ ذیل میں سے کون سے کمپیوٹنگ ڈیوائس میں ڈسک ڈرائیوز شامل نہیں ہیں؟
- Palmtop Computer
- Laptop Computer
- Notebook Computer
- Desktop Computer
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Palmtop computers are small handheld devices and usually do not have disk drives.
Laptops, notebooks, and desktops generally include disk drives for storage.
- SELECT * FROM STUDENT;
- SELECT ALL FROM STUDENT;
- DISPLAY * FROM STUDENT;
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- Display all columns = SELECT * FROM table_name;
- SELECT retrieves data from a table.
- * represents all columns.
- FROM specifies the table name.
- STUDENT is the table name.
جب ڈیٹا بیس بناتے ہو تو ، "ایڈریس" فیلڈ کی ڈیٹا کی قسم کیا ہونی چاہئے؟
- Alphabetic
- Integer
- Alpha-numeric
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The address field contains letters, numbers, and symbols (e.g., "House #42, Street 8").
So, it must be stored as an alpha-numeric data type to handle such mixed content.
- # define PI 3.14
- # define PI = 3.14
- define PI = 3.14
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
#define PI 3.14
This is the correct syntax for defining a constant using the C preprocessor directive.
It replaces every instance of PI with 3.14 before compilation begins.
تیسری معمول سے زیادہ مضبوط شکل میں مندرجہ ذیل میں سے کون سا فارم ہوتا ہے؟
- 2nd Normal Form
- Boyce-Codd Normal Form (BCNF)
- 3rd Normal Form
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
BCNF is a stronger version of the 3rd Normal Form; it handles certain anomalies that 3NF does not.
It ensures that every determinant is a candidate key, improving data integrity.