NCO- Cyber Olympiad (SOF) Class 12: Questions 255 - 259 of 520

Access detailed explanations (illustrated with images and videos) to 520 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. Unlimited Access for Unlimited Time! View Sample Explanation or View Features.

Rs. 350.00 or

How to register?

Passage

Consider the following declaration, and answer the questions that follows.

Image shows declaration of Static array

Image Shows Declaration of Static Array

Question number: 255 (1 of 2 Based on Passage) Show Passage

» Computer » Programming in C++

Edit
MCQ▾

Question

What will be the value of expression ?

Choices

Choice (4)Response

a.

15

b.

25

c.

20

d.

12

Question number: 256 (2 of 2 Based on Passage) Show Passage

» Computer » Programming in C++

Edit
MCQ▾

Question

What will be the value of expression ?

Choices

Choice (4)Response

a.

20

b.

10

c.

15

d.

12

Question number: 257

» Computer » MS-Word

Edit
MCQ▾

Question

A table ________

Choices

Choice (4)Response

a.

Is a grid organized in columns and rows

b.

Can be created and modified with a button on the standard tool bar

c.

Is a method of organizing data in your document

d.

Can be formatted with character formats like bold and paragraph formats like borders and shading

Question number: 258

» Computer » Programming in C++

Edit
MCQ▾

Question

Which of the following Options is CORRECT to find the Length of a String in ?

Choices

Choice (4)Response

a.

  1. int Xstrlen (char *S)
  2. {
  3.     int length = 0;
  4.     while (*S!= ‘⧵0’)
  5.     {
  6.         S++;
  7.     }
  8.     return(length);
  9. }

b.

  1. int Xstrlen (char *S)
  2. {
  3.     int length = 0;
  4.     while (*S!= ‘⧵0’)
  5.     {
  6.         length++;
  7.         S++;
  8.     }
  9.     return(length);
  10. }

c.

  1. int Xstrlen (char S)
  2. {
  3.     int length = 0;
  4.     while (*S!= ‘⧵0’)
  5.     {
  6.         length++;
  7.         S++;
  8.     }
  9.     return(length);
  10. }

d.

  1. int Xstrlen (char *S)
  2. {
  3.     int length = 0;
  4.     while (*S!= ‘⧵0’)
  5.     {
  6.         length++;
  7.     }
  8.     return(length);
  9. }

Question number: 259

» Computer » Network Security Concepts

Edit
MCQ▾

Question

Which of the following is/are the key elements of protocols?

Choices

Choice (4)Response

a.

Syntax

b.

Semantics

c.

Timing

d.

All a. , b. and c. are correct

Developed by: