1. What is right way to Initialize array?
int n{} = { 2, 4, 12, 5, 45, 5 };
int n{6} = { 2, 4, 12 };
int n(6) = { 2, 4, 12, 5, 45, 5 };
int num[6] = { 2, 4, 12, 5, 45, 5 };
All of the above
2. The space factor when determining the efficiency of algorithm is measured by
Counting the minimum memory needed by the algorithm
Counting the average memory needed by the algorithm
Counting the maximum disk space needed by the algorithm
Counting the maximum memory needed by the algorithm
none of the above
3. A technique for direct search is
Hashing
Binary Search
Tree Search
Linear Search
None of the above
4. Which of the following function is used to find the first occurrence of a given string in another string?
strchr()
strrchr()
strnset()
strstr()
None of these
5. <b>tag makes the enclosed text bold. What is other tag to make text bold?
<sup>
<black>
<strong>
<emp>
None of the above
6. The Internet was launched in 1969 when the United States funded a project that developed a national computer network called
Web
ISP
CERN
ARPANET
None of the above
7. Design phase includes?
data,architectural and procedural designs only
architectural,procedural and interface design only
data,architectural interface and procedural design
data,architectural and interface design only
None of these
8. Which of the following code creates an object?
var book = new Object();
var book = Object();
var book = new OBJECT();
var book = new Book();
none of the above/div>
9. How can you make a numbered list?
<ol>
<dl>
<ul>
<list>
None of these
10. Which of the following is an aggregate function ?
PLUS
Count
ABS
Minimum
None of these
Answers.
1d,2d,3a,4d,5c,6d,7c,8a,9a,10b
int n{} = { 2, 4, 12, 5, 45, 5 };
int n{6} = { 2, 4, 12 };
int n(6) = { 2, 4, 12, 5, 45, 5 };
int num[6] = { 2, 4, 12, 5, 45, 5 };
All of the above
2. The space factor when determining the efficiency of algorithm is measured by
Counting the minimum memory needed by the algorithm
Counting the average memory needed by the algorithm
Counting the maximum disk space needed by the algorithm
Counting the maximum memory needed by the algorithm
none of the above
3. A technique for direct search is
Hashing
Binary Search
Tree Search
Linear Search
None of the above
4. Which of the following function is used to find the first occurrence of a given string in another string?
strchr()
strrchr()
strnset()
strstr()
None of these
5. <b>tag makes the enclosed text bold. What is other tag to make text bold?
<sup>
<black>
<strong>
<emp>
None of the above
6. The Internet was launched in 1969 when the United States funded a project that developed a national computer network called
Web
ISP
CERN
ARPANET
None of the above
7. Design phase includes?
data,architectural and procedural designs only
architectural,procedural and interface design only
data,architectural interface and procedural design
data,architectural and interface design only
None of these
8. Which of the following code creates an object?
var book = new Object();
var book = Object();
var book = new OBJECT();
var book = new Book();
none of the above/div>
9. How can you make a numbered list?
<ol>
<dl>
<ul>
<list>
None of these
10. Which of the following is an aggregate function ?
PLUS
Count
ABS
Minimum
None of these
Answers.
1d,2d,3a,4d,5c,6d,7c,8a,9a,10b
0 comments:
Post a Comment