IMG-LOGO

Subject Computer


Question # 1

EN

Array is a ____________.

ارے (array) ایک ـــــــــــــــــــــــ ہے۔

UR

Answers

Question # 2

EN

How many types of lop structures are available in C?

C لینگوئج میں لوپ سٹرکچرز کی کتنی اقسام ہیں؟

UR

Answers

Question # 3

EN

Which part of the "for" loop is executed after executing the body of the loop?

"for" لوپ کا کونسا حصہ ہے جو لوپ کی باڈی کے ایگزیکیوٹ ہونے کے فوراً بعد ایگزیکیوٹ ہوتا ہے؟

UR

Answers

Question # 4

EN

There are three parts of the "for" loop statement which are separted by __________.

"for" لوپ کے تین حصے ہوتے ہیں جنہیں ــــــــــــــــــــــــــــــــ سے علیحیدہ علیحدہ لکھا جاتا ہے۔

UR

Answers

Question # 5

EN

Which of the follwing is a loop statement?

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

UR

Answers

Question # 6

EN

What will be the value of variable "x" after terminating the following loop?

for(int x = 0; x<10 10; x++)

درج ذیل لوپ کے ختم ہونے کے بعد ویری ایبل "x"کی قیمت (ویلیو) کیا ہوگی؟

 

UR

Answers

Question # 7

EN

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

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

int x = 16;

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

x = abc[i];

printf("%d",x);

درج ذیل کوڈ کے ایگزیکیوٹ ہونے کے بعد ویری ایبل x کی قیمت کیا ہوگی؟

 

UR

Answers

Question # 8

EN

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

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

UR

Answers

Question # 9

EN

in "for" loop the semicolon (;) is placed at the end of _____________.

"for" لوپ میں سیمی کولن (;) _________________ کے آخر میں دیا جاتا ہے۔

UR

Answers

Question # 10

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 # 11

EN

Which of the following is related to loop structure?

درج ذیل میں سے کونسا لوپ سٹرکچر (ڈھانچہ) سے تعلق رکھتا ہے؟

UR

Answers

Question # 12

EN

Suppose we declare as array "x" as "int x[15];", what will be the index of the least element of array "x"?

فرض کریں کہ ہم ارے "x" کو یوں ڈکلیئر کرتے ہیں ;[15] int x

اس ارے کے آخری ایلیمنٹ کا انڈکش کیا ہوگا؟

UR

Answers

Question # 13

EN

Which part of the "for" loop is executed only once?

"for" لوپ کا کونسا حصہ صرف ایک بار ایگزیکیوٹ ہوتا ہے؟

UR

Answers

Question # 14

EN

A loop that contains another loop within its body is called ___________.

ایسا لوپ جس کی باڈی کے اندر دوسرا لوپ ہوتا ہے اسے ـــــــــــــــــــــــــــــــ کہتے ہیں۔

UR

Answers

Question # 15

EN

What will be the value of variable "x" after execution of the following code segment?

int x =20;

for(int c=0; c<10; c++)

x--;

x=x+2;

printf("%d",x);

 

درج ذیل کوڈ کے ایگزیکیوٹ ہونے کے بعد ویری ایبل x کی ویلیو (قیمت) کیا ہوگی

int x =20;

for(int c=0; c<10; c++)

x--;

x=x+2;

printf("%d",x);

UR

Answers

Question # 16

EN

Which of the following assignment statements assigns value to the first element of an array "a"?

درج ذیل سٹیٹ منٹس میں سے کونسی سٹیٹ مسنٹ ارے "a" کے پہلے ایلیمنٹ کو ویلیو اسائن کرتی ہے؟

UR

Answers

Question # 17

EN

In C language, If the size of an array is 10, the range of indexe will be ____________.

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

UR

Answers

Question # 18

EN

A loop within a loop is called ____________.

لوپ کے اندر لوپ کو ـــــــــــــــــــــــــــــ کہا جاتا ہے۔

UR

Answers

Question # 19

EN

if "int x [2] = {12, 33};", the total number of elements of array "x" will be ___________.

اگر ;{33, 12} = [2] int x ہو تو ایلیمنٹ [1]xکی قیمت ـــــــــــــــــــــــــ ہوگی۔

UR

Answers

Question # 20

EN

One execution of the body of the loop is called _____________.

لوپ کے ایک بار چلنے کو ایک ـــــــــــــــــــــ کہتے ہیں۔

UR

Answers