IMG-LOGO

Subject Computer Full Book Test


Question # 1

EN

The first line of a function definition is called _______________.

فنکشن ڈیفینیشن کی پہلی لائن کو ــــــــــــــــــــــــــــــــــ کہا جاتا ہے۔

UR

Answers

Question # 2

EN

What will e the value of "x" after executing the following code?

int abc[5] = {6, 12, 13, 4, 15};

int x = 0;

for (int i = 0; i < 4; i++)

x = abc[i] + 1;

printf("%d", x);

درج ذیل کوڈ کے ایگزیکیوٹ ہونے کے بعد آوٹ پٹ کیا ہوگی؟

 

UR

Answers

Question # 3

EN

The statement "float x y z " occupy space of _________ bytes in memory.

سٹیٹ منٹ  ",float x, y, z'" میموری میں _________باٸٹس جگہ لے گی. 

UR

Answers

Question # 4

EN

Which of the following is a relational operator?

مندرجہ ذیل میں سے کون سا ریلیشنل آپریٹر نہیں ہے؟

UR

Answers

Question # 5

EN

Which of the following statement is valid to declare variable(s)?

درج ذیل میں سے کونسی سٹیٹمنٹ ویری ایبل یا ویری ایبلز کو ڈکلیٸر کرنے کے لیٸے درست ہے؟

UR

Answers

Question # 6

EN

Which of the following ends with a semicolon (;)?

درج ذیل میں سے کس کا اختتام سیمی کولن سے ہوتا ہے؟

UR

Answers

Question # 7

EN

Which of the following return statement is not correct?

درج ذیل میں سے کونسا بیان return سٹیٹ منٹ کے بارے میں درست ہے؟

UR

Answers

Question # 8

EN

In C language, the index of an element is written within ____________.

C لینگوئج میں ارے کے ایلیمنٹ کے انڈکس کو ـــــــــــــــــــــــــــ کے اندر لکھا جاتا ہے۔

UR

Answers

Question # 9

EN

Which of the following is a decision making statement?

مندرجہ ذیل میں سے کون سی ڈیسیئن میکنگ  سٹیٹ منٹ (فیصلہ سازی کی سٹیٹ منٹ) ہے؟

UR

Answers

Question # 10

EN

The selection statement is also known as:

سلیکشن سٹیٹ منٹ کو _____ بھی کہا جاتا ہے:

UR

Answers

Question # 11

EN

The values that cannot be changed during execution of the program are called_________.

ایسی ویلیوز(قیمتیں) جنہیں پروگرام کی ایگزیکیوشن کے دوران تبدیل نہیں کیا جا سکتا ہے,_______کہلاتی ہیں

UR

Answers

Question # 12

EN

Assigning a value to a variable at the time of its declaration is called variable_________.

ویری ایبل کو ڈکلیٸر کرتے وقت ویلیو اساٸن کرنا_______کہلا تا ہے.

UR

Answers

Question # 13

EN
The comments C program help us for_________ the program .
C پروگرام میں کمنٹس پروگرام کو ______کے لیے ہماری مدد کرتے ہیں.
UR

Answers

Question # 14

EN

Which of the following is a correct array initialization statement in C language?

C لینگوئج میں درج ذیل میں سے کونسی درست انیشیلائزیشن سٹیٹ منٹ ہے؟

UR

Answers

Question # 15

EN

Which of the following is a relational operator?

مندرجہ ذیل میں سے کون سا ریلیشنل آپریٹر ہے؟

UR

Answers

Question # 16

EN

If X=2 and Y=3, which of the following expression will be True?

اگر X=2 اور Y= 3، مندرجہ ذیل ایکسپریشنز میں سے کس کا رزلٹ (True) درست ہوگا؟

UR

Answers

Question # 17

EN

If X=5 and Y=10, which of the following has result False?

اگر X=5 اور Y=10، مندرجہ ذیل میں سے کس کا نتیجہ (False) غلط ہے؟

UR

Answers

Question # 18

EN

_____ escape sequence is used to insert a new line in the output. 

 _____  اسکیپ سیکو ئنس کو آؤٹ پٹ میں نئی ​​لائن داخل کرنے کے لیے استعمال کیا جاتا ہے۔

UR

Answers

Question # 19

EN

Which keywords is used in the "for" loop?

درج ذیل کی ورڈز میں سے کونسا کی ورڈ "for" لوپ میں استعمال ہوتا ہے؟

UR

Answers

Question # 20

EN

Each element of an array has its own _____________

ارے کے ہر ایلیمنٹ کا اپنا ــــــــــــــــــــــــــــــ ہوتا ہے۔

UR

Answers