QUIZ ON : C LANGUAGE - STRUCTURES AND UNIONS

STRUCTURES AND UNIONS

00:00:00

The miles _____ a long way to walk.

Option A. Are
Option B. Is
Option C. Are being
Option D. None of these
True Answer B

Explanation :
A plural noun denoting quantity or measurement of time, money, distance or weight as a unit, takes a singular verb. Therefore, the miles is a long way to walk.

The miles _____ a long way to walk.

Question No# : 01 out of 20



Which of the following is a good practice

Option A. Give full permission for remote transferring
Option B. Grant read only permission
Option C. Grant limited permission to specified account
Option D. Give both read and write permission but not execute
True Answer C

Explanation :
Limited access is a key method to circumvent unauthorized access and exploits.

Which of the following is a good practice

Question No# : 02 out of 20



The PowerPoint view that displays only text (title and bullets) is

Option A. Slide show
Option B. Slide sorter view
Option C. Notes page view
Option D. Outline view
True Answer D

Explanation :

The PowerPoint view that displays only text (title and bullets) is

Question No# : 03 out of 20



Which of the following school emphasized on learning by insight?

Option A. Psycho analytical theory
Option B. Behaviourism
Option C. Connectionism
Option D. Gestalt theory
True Answer D

Explanation :
The theory of learning by insight is the contribution of Gestalt Psychologists. Gestaltists consider learning as the development of insight, which is primarily concerned with the nature of perception.

Which of the following school emphasized on learning by insight?

Question No# : 04 out of 20



Host A sends a UDP datagram containing 8880 bytes of user data to host B over an Ethernet LAN. Ethernet frames may carry data up to 1500 bytes (i.e. MTU=1500 bytes). Size of UDP header is 8 bytes and size of IP header is 20 bytes. There is no option field in IP header. How many total number of IP fragments will be transmitted and what will be the contents of offset field in the last fragment?

Option A. 6 and 925
Option B. 6 and 7400
Option C. 7 and 1110
Option D. 7 and 8880
True Answer C

Explanation :

 UDP data = 8880 bytes
UDP header = 8 bytes
IP Header = 20 bytes
Total Size excluding IP Header = 8888 bytes.
Number of fragments =  8888 / 1480 
= 7
Refer the Kurose book slides on IP (Offset is always scaled by 8)
Offset of last segment = (1480 * 6) / 8 = 1110

Host A sends a UDP datagram containing 8880 bytes of user data to host B over an Ethernet LAN. Ethernet frames may carry data up to 1500 bytes (i.e. MTU=1500 bytes). Size of UDP header is 8 bytes and size of IP header is 20 bytes. There is no option field in IP header. How many total number of IP fragments will be transmitted and what will be the contents of offset field in the last fragment?

Question No# : 05 out of 20



Set of statements is executed again and again based upon conditional test.

Option A. Looping
Option B. Selective
Option C. Sequence
Option D. None
True Answer A

Explanation :

Set of statements is executed again and again based upon conditional test.

Question No# : 06 out of 20

What will be the output of the following Python code?

  A = [[1, 2, 3],       [4, 5, 6],       [7, 8, 9]]  [A[i][len(A)-1-i] for i in range(len(A))]

Option A. [1, 5, 9]
Option B. [4, 5, 6]
Option C. [3, 5, 7]
Option D. [2, 5, 8]
True Answer C

Explanation :
This expression scales the common index to fetch A[0][2], A[1][1], etc. We assume the matrix has the same number of rows and columns.

What will be the output of the following Python code?

  A = [[1, 2, 3],       [4, 5, 6],       [7, 8, 9]]  [A[i][len(A)-1-i] for i in range(len(A))]

Question No# : 07 out of 20



The process of moving from one website to another web site is known as

Option A. Surfing
Option B. Searching
Option C. Moving
Option D. Finding
True Answer A

Explanation :

The process of moving from one website to another web site is known as

Question No# : 08 out of 20



elif can be considered to be abbreviation of

Option A. nested if
Option B. if..else
Option C. else if
Option D. if..elif
True Answer C

Explanation :

elif can be considered to be abbreviation of

Question No# : 09 out of 20

In which format, spreadsheet gives permission for entering the data in it ?

Option A. Horizontal
Option B. Vertical
Option C. Both A and B
Option D. None of These
True Answer C

Explanation :

In which format, spreadsheet gives permission for entering the data in it ?

Question No# : 10 out of 20



In Email________ is used to determine where a message is sent, and also records the specific path the message follows as it passes through each mail server.

Option A. Message envelope
Option B. Message header
Option C. Message body
Option D. Message notification
True Answer C

Explanation :

In Email________ is used to determine where a message is sent, and also records the specific path the message follows as it passes through each mail server.

Question No# : 11 out of 20



Decimal equivalent of the binary number 11011 is:

Option A. 120
Option B. 72
Option C. 27
Option D. 17
True Answer C

Explanation :

Decimal equivalent of the binary number 11011 is:

Question No# : 12 out of 20



The most important system software of computer is the-

Option A. Microprocessor
Option B. Operating system
Option C. Automation Software
Option D. Application Software
True Answer B

Explanation :

The most important system software of computer is the-

Question No# : 13 out of 20



In the following question, fill in the blank with the correct preposition. Are you sorry _________ what you have done?

Option A. with
Option B. for
Option C. by
Option D. over
True Answer B

Explanation :
The correct preposition to be used in the given sentence is "for". It is because "for" is also used as a substitute for "because of".

In the following question, fill in the blank with the correct preposition. Are you sorry _________ what you have done?

Question No# : 14 out of 20



Internet is not owned by any company or country.

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

Explanation :

Internet is not owned by any company or country.

Question No# : 15 out of 20



Classifying content in social media happens through an activity such as tagging.

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

Explanation :

Classifying content in social media happens through an activity such as tagging.

Question No# : 16 out of 20



What will be the output of the following Python code?

  1.   values = [[3, 4, 5, 1 ], [33, 6, 1, 2]]
  2.    
  3. for row in values:
  4.       row.sort()
  5.       for element in row:
  6.           print(element, end = " ")
  7.       print()

Option A. The program prints two rows 3 4 5 1 followed by 33 6 1 2
Option B. The program prints on row 3 4 5 1 33 6 1 2
Option C. The program prints two rows 3 4 5 1 followed by 33 6 1 2
Option D. The program prints two rows 1 3 4 5 followed by 1 2 6 33
True Answer D

Explanation :
Execute in the shell to verify.

What will be the output of the following Python code?

  1.   values = [[3, 4, 5, 1 ], [33, 6, 1, 2]]
  2.    
  3. for row in values:
  4.       row.sort()
  5.       for element in row:
  6.           print(element, end = " ")
  7.       print()

Question No# : 17 out of 20



True fruits develop from

Option A. thalamus
Option B. petal
Option C. ovary
Option D. sepal
True Answer C

Explanation :
A true fruit or eucarp is a mature or ripened ovary, developed after fertilization, e.g., Mango, Maize, Grape etc.

True fruits develop from

Question No# : 18 out of 20



Touch Screen is

Option A. Input device
Option B. Output device
Option C. Both a & b above
Option D. None of these
True Answer C

Explanation :

Touch Screen is

Question No# : 19 out of 20



The maximum Zoom % in LibreOffice Calc is?

Option A. 300%
Option B. 200%
Option C. 400%
Option D. 500%
True Answer C

Explanation :


The maximum Zoom % in LibreOffice Calc 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