Art and Culture Question

Ques 1. “A Passion For Dance” was written by –

1) Rukmani Dev Arundale
2) Sonal Man Singh
3) Dr. Padma Subramanyam
4) Yamini Krishnamurthy

Ques 2. Which is the International Dance?

1) Chau

2) Odissi

3) Bibhu

4) Romantic Dance

Ques 3. What was the earlier name of music director A.R. Rehman?

1) Manoj Kumar

2) Raj Kumar

3) Dileep Kumar

4) Dev Kumar

Ques 4. The first Indian awarded the Oscar for lifetime achievements in Cinema was –

1) Amitabh Bachchan

2) Satyajit Ray

3) Bhanu Athaiya

4) Shivaji Ganeshan

Ques 5. Samba dance is famous in –

1) Brazil

2) Peru

3) Argentina

4) Mexico

Tagged with: , , , , , , , , , , , , ,
Posted in Awareness, Exam Solutions, General Knowledge, Latest Topic, Questions - Answers, Quiz

Different Language from Different Country

Question

Ans

What is the name of a medicinal mud? Fango
What do you call a native of Kenya? Kenyan
What is the official language in Kosovo? Albanian
Which weekday is domingo in Spanish and dimanche in French? Sunday
What do you call a motorcycle with four wheels? Quad
How do you say AIDS in French? Sida
What is the meaning of the Arab word Habibi? Sweetheart
What does the abbreviation GPS mean? Global Positioning System
What is the most spoken language in the world? Chinese language
What does the abbreviation SMS mean? Short Message Service
What is another word for wall painting or mural? Fresco
Which language group includes Irish, Welsh and Breton? Celtic languages
What is the meaning of the following abbreviation: IBM? International Business Machines
What is the islamic term for fast? Ramadan
What is the much nicer name for the dung beetle, which was used in the ancient Egypt? Scarab
What is the Turkish word for lamb? Kebab
What is the Spanish word for black? Negro
What does glasnost mean in Russian politics? Openness
What does the name of the Russian newspaper Pravda mean? Truth
What does the Latin proverb -Errare Humanum est- mean Err is human
To which language is Portuguese closely related? Spanish language
What word is used in Hawaii both to greet and to say goodbye? Aloha
What is the singular of Scampi ? Scampo
Which is the world s second largest French-speaking city? Montreal (Canada)
Posted in Uncategorized

Art and Culture Question’s Answer

Ques 1. “A Passion For Dance” was written by –

1) Rukmani Dev Arundale
2) Sonal Man Singh
3) Dr. Padma Subramanyam
4) Yamini Krishnamurthy

 

Ans: 4

 

Ques 2. Which is the International Dance?

1) Chau

2) Odissi

3) Bibhu

4) Romantic Dance

 

Ans: 1

 

Ques 3. What was the earlier name of music director A.R. Rehman?

1) Manoj Kumar

2) Raj Kumar

3) Dileep Kumar

4) Dev Kumar

 

Ans: 3

 

Ques 4. The first Indian awarded the Oscar for lifetime achievements in Cinema was –

1) Amitabh Bachchan

2) Satyajit Ray

3) Bhanu Athaiya

4) Shivaji Ganeshan

 

Ans: 2

 

 

Ques 5. Samba dance is famous in –

1) Brazil

2) Peru

3) Argentina

4) Mexico

 

 

Ans:  1

Posted in Uncategorized

Cannes Film Festival 2017

Cannes– a city located on the French Riviera and famed for its international film festival. Cannes Festival also known as International Film Festival since 2002 and known in English as the Cannes Film Festival is an annual film festival held in Cannes. Cannes Film Festival founded on September 20, 1946 the invitation-only festival is held annually usually in May. Cannes Film Festival previews new films of all genres, including documentaries, from all around the world.

On 1-July-2014, former head and co-founder of French pay-TV operator Canal & Pierre Lescure took over as President of the festival. Gilles Jacob also appointed as Honorary President of the festival by the Board of Directors.

History of Cannes

  • The Cannes Film Festival has its origins in 1932, on the proposal of Philippe Erlanger and with the support of the British and Americans when Jean Zay, the French Minister of National Education.
  • In 1947, the festival was held as the “Festival du film de Cannes”, where films from sixteen countries were presented.
  • The festival is now held at thePalais des Festivals et des Congrès, expressly constructed for the occasion, although for its 1949 inaugural the roof was unfinished and blew off during a storm.
  • Stars posing for photographers are a part of Cannes folklore.
  • Now the festival has become an important showcase forEuropean films.

palais-des-festivals-de-cannes

Tagged with: , , , , , , ,
Posted in Latest Topic

History Of Apple

Apple as you knows a famous brand in the world; it needs no introduction.  But let me tell you some facts about apple as you know Apple is an American company and headquartered of apple is in Cupertino, California.

Now talking about apple history Apple Company was found on 1 April 1976 and the founder of apple was Steve Jobs.

Apple Foundation:

Founders of Apple were Steve Jobs, Ronald Wayne and Steve Wozniak.

Steve Jobs and Ronald Wayne met at Homebrew Computer Club, which is located in a garage in California’s Menlo Park.

Company Hardware Products Includes:

  • iPhone
  • iPad
  • Mac PC
  • iPod
  • Apple TV

Company Software Products Includes:

  • macOS (Operating System)
  • iOS (Operating System)
  • iTunes (Media Player)
  • Safari (Web Browser)
  • iLife (creativity and productivity suites)
  • iWork (creativity and productivity suites)

Apple is the world’s largest IT Company by revenue and the 2nd world’s largest mobile phone manufacture company after Samsung.

Apple maintains 478 retail stores in seventeen countries as of March 2016.

Apple operates the iTunes Store and online Apple Store, the latter of which is the world’s largest music retailer.

More than one billion people use Apple products worldwide as of March 2016.

Posted in Uncategorized

General Knowledge: Physics

1. Radiocarbon is produced in the atmosphere as a result of

A. collision between fast neutrons and nitrogen nuclei present in the atmosphere
B. action of ultraviolet light from the sun on atmospheric oxygen
C. action of solar radiations particularly cosmic rays on carbon dioxide present in the atmosphere
D. lightning discharge in atmosphere
Answer: Option A
2. It is easier to roll a stone up a sloping road than to lift it vertical upwards because

A. work done in rolling is more than in lifting
B. work done in lifting the stone is equal to rolling it
C. work done in both is same but the rate of doing work is less in rolling
D. work done in rolling a stone is less than in lifting it

Answer: Option D

3. The absorption of ink by blotting paper involves

A. viscosity of ink
B. capillary action phenomenon
C. diffusion of ink through the blotting
D. siphon action

Answer: Option B
4. Siphon will fail to work if

A. the densities of the liquid in the two vessels are equal
B. the level of the liquid in the two vessels are at the same height
C. both its limbs are of unequal length
D. the temperature of the liquids in the two vessels are the same

Answer: Option B
5. Large transformers, when used for some time, become very hot and are cooled by circulating oil. The heating of the transformer is due to

A. the heating effect of current alone
B. hysteresis loss alone
C. both the heating effect of current and hysteresis loss
D. intense sunlight at noon

Answer: Option C

6. Nuclear sizes are expressed in a unit named

A. Fermi
B. angstrom
C. newton
D. tesla
Answer: Option A

7. Light year is a unit of

A. time
B. distance
C. light
D. intensity of light
Answer: Option B

8. Mirage is due to

A. unequal heating of different parts of the atmosphere
B. magnetic disturbances in the atmosphere
C. depletion of ozone layer in the atmosphere
D. equal heating of different parts of the atmosphere
Answer: Option A

9. Light from the Sun reaches us in nearly

A. 2 minutes
B. 4 minutes
C. 8 minutes
D. 16 minutes
Answer: Option C

10. Stars appears to move from east to west because

A. all stars move from east to west
B. the earth rotates from west to east
C. the earth rotates from east to west
D. the background of the stars moves from west to east
Answer: Option B

11. Pa(Pascal) is the unit for

A. thrust
B. pressure
C. frequency
D. conductivity
Answer: Option B

12. Planets do not twinkle because

A. they emit light of a constant intensity
B. their distance from the earth does not change with time
C. they are very far away from the earth resulting in decrease in intensity of light
D. they are nearer to earth and hence we receive a greater amount of light and, therefore minor variations in the intensity are not noticeable
Answer: Option D

Tagged with: , , , , , , , , , , , , , , , , , , ,
Posted in Awareness, Exam Solutions, General Knowledge, Questions - Answers, Quiz

Famous Personalities

1. Guru Gopi Krishna was a maestro of which of the following dance forma?

A. Kuchipudi
B. Kathak
C. Manipuri
D. Bahratanatyam
Answer: Option B
2. Ms. Bachendri Pal had undertaken a unique expedition for focusing attention on which of these?

A. One Nation one Family
B. The Girl Child
C. National Integration
D. Sprit of Adventure
Answer: Option D
3. Which of the following fields A. Nageshwara Rao is associated with?

A. Sports
B. Literature
C. Motion Pictures
D. Politics
Answer: Option C
4. Jamini Roy was a famous?

A. Producer
B. Painter
C. Dancer
D. Actor
Answer: Option B
5. In which field ‘Aachan Maharaj’ has distinguished himself?

A. Painting
B. Drama
C. Dance
D. Vocal Music
Answer: Option C
6. The name of Pierre Cardin is associated with which of the following fields?

A. Painting
B. Films
C. Pop Music
D. Fashion Designing
Answer: Option D
7. Who is well known collector of artefacts and curios?

A. Wadeyar
B. Salar Jung
C. Rabindranath Tagore
D. Motilal Nehru
Answer: Option C

8. Ms. Vijaya Mehta has earned distinction in which of the field?

A. Theatre
B. Film Direction
C. Classical Dance
D. Journalism
Answer: Option A
9. Dr. M. S. Swaminathan has distinguished himself in which of the following fields?

A. Agriculture
B. Medicine
C. Astrophysics
D. Physics
Answer: Option A
10. Satyen Bose has shown his excellence in which of the following fields?

A. Stage Acting
B. Drawing and Painting
C. Classical Dance
D. Motion Picture
Answer: Option D

Tagged with: , , , , , , , , , , , , , , , , , , ,
Posted in Awareness, Exam Solutions, General Knowledge, Questions - Answers, Quiz

General Knowledge: Basic General Knowledge

1. Grand Central Terminal, Park Avenue, New York is the world’s

A. largest railway station
B. highest railway station
C. longest railway station
D. None of the above
Answer: Option A
2. Entomology is the science that studies

A. Behavior of human beings
B. Insects
C. The origin and history of technical and scientific terms
D. The formation of rocks
Answer: Option B
3. Eritrea, which became the 182nd member of the UN in 1993, is in the continent of

A. Asia
B. Africa
C. Europe
D. Australia
Answer: Option B
4. Garampani sanctuary is located at

A. Junagarh, Gujarat
B. Diphu, Assam
C. Kohima, Nagaland
D. Gangtok, Sikkim
Answer: Option B
5. For which of the following disciplines is Nobel Prize awarded?

A. Physics and Chemistry
B. Physiology or Medicine
C. Literature, Peace and Economics
D. All of the above
Answer: Option D
6. Hitler party which came into power in 1933 is known as

A. Labour Party
B. Nazi Party
C. Ku-Klux-Klan
D. Democratic Party
Answer: Option B
7. FFC stands for

A. Foreign Finance Corporation
B. Film Finance Corporation
C. Federation of Football Council
D. None of the above
Answer: Option B
8. Fastest shorthand writer was

A. Dr. G. D. Bist
B. J.R.D. Tata
C. J.M. Tagore
D. Khudada Khan
Answer: Option A
9. Epsom (England) is the place associated with

A. Horse racing
B. Polo
C. Shooting
D. Snooker

Answer: Option A
10. First human heart transplant operation conducted by Dr. Christiaan Barnard on Louis Washkansky, was conducted in

A. 1967
B. 1968
C. 1958
D. 1922
Answer: Option A

Tagged with: , , , , , , , , , , , , , , , , , , ,
Posted in Awareness, Exam Solutions, General Knowledge, Questions - Answers, Quiz

Aptitude: Time and Distance

1.  A person crosses a 600 m long street in 5 minutes. What is his speed in km per hour?

A.3.6

B. 7.2

C.8.4

D. 10

Answer: Option B

Explanation:

Speed = 600 m/sec.
5 x 60

= 2 m/sec.

Converting m/sec to km/hr (see important formulas section)

   = 2 x 18 km/hr
5

= 7.2 km/hr.

2.   An aeroplane covers a certain distance at a speed of 240 kmph in 5 hours. To cover the same distance in 1 hours, it must travel at a speed of:

A.300 kmph

B. 360 kmph

C.600 kmph

D. 720 kmph

Answer: Option D

Explanation:

Distance = (240 x 5) = 1200 km.

Speed = Distance/Time

Speed = 1200/(5/3) km/hr.     [We can write 1 hours as 5/3 hours]

 Required speed = 1200 x 3 km/hr = 720 km/hr.
5

3.  If a person walks at 14 km/hr instead of 10 km/hr, he would have walked 20 km more. The actual distance travelled by him is:

A.50 km

B. 56 km

C.70 km

D. 80 km

Answer: Option A

Explanation:

Let the actual distance travelled be x km.

Then, x = x + 20
10 14

 14x = 10x + 200

 4x = 200

 x = 50 km.

4. A train can travel 50% faster than a car. Both start from point A at the same time and reach point B 75 kms away from A at the same time. On the way, however, the train lost about 12.5 minutes while stopping at the stations. The speed of the car is:

A.100 kmph

B. 110 kmph

C.120 kmph

D. 130 kmph

Answer: Option C

Explanation:

Let speed of the car be x kmph.

Then, speed of the train = 150 x = 3 x kmph.
100 2
75 75 = 125
x (3/2)x 10 x 60
75 50 = 5
x x 24
 x = 25 x24 = 120 kmph.
5

5. Excluding stoppages, the speed of a bus is 54 kmph and including stoppages, it is 45 kmph. For how many minutes does the bus stop per hour?

A.9

B. 10

C.12

D. 20

Answer: Option B

Explanation:

Due to stoppages, it covers 9 km less.

Time taken to cover 9 km = 9 x 60 min = 10 min.
6.  In a flight of 600 km, an aircraft was slowed down due to bad weather. Its average speed for the trip was reduced by 200 km/hr and the time of flight increased by 30 minutes. The duration of the flight is:
A.1 hour
B. 2 hours
C.3 hours
D. 4 hours
Answer: Option A
Explanation:

Let the duration of the flight be x hours.

Then, 600 600 = 200
x x + (1/2)
600 1200 = 200
x 2x + 1

 x(2x + 1) = 3

 2x2 + x – 3 = 0

 (2x + 3)(x – 1) = 0

 x = 1 hr.      [neglecting the -ve value of x]

7.  A man complete a journey in 10 hours. He travels first half of the journey at the rate of 21 km/hr and second half at the rate of 24 km/hr. Find the total journey in km.
A.220 km
B. 224 km
C.230 km
D. 234 km
Answer: Option B
Explanation:
(1/2)x + (1/2)x = 10
21 24
x + x = 20
21 24

 15x = 168 x 20

 x = 168 x 20 = 224 km.
15
8.  The ratio between the speeds of two trains is 7 : 8. If the second train runs 400 km in 4 hours, then the speed of the first train is:
A.70 km/hr
B. 75 km/hr
C.84 km/hr
D. 87.5 km/hr
Answer: Option D
Explanation:

Let the speed of two trains be 7x and 8x km/hr.

Then, 8x = 400 = 100
4
 x = 100 = 12.5
8

 Speed of first train = (7 x 12.5) km/hr = 87.5 km/hr.

9.   A man on tour travels first 160 km at 64 km/hr and the next 160 km at 80 km/hr. The average speed for the first 320 km of the tour is:
A. 35.55 km/hr
B. 36 km/hr
C.71.11 km/hr
D. 71 km/hr
Answer: Option C
Explanation:
Total time taken = 160 + 160 hrs. = 9 hrs.
64 80 2
 Average speed = 320 x 2 km/hr = 71.11 km/hr.
9

10.

A car travelling with  of its actual speed covers 42 km in 1 hr 40 min 48 sec. Find the actual speed of the car.
A.
17 6 km/hr
7
B. 25 km/hr
C. 30 km/hr D. 35 km/hr
Answer: Option D
Explanation:
Time taken = 1 hr 40 min 48 sec = 1 hr 40 4 min = 1 51 hrs = 126 hrs.
5 75 75

Let the actual speed be x km/hr.

Then, 5 x x 126 = 42
7 75
 x = 42 x 7 x 75 = 35 km/hr.
5 x 126

11.  In covering a distance of 30 km, Abhay takes 2 hours more than Sameer. If Abhay doubles his speed, then he would take 1 hour less than Sameer. Abhay’s speed is:

A. 5 kmph

B. 6 kmph

C. 6.25 kmph

D. 7.5 kmph

Answer: Option A

Explanation:

Let Abhay’s speed be x km/hr.

Then, 30 30 = 3
x 2x

 6x = 30

 x = 5 km/hr.

12.  Robert is travelling on his cycle and has calculated to reach point A at 2 P.M. if he travels at 10 kmph, he will reach there at 12 noon if he travels at 15 kmph. At what speed must he travel to reach A at 1 P.M.?

A. 8 kmph

B. 11 kmph

C. 12 kmph

D. 14 kmph

Answer: Option C

Explanation:

Let the distance travelled by x km.

Then, x x = 2
10 15

 3x – 2x = 60

 x = 60 km.

Time taken to travel 60 km at 10 km/hr = 60 hrs = 6 hrs.
10

So, Robert started 6 hours before 2 P.M. i.e., at 8 A.M.

 Required speed = 60 kmph. = 12 kmph.
5

13.  It takes eight hours for a 600 km journey, if 120 km is done by train and the rest by car. It takes 20 minutes more, if 200 km is done by train and the rest by car. The ratio of the speed of the train to that of the cars is:

A. 2 : 3

B. 3 : 2

C. 3 : 4

D. 4 : 3

Answer: Option C

Explanation:

Let the speed of the train be x km/hr and that of the car be y km/hr.

Then, 120 + 480 = 8        1 + 4 = 1 ….(i)
x y x y 15
And, 200 + 400 = 25      1 + 2 = 1 ….(ii)
x y 3 x y 24

Solving (i) and (ii), we get: x = 60 and y = 80.

 Ratio of speeds = 60 : 80 = 3 : 4.

14.  A farmer travelled a distance of 61 km in 9 hours. He travelled partly on foot @ 4 km/hr and partly on bicycle @ 9 km/hr. The distance travelled on foot is:

A. 14 km

B. 15 km

C. 16 km

D. 17 km

Answer: Option C

Explanation:

Let the distance travelled on foot be x km.

Then, distance travelled on bicycle = (61 –x) km.

So, x + (61 –x) = 9
4 9

 9x + 4(61 –x) = 9 x 36

 5x = 80

 x = 16 km.

15.  A man covered a certain distance at some speed. Had he moved 3 kmph faster, he would have taken 40 minutes less. If he had moved 2 kmph slower, he would have taken 40 minutes more. The distance (in km) is:

A. 35 B.
36 2
3
C.
37 1
2
D. 40

Answer: Option D

Explanation:

Let distance = x km and usual rate = y kmph.

Then, x x = 40      2y(y + 3) = 9x ….(i)
y y + 3 60
And, x x = 40      y(y – 2) = 3x ….(ii)
y -2 y 60

On dividing (i) by (ii), we get: x = 40.

Tagged with: , , , , , , , , , , , , , , , , , , ,
Posted in Awareness, Exam Solutions, General Knowledge, Questions - Answers, Quiz

Find Output Of The Program

1. What is the output of the program given below ?

#include<stdio.h>
int main()
{
enum status { pass, fail, atkt};
enum status stud1, stud2, stud3;
stud1 = pass;
stud2 = atkt;
stud3 = fail;
printf(“%d, %d, %d\n”, stud1, stud2, stud3);
return 0;
}
A. 0, 1, 2
B. 1, 2, 3
C. 0, 2, 1
D. 1, 3, 2
Answer: Option C

Explanation:

enum takes the format like {0,1,2..) so pass=0, fail=1, atkt=2

stud1 = pass (value is 0)

stud2 = atkt (value is 2)

stud3 = fail (value is 1)

Hence it prints 0, 2, 1

2. What will be the output of the program in 16 bit platform (Turbo C under DOS)?

#include<stdio.h>
int main()
{
extern int i;
i = 20;
printf(“%d\n”, sizeof(i));
return 0;
}
A. 2
B. 4
C. vary from compiler
D. Linker Error : Undefined symbol ‘i’
Answer: Option D

Explanation:

Linker Error : Undefined symbol ‘i’
The statement extern int i specifies to the compiler that the memory for ‘i’ is allocated in some other program and that address will be given to the current program at the time of linking. But linker finds that no other variable of name ‘i’ is available in any other program with memory space allocated for it. Hence a linker error has occurred.
3. What is the output of the program?

#include<stdio.h>
int main()
{
extern int a;
printf(“%d\n”, a);
return 0;
}
int a=20;
A. 20
B. 0
C. Garbage Value
D. Error
Answer: Option A

Explanation:

extern int a; indicates that the variable a is defined elsewhere, usually in a separate source code module.

printf(“%d\n”, a); it prints the value of local variable int a = 20. Because, whenever there is a conflict between local variable and global variable, local variable gets the highest priority. So it prints 20.
4. What is the output of the program in Turbo C (in DOS 16-bit OS)?

#include<stdio.h>
int main()
{
char *s1;
char far *s2;
char huge *s3;
printf(“%d, %d, %d\n”, sizeof(s1), sizeof(s2), sizeof(s3));
return 0;
}
A. 2, 4, 6
B. 4, 4, 2
C. 2, 4, 4
D. 2, 2, 2

Answer: Option C

Explanation:

Any pointer size is 2 bytes. (only 16-bit offset)
So, char *s1 = 2 bytes.
So, char far *s2; = 4 bytes.
So, char huge *s3; = 4 bytes.
A far, huge pointer has two parts: a 16-bit segment value and a 16-bit offset value.

Since C is a compiler dependent language, it may give different output in other platforms. The above program works fine in Windows (TurboC), but error in Linux (GCC Compiler).
5. What is the output of the program

#include<stdio.h>
int main()
{
struct emp
{
char name[20];
int age;
float sal;
};
struct emp e = {“Tiger”};
printf(“%d, %f\n”, e.age, e.sal);
return 0;
}
A. 0, 0.000000
B. Garbage values
C. Error
D. None of above
Answer: Option A

Explanation:

When an automatic structure is partially initialized remaining elements are initialized to 0(zero).

6. What will be the output of the program?

#include<stdio.h>
int X=40;
int main()
{
int X=20;
printf(“%d\n”, X);
return 0;
}
A. 20
B. 40
C. Error
D. No Output
Answer: Option A

Explanation:

Whenever there is conflict between a local variable and global variable, the local variable gets priority.
7. What is the output of the program

#include<stdio.h>
int main()
{
int x = 10, y = 20, z = 5, i;
i = x < y < z;
printf(“%d\n”, i);
return 0;
}
A. 0
B. 1
C. Error
D. None of these
Answer: Option B

Explanation:

Since x < y turns to be TRUE it is replaced by 1. Then 1 < z is compared and to be TRUE. The 1 is assigned to i.
8. What is the output of the program

#include<stdio.h>
int main()
{
extern int fun(float);
int a;
a = fun(3.14);
printf(“%d\n”, a);
return 0;
}
int fun(int aa)
{
return (int)++aa;
}
A. 3
B. 3.14
C. 0
D. 4
E. Compile Error
Answer: Option E

Explanation:

2 Errors
1. Type mismatch in redeclaration of fun
2. Type mismatch in parameter aa

9. What is the output of the program

#include<stdio.h>
int main()
{
int a[5] = {2, 3};
printf(“%d, %d, %d\n”, a[2], a[3], a[4]);
return 0;
}
A. Garbage Values
B. 2, 3, 3
C. 3, 2, 2
D. 0, 0, 0
Answer: Option D

Explanation:

When an automatic array is partially initialized, the remaining elements are initialized to 0.
10. What is the output of the program?

#include<stdio.h>
int main()
{
union a
{
int i;
char ch[2];
};
union a u;
u.ch[0] = 3;
u.ch[1] = 2;
printf(“%d, %d, %d\n”, u.ch[0], u.ch[1], u.i);
return 0;
}
A. 3, 2, 515
B. 515, 2, 3
C. 3, 2, 5
D. None of these
Explanation:

printf(“%d, %d, %d\n”, u.ch[0], u.ch[1], u.i); It prints the value of u.ch[0] = 3, u.ch[1] = 2 and it prints the value of u.i means the value of entire union size.

So the output is 3, 2, 515.
11. In the following program how long will the for loop get executed?

#include<stdio.h>
int main()
{
int i=5;
for(;scanf(“%s”, &i); printf(“%d\n”, i));
return 0;
}
A. The for loop would not get executed at all
B. The for loop would get executed only once
C. The for loop would get executed 5 times
D. The for loop would get executed infinite times
Answer: Option D

Explanation:

During the for loop execution scanf() ask input and then printf() prints that given input. This process will be continued repeatedly because, scanf() returns the number of input given, the condition is always true(user gives a input means it reurns ‘1’).

Hence this for loop would get executed infinite times.
12. What will be the output of the program?

#include<stdio.h>
int main()
{
int X=40;
{
int X=20;
printf(“%d “, X);
}
printf(“%d\n”, X);
return 0;
}
A. 40 40
B. 20 40
C. 20
D. Error
Answer: Option B

Explanation:

In case of a conflict between a local variable and global variable, the local variable gets priority.

Tagged with: , , , , , , , , , , , , , , , , , , ,
Posted in Awareness, Exam Solutions, General Knowledge, Questions - Answers, Quiz