QUIZ ON : C LANGUAGE - CONDITIONAL STATEMENTS AND LOOPS

CONDITIONAL STATEMENTS AND LOOPS

00:00:00

An inventor of the first mechanical calculator

Option A. Charles Babbage
Option B. Blaise Pascal
Option C. Rene Descartes
Option D. Herman Hollerith
True Answer B

Explanation :

 Blaise Pascal invented a mechanical calculator with a sophisticated carry mechanism in 1642. After three years of effort and 50 prototypes he introduced his calculator to the public.

An inventor of the first mechanical calculator

Question No# : 01 out of 20



Capacity of 3.5 inch FDD is

Option A. 1.2 MB
Option B. 1.5 MB
Option C. 1.44 MB
Option D. 1 MB
True Answer C

Explanation :

Capacity of 3.5 inch FDD is

Question No# : 02 out of 20



What will be the output of the following Python code snippet?

  x = 'abcd'  for i in range(len(x)):      x = 'a'      print(x)

Option A. a
Option B. abcd abcd abcd
Option C. a a a a
Option D. none of the mentioned
True Answer C

Explanation :
range() is computed only at the time of entering the loop.

What will be the output of the following Python code snippet?

  x = 'abcd'  for i in range(len(x)):      x = 'a'      print(x)

Question No# : 03 out of 20



What will be the output of the following Python code snippet?

print('11'.isnumeric())

Option A. True
Option B. False
Option C. None
Option D. Error
True Answer A

Explanation :
All the character are numeric.

What will be the output of the following Python code snippet?

print('11'.isnumeric())

Question No# : 04 out of 20



The number of students in a class who have answered correctly,

wrongly, or not attempted each question in an exam, are listed in the table below. The marks for each question are also listed. There is no negative or partial marking.

What is the average of the marks obtained by the class in the examination?

Option A. 2.290
Option B. 2.970
Option C. 6.795
Option D. 8.795
True Answer C

Explanation :
There are total 44 students. This count can be obtained by adding last 3 entries of any row of given total. Total marks = 2*21 + 3*15 + 1*11 + 2*23 + 5*31 = 299 Average marks = 299/44 = 6.795

The number of students in a class who have answered correctly,

wrongly, or not attempted each question in an exam, are listed in the table below. The marks for each question are also listed. There is no negative or partial marking.

What is the average of the marks obtained by the class in the examination?

Question No# : 05 out of 20



The order of the slides cannot be changed in prasentaion

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer B

Explanation :

The order of the slides cannot be changed in prasentaion

Question No# : 06 out of 20



What was the first network that planted the seeds of internet?

Option A. ARPANET
Option B. USENET
Option C. INFRARED
Option D. DATANET
True Answer A

Explanation :

What was the first network that planted the seeds of internet?

Question No# : 07 out of 20



Consider three machines M, N, and P with IP addresses 100.10.5.2, 100.10.5.5, and 100.10.5.6 respectively. The subnet mask is set to 255.255.255.252 for all the three machines. Which one of the following is true?

Option A. M, N, and P all belong to the same subnet
Option B. Only M and N belong to the same subnet
Option C. Only N and P belong to the same subnet
Option D. M, N, and P belong to three different subnets
True Answer C

Explanation :

 

N and P belongs to same subnet.

Hence, C is correct answer.

Consider three machines M, N, and P with IP addresses 100.10.5.2, 100.10.5.5, and 100.10.5.6 respectively. The subnet mask is set to 255.255.255.252 for all the three machines. Which one of the following is true?

Question No# : 08 out of 20



The amount of ROM needed to implement a 4 bit multiplier is

Option A. 64 bits
Option B. 128 bits
Option C. 1 Kbits
Option D. 2 Kbits
True Answer D

Explanation :

 For a 4 bit multiplier there are 24 × 24 = 28 = 256 combinations
Output will contain 8 bits.
So the amount of ROM needed is 28 × 8 bits = 2 Kbits.

The amount of ROM needed to implement a 4 bit multiplier is

Question No# : 09 out of 20



We _____ the matter yesterday.

Direction: Choose the correct form of the verb to fill in the blank.

Option A. Discussed over
Option B. Discussed of
Option C. Discussed
Option D. Discussed well
True Answer C

Explanation :
'Over', 'of' and 'well' fail to make any sense in the context of the statement as there is no need of any proposition whatsoever here. Thus, option c is the most suitable response.

We _____ the matter yesterday.

Direction: Choose the correct form of the verb to fill in the blank.

Question No# : 10 out of 20



The keystrokes Ctrl + I is used to

Option A. Increase font size
Option B. Inserts a line break
Option C. Indicate the text should be bold
Option D. Applies italic format to selected text
True Answer D

Explanation :

The keystrokes Ctrl + I is used to

Question No# : 11 out of 20



Microwave is a wireless communication technique

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer A

Explanation :

Microwave is a wireless communication technique

Question No# : 12 out of 20



It is possible to _______ a data source before performing a merge.

Option A. Modify
Option B. Sort
Option C. Create
Option D. all of the above
True Answer D

Explanation :

It is possible to _______ a data source before performing a merge.

Question No# : 13 out of 20



The value of the integral given below is

Option A. –2π
Option B. π
Option C. –π
Option D. 2π
True Answer A

Explanation :

  

= (π2 sinπ + 2πcosπ – 2sinπ) – (0 + 0 + 0) = –2π

The value of the integral given below is

Question No# : 14 out of 20



UIDAI Connected with ?

Option A. Pan Card
Option B. Aadhar Card
Option C. U.P.I. From
Option D. All of the above
True Answer B

Explanation :

UIDAI Connected with ?

Question No# : 15 out of 20



निम्नलिखित शब्दों के दिये गये विकल्पों में तत्सम शब्द का चयन कीजिएः

Option A. कलश
Option B. कलस
Option C. कल्स
Option D. कल्श
True Answer A

Explanation :
हिन्दी में जो शब्द संस्कृत से ज्यों के त्यों ग्रहण कर लिए गए हैं तथा जिनमें कोई ध्वनि परिवर्तन नहीं हुआ है, वे तत्सम शब्द कहलाते हैं। जैसे - कलश, अग्नि, वायु, माता, पिता, प्रकाश, पत्र, सूर्य आदि।

निम्नलिखित शब्दों के दिये गये विकल्पों में तत्सम शब्द का चयन कीजिएः

Question No# : 16 out of 20



In a class of 50 students, 40% are girls. How many boys are there?

Option A. 20
Option B. 10
Option C. 25
Option D. 30
True Answer D

Explanation :

 Total student in the class = 50 and girls =40%
Then, boys = (100 – 40)% = 60%
Therefore, number of the boys in the class UP_TET_2011_paper_II_files\image027.png

UP_TET_2011_paper_II_files\image028.png

In a class of 50 students, 40% are girls. How many boys are there?

Question No# : 17 out of 20



Who founded the Arya Samaj?

Option A. Swami Dayanand
Option B. Shankaracharya
Option C. Swaml Vivekananda
Option D. Raja Rammohan Roy
True Answer A

Explanation :
Arya Samaj is an Indian religious movement that promotes values and practices based on the infallibility of the Vedas. Arya Samaj was formally established in Bombay on 7 April 1875 by Dayanand Saraswati. The group eventually found most of its support in Punjab.

Who founded the Arya Samaj?

Question No# : 18 out of 20



XML allows creation of custom HTML tags and importing of data from anywhere on the web.

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer A

Explanation :

XML allows creation of custom HTML tags and importing of data from anywhere on the web.

Question No# : 19 out of 20



A Spider is

Option A. A Computer virus
Option B. A Browser
Option C. A program that catalogs web sites
Option D. A hacker community
True Answer C

Explanation :

A Spider is

Question No# : 20 out of 20




CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad