QUIZ ON : INTERNET OF THINGS AND ITS APPLICATIONS - BUILDING IOT APPLICATIONS

BUILDING IOT APPLICATIONS

00:00:00

Let L = L1 L2, where L1 and L2 are languages as defined below:
L1 = {am bm c an bn | m,n>=0}
L2 = {ai bj ck | i,j,k>=0}
 
Then L is

Option A. Not recursive
Option B. Regular
Option C. Context-free but not regular
Option D. Recursively enumerable but not context-free
True Answer C

Explanation :

 L1 = {am bm c an bn | m,n>=0}
L2 = {ai bj ck | i,j,k>=0}
 
In L1, put n=0 and In L2, put k=1 and i=j to get the common strings in L1 and L2.
L1 ∩ L= { am bm c} is DCFL but not regular.

Let L = L1 L2, where L1 and L2 are languages as defined below:
L1 = {am bm c an bn | m,n>=0}
L2 = {ai bj ck | i,j,k>=0}
 
Then L is

Question No# : 01 out of 20



___________ is known as loop back address.

Option A. 200.200.1.1
Option B. 10.10.1.1
Option C. 224.1.1.1
Option D. 127.0.0.1
True Answer D

Explanation :

___________ is known as loop back address.

Question No# : 02 out of 20



In which menu of LibreOffice Writer is the mail merge or letter wizard found?

Option A. Format
Option B. File
Option C. Tools
Option D. Insert
True Answer C

Explanation :


In which menu of LibreOffice Writer is the mail merge or letter wizard found?

Question No# : 03 out of 20



Airline reservation system is a typical example of

Option A. Batch processing
Option B. On-line processing
Option C. Real time processing
Option D. None of the above
True Answer C

Explanation :

Airline reservation system is a typical example of

Question No# : 04 out of 20



Correcting the program code:

Option A. Testing
Option B. Syntax error
Option C. Runtime error
Option D. Debugging
True Answer D

Explanation :

Correcting the program code:

Question No# : 05 out of 20

Which of the following is not an abiotic component of biosphere?

Option A. Protein
Option B. Soil
Option C. Fungi
Option D. Phosphorus
True Answer C

Explanation :
Except C (Fungi), rest of all are the abiotic component of biosphere. A fungus is any member of the group of eukaryotic organisms that includes microorganisms such as yeasts and molds, as well as the more familiar mushrooms.

Which of the following is not an abiotic component of biosphere?

Question No# : 06 out of 20

Where is the QR code is used?

Option A. In payment transfer
Option B. In account verification
Option C. In both
Option D. neither of the above
True Answer C

Explanation :

Where is the QR code is used?

Question No# : 07 out of 20



In Power point every slide contains text place holder

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

Explanation :

In Power point every slide contains text place holder

Question No# : 08 out of 20



A triangle has sides that measure 5 cm, 12 cm and 13 cm. Identify the type of triangle.

Option A. Equilateral triangle
Option B. Isosceles triangle
Option C. Obtuse angled triangle
Option D. Right angled triangle
True Answer D

Explanation :

 These measures fallow to Pythagoras theorem as.
(13)2 = 52 + 122
169 = 25 + 144
169 = 169
L. H. S = R. H. S
Therefore, it is a right angled triangle

A triangle has sides that measure 5 cm, 12 cm and 13 cm. Identify the type of triangle.

Question No# : 09 out of 20

SMTP protocol works on which port number?

Option A. 80
Option B. 143
Option C. 110
Option D. 25
True Answer D

Explanation :

SMTP protocol works on which port number?

Question No# : 10 out of 20



What will be the output of the following Python code?

  1.   names1 = ['Amir', 'Bear', 'Charlton', 'Daman']
  2.   names2 = names1
  3.   names3 = names1[:]
  4.    
  5.   names2[0] = 'Alice'
  6.   names3[1] = 'Bob'
  7.    
  8.   sum = 0
  9. for ls in (names1, names2, names3):
  10.       if ls[0] == 'Alice':
  11.           sum += 1
  12.       if ls[1] == 'Bob':
  13.           sum += 10
  14.    
  15.   print sum

Option A. 11
Option B. 12
Option C. 21
Option D. 22
True Answer B

Explanation :
When assigning names1 to names2, we create a second reference to the same list. Changes to names2 affect names1. When assigning the slice of all elements in names1 to names3, we are creating a full copy of names1 which can be modified independently.

What will be the output of the following Python code?

  1.   names1 = ['Amir', 'Bear', 'Charlton', 'Daman']
  2.   names2 = names1
  3.   names3 = names1[:]
  4.    
  5.   names2[0] = 'Alice'
  6.   names3[1] = 'Bob'
  7.    
  8.   sum = 0
  9. for ls in (names1, names2, names3):
  10.       if ls[0] == 'Alice':
  11.           sum += 1
  12.       if ls[1] == 'Bob':
  13.           sum += 10
  14.    
  15.   print sum

Question No# : 11 out of 20



BOSS OS is developed in

Option A. USA
Option B. UK
Option C. India
Option D. China
True Answer C

Explanation :

BOSS OS is developed in

Question No# : 12 out of 20



RAM is an example of

Option A. Secondary memory
Option B. Primary memory
Option C. Flash memory
Option D. Both (1) and (2)
True Answer B

Explanation :

RAM is an example of

Question No# : 13 out of 20



From the following, which is not a common file permission

Option A. Write
Option B. Execute
Option C. Stop
Option D. Read
True Answer C

Explanation :

From the following, which is not a common file permission

Question No# : 14 out of 20

Consider the program below:
 
The value printed is:

Option A. 6
Option B. 8
Option C. 14
Option D. 15
True Answer B

Explanation :

 Solution:
Stack Positions:

Consider the program below:
 
The value printed is:

Question No# : 15 out of 20



Are the expression *ptr++ and ++*ptr are same?

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

Explanation :

Are the expression *ptr++ and ++*ptr are same?

Question No# : 16 out of 20

To clear all temporary files, we perform disk cleanup.

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

Explanation :

To clear all temporary files, we perform disk cleanup.

Question No# : 17 out of 20



What will be the output of the following Python code?

  x=1  def cg():  	global x  	x=x+1	  cg()  x

Option A. 2
Option B. 1
Option C. 0
Option D. Error
True Answer A

Explanation :
Since ‘x’ has been declared a global variable, it can be modified very easily within the function. Hence the output is 2.

What will be the output of the following Python code?

  x=1  def cg():  	global x  	x=x+1	  cg()  x

Question No# : 18 out of 20



Consider the systems, each consisting of m linear equations in n variables.

I. If m < n, then all such systems have a solution

II. If m > n, then none of these systems has a solution

III. If m = n, then there exists a system which has a solution

Which one of the following is CORRECT?

Option A. I, II and III are true
Option B. Only II and III are true
Option C. Only III is true
Option D. None of them is true
True Answer C

Explanation :

I is not correct

Has no solution, when no of equations is less than no of variables.
II is not correct
Eg:

Has a solution 
III is correct
Eg:

Has solutions 

Consider the systems, each consisting of m linear equations in n variables.

I. If m < n, then all such systems have a solution

II. If m > n, then none of these systems has a solution

III. If m = n, then there exists a system which has a solution

Which one of the following is CORRECT?

Question No# : 19 out of 20



निम्नलिखित में योगरूढ़ शब्द चुनिएः

Option A. पीला
Option B. चक्रपाणि
Option C. दूधवाला
Option D. नैन
True Answer B

Explanation :
चक्रपाणि (चक्र है हाथ में जिसके वह अर्थात् विष्णु) योगरूढ़ शब्द है। वे शब्द, जो यौगिक तो हैं, किन्तु सामान्य अर्थ को न प्रकट कर किसी विशेष अर्थ को प्रकट करते हैं, योगरूढ़ कहलाते हैं। जैसे-पंकज, दशानन आदि। दूधवाला यौगिक शब्द है यह सामान्य अर्थ बताता है कोई विशेष शब्द कि ओर संकेत नही करता है

निम्नलिखित में योगरूढ़ शब्द चुनिएः

Question No# : 20 out of 20