0
Alien head

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

Hibernate.cache.use_query_cache setting true enable cache regions ?

  1. StandardQueryCache and UpdateTimestampsCache

  2. StandardQueryCache

  3. QueryCache

  4. QueryCache and TimestampsCache


Correct Option: A

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

  1. None


Correct Option: C

How will you read executable file ?

  1. None

  2. file

  3. ./a.out

  4. strings


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

How to debugg a C file ?

  1. gdb

  2. ddd

  3. xxgdb

  4. none


Correct Option: A,B,C

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

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

Which symbol is used as the End of Line in C

  1. .

  2. `

  3. ~

  4. ;


Correct Option: D

Which symbol is used to access the members of a structure

  1. **

  2. &

  3. ^

  4. .


Correct Option: D

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 to reference a pointer in C

  1. *

  2. ^

  3. &

  4. @


Correct Option: C

Which symbol is used to declare a pointer variable

  1. *

  2. -

  3. +


Correct Option: A

C was influenced by

  1. B, Algol 68

  2. Assembly, PL/I

  3. Fortran

  4. All the Above


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 developed at

  1. Microsoft

  2. IBM

  3. Apple

  4. Bell Labs


Correct Option: D

When was the C language developed

  1. 1969

  2. 1972

  3. 1984

  4. 1999


Correct Option: B

Who developed C languade

  1. Ken Thompson

  2. Dennis Ritchie

  3. Ken Thompson and Dennis Ritchie

  4. None


Correct Option: B

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

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

Which of the following exception is raised when an insert or update attempts to create two rows with duplicate values in columns constrained by unique index

  1. NOT_LOGGED_ON

  2. NO_DATA_FOUND

  3. VALUE_ERROR

  4. DUP_VAL_ON_INDEX


Correct Option: D
+ View questions