COMPUTER PROGRAMMING 2020 - Study24x7
Social learning Network
computerprogramming2020 Cover image
computerprogramming2020
COMPUTER PROGRAMMING 2020
  • Followers
  • Latest Feeds
  • Articles
  • Question
  • Course
  • About
  • Review
Interests
Computer Programming BCA B.SC/IT B.SC/CS
See more
38 followers study24x7 12 Jul 2020 11:05 PM study24x7 study24x7

Which of the following cannot be a variable name in C?

A

true

B

friend

C

export

D

volatile

study24x7
Write a comment
38 followers study24x7 12 Jul 2020 11:01 PM study24x7 study24x7

Which of the following is not a valid C variable name?

A

float rate;

B

int variable_count;

C

int $main;

D

int number;

study24x7
Write a comment
38 followers study24x7 12 Jul 2020 10:57 PM study24x7 study24x7

The format identifier ‘%i’ is also used for _____ data type.

A

int

B

char

C

float

D

double

study24x7
Write a comment
38 followers study24x7 08 Jul 2020 07:30 PM study24x7 study24x7

Which of the following is incorrect?

A

 class student{ }; student s;

B

class student{ }; student s[5];

C

class student{ }s;

D

class student{ }s[];

study24x7
Write a comment
38 followers study24x7 08 Jul 2020 07:13 PM study24x7 study24x7

How many data members can a class contain?

A

255

B

90

C

77

D

As many as required

study24x7
Write a comment
38 followers study24x7 08 Jul 2020 07:07 PM study24x7 study24x7

Size of a class is _____________

A

Sum of the size of all the variables along with inherited variables in the class

B

Size of the largest size of variable

C

Classes doesn’t have any size

D

Sum of the size of all the variables declared inside the class

study24x7
Write a comment
38 followers study24x7 08 Jul 2020 06:11 PM study24x7 study24x7

Which among the following is false for a constructor?

A

Constructors are overloaded with different signature

B

Constructors may or may not have any arguments being accepted

C

Constructors doesn’t have a return value

D

Constructors are always user defined

study24x7
Write a comment
38 followers study24x7 08 Jul 2020 11:36 AM study24x7 study24x7

What is the additional feature in classes that was not in structures?

A

Data members

B

Static data allowed

C

Public access specifier

D

Member functions

study24x7
Write a comment
38 followers study24x7 28 May 2020 05:55 PM study24x7 study24x7

Modulus operator (%) can be applied to which of these?

A

Integers

B

Floating - point numbers

C

Both A and B

D

None of These

study24x7
Write a comment
38 followers study24x7 28 May 2020 05:53 PM study24x7 study24x7

Java language was initially called as ________

A

J++

B

Sumatra

C

Pine

D

Oak

study24x7
Write a comment
38 followers study24x7 28 May 2020 05:49 PM study24x7 study24x7

Which operation is used as Logical 'AND'

A

Operator-||

B

Operator-&&

C

Operator-&

D

Operator +

study24x7
Write a comment
38 followers study24x7 27 May 2020 05:30 PM study24x7 study24x7

Which programming language is more faster among these?

A

PHP

B

Java

C

C

D

Visual Basic

study24x7
Write a comment
38 followers study24x7 27 May 2020 05:28 PM study24x7 study24x7

What is sizeof() in C?

A

Function

B

Operator

C

Macro

D

None of these

study24x7
Write a comment
38 followers study24x7 25 May 2020 05:41 PM study24x7 study24x7

Modulus operator, %, can be applied to which of these?

A

Integers

B

Floating – point numbers

C

Both Integers and floating – point numbers

D

None of the mentioned

study24x7
Write a comment
Ratings
0.0
out of 5
0 Ratings
5 study24x7
 
0.0
4 study24x7
 
0.0
3 study24x7
 
0.0
2 study24x7
 
0.0
1 study24x7
 
0.0
Related Pages