Questions

Q:

What is the difference between a Local and a Global temporary table?

Answer

Local :


Only available to the current Db connection for current user and are cleared when connection is closed.


Multiple users can’t share a local temporary table.


 


Global:


Available to any connection once created. They are cleared when the last connection is closed.


Can be shared by multiple user sessions

Report Error

View answer Workspace Report Error Discuss

1 2710
Q:

In 8085 which is called as High order / Low order Rigister?

Answer

Flag is called as Low order rigister & Accumulator is called as High order Rigister.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 2710
Q:

What are the Various Register in 8085?

Answer

Accumulator register, Temporary register, Instruction register, Stack Pointer, Program Counter are the various registers in 8085

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2710
Q:

Answer the following Program

#define CHARSIZE 8

#define MASK(y) (1 << y % CHARSIZE)

#define BITSLOT (y) (y / CHARSIZE)

#define SET(x,y) ( x[BITSLOT(y)] = MASK(y) )

#define TEST(x,y) ( x[BITSLOT(y)] & MASK(y) )

#define NUMSLOTS(n) ((n + CHARSIZE - 1) / CHARSIZE)

 

Give the above macros how would you

1. declare an array arr of 50 bits

2. put the 20th bit on

3. test whether the 40th bit is on or off

Answer

1. char arr[NUMSLOTS(50)];


2. SET (arr, 20);


3. if (TEST (arr, 40))

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2709
Q:

Which datatype in c language has least storage?

A) char B) double
C) int D) float
 
Answer & Explanation Answer: A) char

Explanation:

Data types are used for declaration of variables in computer programming languages. These determine the type and size of data associated with variables.

Data types examples - int, char, float, etc...

 

char datatype is the least storage data type with 1 byte.

int with 2 or 4 bytes.

float with 4 bytes

double with 8 bytes.

datatype_in_c_language_has_least_storage1562156854.png image

Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Database Administration , IT Trainer

2 2709
Q:

China and Pakistan air forces have launched _________ joint air exercise in China.

A) Black Flag B) Desert Eagle
C) Red Flag D) Shaheen
 
Answer & Explanation Answer: D) Shaheen

Explanation:

The air forces of China and Pakistan began a joint training exercise SHAHEEN and deployed their latest fighter jets and AWACS aircraft. 

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

9 2708
Q:

Which is the heaviest metal among the following?

A) Gold B) Silver
C) Iron D) Copper
 
Answer & Explanation Answer: A) Gold

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

1 2707
Q:

Which of the following Articles of Indian Constitution guarantees freedom to press?

A) Article 16 B) Article 19
C) Article 22 D) Article 31
 
Answer & Explanation Answer: B) Article 19

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

1 2707