QUIZ ON : PROGRAMMING AND PROBLEM SOLVING THROUGH PYTHON - NUMPY BASICS

NUMPY BASICS

00:00:00

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

  a = [0, 1, 2, 3]  for a[0] in a:      print(a[0])

Option A. 0 1 2 3
Option B. 0 1 2 2
Option C. 3 3 3 3
Option D. error
True Answer A

Explanation :
The value of a[0] changes in each iteration. Since the first value that it takes is itself, there is no visible error in the current example.

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

  a = [0, 1, 2, 3]  for a[0] in a:      print(a[0])

Question No# : 01 out of 20



In animation, a keyframe is a frame in which the artwork differs from the previous frame.

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

Explanation :

In animation, a keyframe is a frame in which the artwork differs from the previous frame.

Question No# : 02 out of 20



The Tamil version of ________ John Abraham-starrer Madras café ________ cleared by the Censor Board with no cuts last week but the film’s distributors _________ no takers among the exhibitors for a release in Tamil Nadu _________ this Friday.

Option A. Mr., was, found, on
Option B. a, was, found, at
Option C. the, was, found, on
Option D. a, being, find at
True Answer C

Explanation :
John-Abraham starrer Madras Café talks about the movie not the person, so Mr. is ruled out. ‘Find no takers’ is not the correct phrase. At this Friday is incorrect. So, option C is correct.

The Tamil version of ________ John Abraham-starrer Madras café ________ cleared by the Censor Board with no cuts last week but the film’s distributors _________ no takers among the exhibitors for a release in Tamil Nadu _________ this Friday.

Question No# : 03 out of 20



What is the full name of AEPS?

Option A. Annual Premium Equivalent System
Option B. Aadhar Premium Enabled System
Option C. Aadhar Payment Enabled System
Option D. Aadhar Enabled Payment System
True Answer D

Explanation :

What is the full name of AEPS?

Question No# : 04 out of 20



When following piece of code is executed, what output will be generated?

#include<stdio.h>
int main(){
char arr[7]="Network";
printf("%s", arr);
return 0;
}

Option A. Network
Option B. N
Option C. Garbage value
Option D. Compilation error
True Answer A

Explanation :

When following piece of code is executed, what output will be generated?

#include<stdio.h>
int main(){
char arr[7]="Network";
printf("%s", arr);
return 0;
}

Question No# : 05 out of 20



The do-while loop is generally used when the number of iterations is known

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

Explanation :

The do-while loop is generally used when the number of iterations is known

Question No# : 06 out of 20

Which is a technology that governs the conduct which is socially acceptable in an online or digital.

Option A. Internet
Option B. Internet crime
Option C. Internet etiquette
Option D. Internet theft
True Answer C

Explanation :

Which is a technology that governs the conduct which is socially acceptable in an online or digital.

Question No# : 07 out of 20



Types of Software includes

Option A. Systems Software
Option B. Application Software
Option C. Both A and B
Option D. None of These
True Answer C

Explanation :

Types of Software includes

Question No# : 08 out of 20



HTML stands for?

Option A. Hyper Tabular Markup Language
Option B. Hyper Text Markup Language
Option C. High Text Markup Language
Option D. None of these
True Answer B

Explanation :

HTML stands for?

Question No# : 09 out of 20

Ginger is the modification of

Option A. root
Option B. leaf
Option C. stem
Option D. fruit
True Answer C

Explanation :
Ginger is the modification of stem. It is actually an underground stem. Ginger is a flowering plant whose rhizome, ginger root or ginger, is widely used as a spice and a folk medicine.

Ginger is the modification of

Question No# : 10 out of 20



Firmware is software that is embedded in a hardware device

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

Explanation :

Firmware is software that is embedded in a hardware device

Question No# : 11 out of 20



What is the full form of IMF?

Option A. Internet money fund
Option B. International Money Fund
Option C. International Monetary Fund
Option D. None of these
True Answer C

Explanation :

What is the full form of IMF?

Question No# : 12 out of 20



What will be the output of the following Python code?

  1. >>>example = "helle"
  2. >>>example.rfind("e")

Option A. -1
Option B. 4
Option C. 3
Option D. 1
True Answer B

Explanation :
Returns highest index.

What will be the output of the following Python code?

  1. >>>example = "helle"
  2. >>>example.rfind("e")

Question No# : 13 out of 20



In slide layout panel how many layouts are available for text layout by default?

Option A. 4
Option B. 7
Option C. 12
Option D. None of above
True Answer A

Explanation :

In slide layout panel how many layouts are available for text layout by default?

Question No# : 14 out of 20



Which is the character encoding standard that provides unique number to every character

Option A. Unicode
Option B. ASCII
Option C. ENIAC
Option D. IBM
True Answer B

Explanation :

Which is the character encoding standard that provides unique number to every character

Question No# : 15 out of 20



Where is the name box located in LibreOffice Calc?

Option A. Bottom left of the menu bar
Option B. Top left over menubar
Option C. On the status bar
Option D. Bottom right side of the menu bar
True Answer A

Explanation :

Where is the name box located in LibreOffice Calc?

Question No# : 16 out of 20



Intranet is a company’s internal web.

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

Explanation :
The statement is true. Intranet is a company’s internal web and uses TCP/IP, HTTP and other internet protocols. It’s main object is to share company information among employees.

Intranet is a company’s internal web.

Question No# : 17 out of 20



Consider the languages L1, L2 and L3 as given below.

L1 = {0p 1q | p,q ∈ N},
L2 = {0p 1q | p,q ∈ N, and p=q} and
L3 = {0p 1q 0r| p,q,r ∈ N, and p=q=r}

Which of the following statements is NOT TRUE?

Option A. Push Down Automata (PDA) can be used to recognize L1 and L2
Option B. L1 is a regular language
Option C. All the three languages are context free
Option D. Turing machines can be used to recognize all the languages
True Answer C

Explanation :

 Solution:

L1= 0+ 1+
Therefore L1 is regular language .
L2 =  0n 1n 
L2 is context free language

L3 = 0n 1n 0n 
L3 is context sensitive language and it is not CFL.

So all three languages can not be CFL.

Consider the languages L1, L2 and L3 as given below.

L1 = {0p 1q | p,q ∈ N},
L2 = {0p 1q | p,q ∈ N, and p=q} and
L3 = {0p 1q 0r| p,q,r ∈ N, and p=q=r}

Which of the following statements is NOT TRUE?

Question No# : 18 out of 20



Why is a one time password system considered more secure than a basic authentication system?

Option A. It is easy to generated
Option B. It cannot be shared
Option C. It is different for every access
Option D. It is a complex encrypted password
True Answer C

Explanation :
One time password is safe since it is generated per access and thus cannot be brute forced or deduced.

Why is a one time password system considered more secure than a basic authentication system?

Question No# : 19 out of 20



A class is a mechanism to implement encapsulation

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

Explanation :

A class is a mechanism to implement encapsulation

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