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 6661
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 6651
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 6649
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 6649
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 6648
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 6648
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 6645
Q:

Which of the following features may occur when lava cool at the surface

A) Basalt plateau B) Still
C) Batholith D) Dyke
 
Answer & Explanation Answer: A) Basalt plateau

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

5 6643