2018 Java Proficiency Test for Newcomers-Basics-

Introduction

This test is for ** those who have already learned the basics of Java **. (Mainly newcomers who have Java learning experience before joining the company or who have already learned in training after joining the company) ** It takes 15 minutes **.

Answers with explanations will be published at a later date.

Reference material "Introduction to Java that can be understood clearly 2nd edition" http://amzn.asia/6n0UuFx text2.jpg

Ability test

Q1 ** Q. Please execute the following process and select the appropriate result from the console output. ** **

Q1.png

** Answers **

  1. 3
  2. 3.0
  3. "3"
  4. 3.5
  5. 4.5
  6. No output due to compilation error

Q2 ** Q. Please execute the following process and select the appropriate result from the console output. ** **

Q2.png

** Answers **

  1. 1: true, 2: true, 3: true
  2. 1: false, 2: true, 3:true
  3. 1: true, 2: false, 3:true
  4. 1: true, 2: true, 3: false
  5. 1: false, 2: true, 3:false

Q3 ** Q. Please execute the following process and select the appropriate result from the console output. ** **

Q3.png

** Answers **

  1. Osaka and Tokyo
  2. Osaka, Tokyo
  3. Osaka, Tokyo and Fukui
  4. Osaka, Tokyo, Fukui
  5. Nothing is displayed

Q4 ** Q. Please execute the following process and select the appropriate result from the console output. ** **

Q4.png

** Answers **

  1. 0
  2. 20
  3. 25
  4. 30

Q5 ** Q. What are the names of arrows often used in IDEs (Eclipse, IntelliJ, etc.)? ** **

Q5.png

Q6 ** Q. Please answer the words that apply to the mosaic below (all the same words). * However, if a is 2 and b is 3, 23 will be the return value. ** **

Q6.png

Q7 ** Q. Please select the appropriate reason for class division. ** **

** Answers **

  1. It doesn't work unless it is divided into classes in the first place.
  2. To improve readability and make it easier to reuse and maintain
  3. To reduce readability and protect code confidentiality 4.1 Because the number of variables and methods that can be defined in a class is limited

Q8 ** Q. Please execute the following process and select the appropriate result from the console output. ** **

Q8.png

** Answers **

  1. 0
  2. 3
  3. 4
  4. 10
  5. 11
  6. 22
  7. 23
  8. 24

Q9 ** Q. What is the name of the arrow? ** **

Q9.png

** Answers **

  1. auto-boxing
  2. auto-unboxing
  3. cast
  4. strong type conversion

Q10 ** Q. Execute the following process and select the appropriate one in the last line output to the console. ** **

Q10.png

** Answers **

  1. The current consumption tax is 8.0%.
  2. The consumption tax is expected to be 10.0% in the future.
  3. No output due to compilation error

Recommended Posts

2018 Java Proficiency Test for Newcomers-Basics-
Primality test Java
For JAVA learning (2018-03-16-01)
2017 IDE for Java
Java for statement
[Java] How to test for null with JUnit
Test post (SHA-256 mining for blockchain by Java)
[Java] for statement, while statement
[Java] Package for management
Countermeasures for Java OutOfMemoryError
NLP for Java (NLP4J) (2)
(Memo) Java for statement
NLP for Java (NLP4J) (1)
Java update for Scala users
Java debug execution [for Java beginners]
[Java] Basic statement for beginners
[Java] Precautions for type conversion
Books used for learning Java
Fastest Primality Test C # Java C ++
Java test code method collection
Java thread safe for you
[Java] Summary of for statements
Java for beginners, data hiding
[Java] Tips for writing source
I investigated Randoop, a JUnit test class generator for Java
Java installation location for mac
Java application for beginners: stream
Java while and for statements
Implement Table Driven Test in Java 14
C # cheat sheet for Java engineers
New grammar for Java 12 Switch statements
Execution environment test after Java installation
[For beginners] Summary of java constructor
Java Unit Test Library-Artery-ArValidator Validates Objects
AWS SDK for Java 1.11.x and 2.x
Rock-paper-scissors game for beginners in Java
Java for beginners, expressions and operators 1
[For beginners] Run Selenium in Java
Java Unit Test Library-Artery-Current Date Judgment
Hello World for ImageJ Java Plugin
[OpenCV3.2.0] Eclipse (Java) settings (for Mac)
Java for beginners, expressions and operators 2
Enable OpenCV with java8. (For myself)
Spring Framework tools for Java developer
java (use class type for field)
Build Java development environment (for Mac)
Java SE Bronze exam test content
Use DBUnit for Spring Boot test
[Java] Test private methods with JUnit
Java Unit Test Library-Artery / JUnit4-Array Equivalence
[Java & SpringBoot] Environment Construction for Mac
Settings for SSL debugging in Java
Generics of Kotlin for Java developers
Diary for Java SE 8 Silver qualification
[For Java beginners] About exception handling
Classes and instances Java for beginners
Modern best practices for Java testing