UAF ENTRY TEST PAST PAPER 02-07-2022
UAF 5 years Past Papers Click
here
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
- 4
- 5
- 3
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In C, 9 and 4 are integers, so 9 / 4 = 2 (integer division, fractional part is discarded).
Then, 2 * 2 = 4
کون سا ڈیٹا ٹائپ اعلی صحت سے متعلق پیش کرتا ہے؟
- Unsigned long int
- Long double
- Float
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
long double provides higher precision than double and float for storing real numbers.
It allows more digits after the decimal point, making it suitable for high-accuracy calculations.
کون سی ہیڈر فائل میں عام ریاضی کے افعال کے بارے میں معلومات شامل ہیں؟
- math.h
- maths.h
- stdo.h
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
math.h is the standard C/C++ header file that contains declarations for common mathematical functions like sqrt(), pow(), sin(), etc.
It must be included when using built-in math operations in programs.
مطلوبہ الفاظ _____ "اگر" بیان کے ساتھ دو مختلف انتخاب کی وضاحت کرنے کے لئے استعمال ہوتا ہے۔
- If
- Else
- Switch
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The else keyword is used to provide an alternative block of code if the if condition is false.
It works with if to handle two different choices in decision-making.
غیر معمولی اعداد و شمار کی ایک مثال _____ ہے؟
- Bank balance
- Roll number
- Address
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Address consists of text (street, city, etc.).
It is non-numerical.
Marks, bank balance, and roll number are numerical values.
ڈوس میں استعمال ہونے والے انٹرفیس کو _____ کہا جاتا ہے؟
- Command-Line Interface (CLI)
- Graphical User Interface (GUI)
- Application Programming Interface (API)
- Scripting Interface (SI)
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A command-line interface is used by DOS systems.
By typing a program's filename at the command prompt, a program can be launched.
مندرجہ ذیل میں سے کون سی چابیاں منفرد نہیں ہے؟
- Secondary key
- Primary key
- Foreign key
- Candidate key
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A foreign key is used to link two tables and can contain duplicate values.
In contrast, primary, candidate, and even secondary keys are typically unique.
مندرجہ ذیل میں سے کون اچھی پرائمری کلید نہیں ہے؟
- Student ID number
- Zip code
- Serial security number
- Order number
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A primary key must be unique for each record and never change.
Zip code is not unique (many people can share the same zip code), so it's not suitable as a primary key.
ایک ورچوئل ٹیبل جو دوسری میزوں سے تعمیر کی گئی ہے اسے _____ کہا جاتا ہے؟
- Tuple
- Table
- View
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A View is a virtual table in a database that is constructed using a query on one or more existing tables.It does not store data itself, but displays data from the underlying tables.
ایکسل ورک بک میں بطور ڈیفالٹ کتنی شیٹس ہیں؟
- 2
- 3
- 4
- 5
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
By default, an Excel workbook contains 3 sheets in older versions (Excel 2010 and earlier).
In newer versions (Excel 2013 and later), it starts with 1 sheet, but users can add more.