UNIVERSITY OF AGRICULTURE UAF PAST PAPERS AND SYLLABUS
فری تیاری کیلے وٹس ایپ
گروپ جوائن کریں
Click here
Show Answers
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
مشروط آپریٹر ______ کا متبادل ہے؟
If
Nested-if
If-else
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The conditional operator (? :) is a shorthand for the if-else statement .
It evaluates a condition and returns one value if true, another if false.
String variable
Character variable
Integer variable
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The format specifier %c is used in scanf to read a single character.
So, km must be a character variable , e.g., char km; .
کون سا فرار کی ترتیب موجودہ لائن کے آغاز میں کرسر کو منتقل کرتی ہے؟
\r
\n
\b
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
r is the carriage return escape sequence , which moves the cursor to the beginning of the current line .
It does not move to the next line , unlike n (newline) .
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.
0.55 g
1.008 mg
1.6673 mg
0.184 mg
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The mass of one mole of electrons is 0.55g.
- Mass of one electron ≈ 9.109 × 10⁻³¹ kg
- 1 mole of electrons = 6.022 × 10²³ electrons
- So, mass of 1 mole of electrons ≈
9.109 × 10⁻³¹ kg × 6.022 × 10²³ ≈ 5.48 × 10⁻⁴ kg ≈ 0.548 g
So the correct value is about 0.55 g
مطلوبہ الفاظ _____ "اگر" بیان کے ساتھ دو مختلف انتخاب کی وضاحت کرنے کے لئے استعمال ہوتا ہے۔
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.
Inductance
Conductance
Impedance
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The combined effect of resistance and reactance in an electrical circuit is known as impedance.
Impedance, denoted by the letter 'Z',
Represents the total opposition to the flow of alternating current (AC) in a circuit.
It encompasses both resistance (opposition to current flow due to the material's properties) and reactance (opposition due to capacitance and inductance).
RC circuit
RL circuit
Pure capitative circuit
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
At high frequencies, an RLC series circuit behaves like an RL circuit.
At high frequencies, the inductive reactance (XL) becomes very large compared to the capacitive reactance (XC).
This means the circuit is dominated by the inductive behavior.
The circuit essentially behaves like a combination of a resistor and an inductor.