.
  Vyom World.com . Let's Touch the Sky Together!  
.

Home
VyomWorld.com Home
Interview Questions
VyomLinks.com Home
JobsAssist.com Home
Vyom Network
Contact Us
Jobs & Careers
Resume Submitter
Placement Papers
IT Companies Directory
Computer Jobs
Interview Questions
Online Exams
Vyom Career eMag.
Fun
Send FREE SMS!
SMS Jokes
Source Codes Library
Source Codes Home
ASP Source Codes
C Source Codes
C++ Source Codes
COBOL Source Codes
Java Source Codes
Pascal Source Codes
Submit Source Codes
GATE
GATE an Overview
GATE Preparation
Study Materal
GRE
GRE an Overview
GRE Questions
GRE Preparation
GRE Universities
TOEFL Preparation
TOEFL Resources
GMAT Preparation
GMAT Resources
MBA Preparation
MBA Resources
Networking Concepts
Networking Concepts
Testing Preparation
Testing Resources
Webmasters
Free Traffic Builder
Webmaster Articles
Web Hosting
Tutorials
Hardware Tutorial
1500 Free eBooks New!


Home » Placement Papers » TATA ELXSI Placement Papers » TATA ELXSI Previous Year Placement Paper

 

TATA ELXSI Placement Paper -: .Net Questions With Answers


Advertisements
Advertisements




TATA ELXSI Previous Years Solved Sample Placement Papers

  1. What is the output of the expression true || false?

    a) true

    b) false

    c) null

    d) 0

    Ans: a) true
  2. Which of the following is not a primitive data type in Java?

    a) byte

    b) String

    c) double

    d) short

    Ans: b) String
  3. What is the default value of the int data type?

    a) 0

    b) 1

    c) null

    d) Undefined

    Ans: a) 0
  4. Which of the following data types can store a floating-point number?

    a) int

    b) byte

    c) double

    d) char

    Ans: c) double
  5. Which data type can store a single character?

    a) String

    b) byte

    c) char

    d) int

    Ans: c) char
  6. How many bits does the long data type use?

    a) 8

    b) 16

    c) 32

    d) 64

    Ans: d) 64
  7. What's the main difference between int and Integer in Java?

    a) No difference

    b) Integer can store larger values than int

    c) int is a primitive data type, while Integer is a class

    d) int can be null, while Integer cannot

    Ans: c) int is a primitive data type, while Integer is a class
  8. Which loop construct in Java is best suited when the number of iterations is known?

    a) for loop

    b) while loop

    c) do-while loop

    d) break statement

    Ans: a) for loop
  9. Which is the C# class from which the UInt data type is derived?

    A: System.Int16

    B: System.Int32

    C: System.UInt16

    D: System.UInt32

    Ans: D

    Explanation:

    The UInt data type is derived from the System.UInt32 class.

  10. Which is the first line of a C# program?

    A: using System;

    B: using system;

    C: using Namespace;

    D: namespace MyApplication

    Ans: A

    Explanation:

    The first line of a C# program is:

    using System;
  11. Which keyword is used to declare an interface in C#?

    A: interface

    B: Interface

    C: implement

    D: Implement

    Ans: A

    Explanation:

    In C#, an interface can be declared using the interface keyword. An interface can contain declarations of methods, properties, indexers, and events.

  12. In C#, by default, the default interface methods are ___.

    A: virtual

    B: sealed

    C: private

    D: public

    Ans: A

    Explanation:

    In C#, by default, the default interface methods are virtual unless the sealed or private modifier is used.




 


.

Recently Updated: New Placement Papers added.
Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | GRE Preparation | Jobs, Discussions | Software Listing | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | International Business Information | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | FAQs | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Excellent Mobiles | Software Testing | Interview Questions | Freshers Jobs | Server Insiders | File Extension Directory

Copyright ©2003-2025 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy