Experiment two Java Foundation (data / expression, judgment / loop)

The second experiment

(A) Content Experiments

  • Write a simple calculator, complete arithmetic modulo operation.
  • It requires two numbers input from the keyboard using a selection of operating a decision statement, the calculation result output, then it is determined to continue to select and calculate the loop or exit.
  • Write test code, test verification.

(Ii) experimental requirements

  • Master the basics of data definitions and expressions solving
  • Master cycle and determine the use of statements
  • Master the use of iterator class
  • Master unit testing and TDD (IDEA does not require a plug-in, with the test code write linux VIM)

(C) acceptance assistant

  • Simple computer's acceptance
  • Acceptance testing
  • Uploaded to the cloud code

(D) test report

Published blog, the title before the specified time "study second experiment" Object-oriented programming and data structures "lab report"

Test report templates as follows:
# Student ID 2019-2020-1 "data structures and object-oriented programming" x Experiment report

Course: "Programming and Data Structures"
Class: 1823
Name: XXX
Student ID: XXX
experiment Teacher: XXX
experiment Date: 2019 X month X
Compulsory / Elective: Compulsory

1. Experimental content

Here to fill out the specific content of the experiment;

2. Experimental procedure and results

Here to fill in the experimental process and results

3. Experimental problems encountered in the process and settlement process

  • Question 1: XXXXXX
  • Problem 1 Solution: XXXXXX
  • Question 2: XXXXXX
  • Problem 2 Solution: XXXXXX
  • ...

Other (perception, thinking, etc.)

xxx
xxx

Reference material

Guess you like

Origin www.cnblogs.com/blackwall/p/11518708.html