Menu mobile
Home
PYTHON
Python Tutorial
Program Example
Interview Questions
JAVA
Java Tutorial
Program Example
Interview Questions
C Language
C Tutorial
Program Example
Interview Questions
Web Design
HTML
CSS
Java Script
PHP
Assignment
MS Office
HTML
CSS
Java Script
JQuery
AngularJs
QUIZ ON : JAVA - ARRAYS
ARRAYS
00:00:00
English
Hindi
Question No# :
01
The function strlen() computes the length of an argument string excluding the null character.
The function strlen() computes the length of an argument string excluding the null character.
A.
TRUE
सही
B.
FALSE
गलत
Question No# :
02
At the time of initialization of an array, dimension of the array need not to be specified.
At the time of initialization of an array, dimension of the array need not to be specified.
A.
TRUE
सही
B.
FALSE
गलत
Question No# :
03
________ is a derived data type.
________ is a derived data type.
A.
Array
Array
B.
INT
INT
C.
FLOAT
FLOAT
D.
CHAR
CHAR
Question No# :
04
Bounds of the array index are checked during execution.
Bounds of the array index are checked during execution.
A.
TRUE
सही
B.
FALSE
गलत
Question No# :
05
If the two strings are found to be unequal then strcmp returns difference between the first non-matching pair of characters.
If the two strings are found to be unequal then strcmp returns difference between the first non-matching pair of characters.
A.
TRUE
सही
B.
FALSE
गलत
Question No# :
06
What will happen if an element is assigned a value to an element of an array whose subscript exceeds the size of the array
What will happen if an element is assigned a value to an element of an array whose subscript exceeds the size of the array
A.
It will not be allowed, but no error
message will be generated
It will not be allowed, but no error
message will be generated
B.
Compiler will generate an error message
suggesting the same
Compiler will generate an error message
suggesting the same
C.
The element will be assigned NULL VALUE.
The element will be assigned NULL VALUE.
D.
Some other data may be overwritten
Some other data may be overwritten
Question No# :
07
In ‘C’, the compiler does not check if the subscript used for an array exceeds size of the array.
In ‘C’, the compiler does not check if the subscript used for an array exceeds size of the array.
A.
TRUE
सही
B.
FALSE
गलत
Question No# :
08
Which of the following function can be used to find the first occurrence of a given string in another string?
Which of the following function can be used to find the first occurrence of a given string in another string?
A.
strchr( )
strchr( )
B.
strrchr( )
strrchr( )
C.
strstr( )
strstr( )
D.
strnset( )
strnset( )
Question No# :
09
The index of an array starts from 1.
The index of an array starts from 1.
A.
TRUE
सही
B.
FALSE
गलत
Question No# :
10
The value of S[5] in the segment char s[15] = “ MICROPROCESSOR” is
The value of S[5] in the segment char s[15] = “ MICROPROCESSOR” is
A.
P
P
B.
O
O
C.
R
R
D.
None of the above
None of the above
Previous
1
Next
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 Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz