Questions

Q:

India's first amphibious bus project has been launched by which state government ?

A) Telangana B) Assam
C) Punjab D) Gujarat
 
Answer & Explanation Answer: C) Punjab

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: CAT
Job Role: Bank PO

17 6663
Q:

Light year is a unit of

A) time B) speed of light
C) distance D) mass
 
Answer & Explanation Answer: C) distance

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

10 6660
Q:

The fastest growing plant is ______ ?

A) Ashoka B) Banyan
C) Eucalyptus D) Rose
 
Answer & Explanation Answer: C) Eucalyptus

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

32 6655
Q:

What do the functions atoi(), itoa() and gcvt () do? Show how would you use them in a program.

Answer

atoi()         Converts a string to an integer.


itoa()         Convert an integer to a string


gcvt()        Converts a floating-point number to a string


 


#include "stdlib.h"


main()


{


      char s[] = "12345";


      char buffer [15], string[20];


      int i;


      


      i = atoi (s);


      printf("\n%d",i);


 


       gcvt (20.141672, 4, buffer);


       printf ("\n%s", buffer);


 


       itoa(15, string,2);


        printf ("\n%s", string);


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

2 6653
Q:

Which dml command is used in conjunction with @@identity?

A) INSERT and UPDATE B) UPDATE and DELETE
C) SCOPE_IDENTITY and IDENT_CURRENT D) Commit and rollback
 
Answer & Explanation Answer: C) SCOPE_IDENTITY and IDENT_CURRENT

Explanation:

Using automatically incrementing IDENTITY columns is very popular with database developers. You don’t need to explicitly calculate unique surrogate keys when inserting new data, the IDENTITY column functionality does that for you. The IDENTITY feature also allows you to specify useful Seed and Increment properties. When you use an INSERT statement to insert data into a table with an IDENTITY column defined, SQL Server will generate a new IDENTITY value.

 

You can use the @@IDENTITY variable and the SCOPE_IDENTITY and IDENT_CURRENT functions to return the last IDENTITY value that has been generated by SQL Server. This is very useful when you need to return the key for the row that has just been inserted, back to the caller.

Report Error

View Answer Report Error Discuss

9 6650
Q:

Which type of entity is related to two or more associated entities that each contain specialized attributes that apply to some but not all of the instances of the entity?

A) Supertype entity B) Subtype entity
C) Archetype entity D) Instance entity
 
Answer & Explanation Answer: A) Supertype entity

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

2 6650
Q:

Smallest of all the continents?

A) Asia B) Australia
C) Africa D) America
 
Answer & Explanation Answer: B) Australia

Explanation:

Australia is the smallest of all the continents

Report Error

View Answer Report Error Discuss

31 6649
Q:

Fish and other aquatic creatures can live inside a deep frozen pond because 

A) fish are cold-blooded animals B) ice is a bad conductor of heat
C) there will always be water just beneath the ice level D) they can adapt themselves to live in ice
 
Answer & Explanation Answer: C) there will always be water just beneath the ice level

Explanation:

Water has the maximum density at 4oC. So at this temperature, it sinks down to bottom and stays here. If it cools further, it will become less dense and move up. So while the upper layers can cool enough to form ice, the bottom layers remain as water at  4oC .  

Therefore, (C) is correct.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: CAT , AIEEE
Job Role: Analyst

20 6649