=== Question 1 ===
#Answer below
# 1. View current files and folders
# 2. Move into a folder called config
# 3. Read the contents of settings.conf
# 4. Create a folder called backup
# 5. Copy settings.conf into backup folder
# 6. Delete server.log
=== Question 2 ===
#Answer below
# Explain loops in Java:
# - for loop: iterates over arrays, lists, or ranges
# - while loop: repeats while a condition is true
# Include examples and when to use each.
=== Question 3 ===
#Answer below
# Explain immutable data types in Java:
# - Strings are immutable
# - Lists (ArrayList) and arrays are mutable
# - Why immutability matters in code
=== Question 4 ===
#Answer below
# Explain APIs and HTTP:
# - What an API is
# - How HTTP requests work (GET, POST, PUT, DELETE)
# - What an endpoint is
# - Analogy or real-life example
=== Question 5 ===
#Answer below
# Explain any Java-specific details for loops, strings, or lists
# needed to implement the coding functions above
happi1masia-pixel/python-summative-exam-written-in-java
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|