IT Trainer Questions


Q:

Does not overriding hashcode() method has any performance implication ?

Answer

A poor Hashcode() function will result in frequent collision in HashMap which eventually increase time for adding an object into Hash Map.

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: Analyst , IT Trainer

2 4427
Q:

What is C-Sharp (C#) and its advantages ?

Answer

C# is a type-safe, managed and object oriented language, which is compiled by .Net framework for generating intermediate language (IL).


Below are some of the features supported in C# -
* Constructors and Destructors
* Properties
* Passing Parameters
* Arrays
* Main
* XML Documentation and
* Indexers


Below are the advantages of C# -


* Easy to learn
* Object oriented
* Component oriented
* Part of .NET framework

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: IT Trainer , Analyst

1 3818
Q:

What is the difference between int and int32 ?

Answer

There is no difference between int and int32. System. Int is an alias name for System.Int32 which is a .Net Class.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Analyst , IT Trainer

1 2612
Q:

A source program is the program written in which level language  ?

A) Alpha Numeric B) High-Level
C) Symbolic D) Machine
 
Answer & Explanation Answer: B) High-Level

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming
Exam Prep: Bank Exams
Job Role: Analyst , Database Administration , IT Trainer

14 10106
Q:

How to convert JSON Text to a JavaScript Object ?

Answer

One of the most common use of JSON is to fetch JSON data from a web server (as a file or as an HttpRequest), convert the JSON data to a JavaScript object, and then it uses the data in a web page.


The eval() function can compile and execute any JavaScript. This represents a potential security problem.


It is safer to use a JSON parser to convert a JSON text to a JavaScript object. A JSON parser will recognize only JSON text and will not compile scripts.

Report Error

View answer Workspace Report Error Discuss

2 4032
Q:

What is JSON ?

Answer

* JSON full form is JavaScript Object Notation.
* JSON is a lightweight text-based open standard designed for human-readable data interchange.
* It is derived from the JavaScript programming language for representing simple data structures and associative arrays, called objects.
* And JSON is language-independent, with parsers available for virtually every programming language.
* Uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python,php
* The JSON format is often used for serializing and transmitting structured data over a network connection.
* When third party data interchane(REST Services) then JSON may used there LIKE SHOP.
* It is primarily used to transmit data between a server and web application, serving as an alternative to XML.


 

Report Error

View answer Workspace Report Error Discuss

2 3939
Q:

In how many years, Rs. 200 will produce the same interest @ 5 % as Rs. 900 produce in 2 years @ 3 ½ %  ?

A) 5.2 yrs B) 7 yrs
C) 7.9 yrs D) 6.3 yrs
 
Answer & Explanation Answer: D) 6.3 yrs

Explanation:

P = Rs. 900, R = 3 ½ % = 7/2 %, T = 2 years. 

Therefore, 

S.I. = PTR/100

S.I. = Rs. (900 x 7/2 x 2/100) = Rs. 63

Now, P = Rs. 200, S.I. = Rs. 63, R = 5 %

Time = ((100 x 63) / (200 x 5) ) years = 6.3 years.

Report Error

View Answer Report Error Discuss

Filed Under: Simple Interest
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO , IT Trainer

6 6785
Q:

Values that are used to end loops are referred to as _____ values.

A) stop B) sentinel
C) end D) finish
 
Answer & Explanation Answer: B) sentinel

Explanation:
Report Error

View Answer Report Error Discuss

4 4571