.
  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 » Mphasis Placement Papers » Mphasis Previous Year Placement Paper

 

Mphasis Placement Paper -: .Net Questions With Answers


Advertisements
Advertisements




Mphasis Previous Years Solved Sample Placement Papers

  1. Which of the following is responsible for converting bytecode into machine code?

    a) JDK

    b) JRE

    c) JVM

    d) Java Compiler

    Ans: c) JVM
  2. What does JDK include?

    a) Only a compiler

    b) Only a runtime environment

    c) Both a compiler and a runtime environment

    d) None of the above

    Ans: c) Both a compiler and a runtime environment
  3. Which of the following is NOT a part of the JRE?

    a) Bytecode verifier

    b) Classloader

    c) Java Compiler

    d) Java API classes

    Ans: c) Java Compiler
  4. What is the primary function of JRE?

    a) Compilation

    b) Debugging

    c) Execution

    d) Development

    Ans: c) Execution
  5. Can you run a Java program without JRE?

    a) Yes

    b) No

    Ans: b) No
  6. Is JVM platform-independent?

    a) Yes

    b) No

    Ans: a) Yes
  7. Which operator is used to perform bitwise "AND" operation?

    a) &&

    b) &

    c) |

    d) ||

    Ans: b) &
  8. What does the == operator compare in Java objects?

    a) Values

    b) References

    c) Hash codes

    d) Fields

    Ans: b) References
  9. Which operator is used for logical "AND" operation?

    a) &&

    b) &

    c) ||

    d) |

    Ans: a) &&
  10. Which of the following is a unary operator?

    a) +

    b) -

    c) !

    d) All of the above

    Ans: d) All of the above
  11. Which operator has the highest precedence?

    a) +

    b) *

    c) ()

    d) &&

    Ans: c) ()
  12. What is the output of the expression true || false?

    a) true

    b) false

    c) null

    d) 0

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

    a) byte

    b) String

    c) double

    d) short

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

    a) 0

    b) 1

    c) null

    d) Undefined

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

    a) int

    b) byte

    c) double

    d) char

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

    a) String

    b) byte

    c) char

    d) int

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

    a) 8

    b) 16

    c) 32

    d) 64

    Ans: d) 64
  18. 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
  19. 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
  20. What is the purpose of the continue statement in a loop?

    a) To exit the loop immediately

    b) To skip the current iteration and move to the next iteration

    c) To terminate the program

    d) To execute a specific block of code

    Ans: b) To skip the current iteration and move to the next iteration
  21. Which loop construct in Java is best suited when the number of iterations is unknown?

    a) for loop

    b) while loop

    c) do-while loop

    d) none

    Ans: b) while loop




 


.

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-2024 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy