Skip to content

happi1masia-pixel/python-summative-exam-written-in-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


answers.txt

=== 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

About

This is a Java summative test I created for my peers to practice for an upcoming exam

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%