0

programming languages Online Quiz - 71

Description: programming languages Online Quiz - 71
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

Which of the following is not true about 'Dual'

  1. It is a oracle table with only one row and one column

  2. It supports arithmetic calculations

  3. It doesnot support date retrival

  4. The table has a single VARCHAR2(1) column called DUMMY that has a value of 'X'.


Correct Option: C

While creating a sequence, what does cache option mean?

  1. cache option specifies minimum value of the sequence

  2. cache option specifies how many sequence values will be stored in memory for faster access

  3. cache option specifies maximum value of the sequence

  4. cache option specifies the value with which the sequence will be incremented


Correct Option: B

Who developed C languade

  1. Ken Thompson

  2. Dennis Ritchie

  3. Ken Thompson and Dennis Ritchie

  4. None


Correct Option: B

When was the C language developed

  1. 1969

  2. 1972

  3. 1984

  4. 1999


Correct Option: B

C was developed at

  1. Microsoft

  2. IBM

  3. Apple

  4. Bell Labs


Correct Option: D

Feature which is not in C

  1. Large number of Compound operators

  2. Function and data pointers supporting

  3. Small set of key words

  4. Automatic garbage collection


Correct Option: D

C was influenced by

  1. B, Algol 68

  2. Assembly, PL/I

  3. Fortran

  4. All the Above


Correct Option: D

Which symbol is used to declare a pointer variable

  1. *

  2. -

  3. +


Correct Option: A
Explanation:

To solve this question, the user needs to know about pointers in programming languages. A pointer is a variable that stores the memory address of another variable. The symbol used to declare a pointer variable is the asterisk symbol (*), thus option A is the correct answer.

Option A: * is the correct symbol to declare a pointer variable.

Option B: - is not used to declare a pointer variable.

Option C: + is not used to declare a pointer variable.

Option D: | is not used to declare a pointer variable.

The Answer is: A

Which symbol is used to reference a pointer in C

  1. *

  2. ^

  3. &

  4. @


Correct Option: C

Which symbol is used to make single line & multiple line comments

  1. \

  2. * comments *\

  3. \ and * comments *\

  4. &&


Correct Option: C

Which symbol is used as the End of Line in C

  1. .

  2. `

  3. ~

  4. ;


Correct Option: D

How will you get the assembly code from a C raw code?

  1. asmb

  2. gcc -S ; cat

  3. as

  4. None


Correct Option: B

How will you get all macro entity of a C file ?

  1. gcc -Wall

  2. macro

  3. gcc -e

  4. gcc -E


Correct Option: D

What will the O/P of the bellow question ? ------------------- #include int main(){ printf("the size of main is %d\n",sizeof(main())); //OS is Linux return 0; }

  1. 1

  2. 2

  3. 4

  4. 0


Correct Option: C

What is the root level element in a hibernate mapping file?

  1. None


Correct Option: C
  1. StandardQueryCache and UpdateTimestampsCache

  2. StandardQueryCache

  3. QueryCache

  4. QueryCache and TimestampsCache


Correct Option: A
- Hide questions