Language : Java book: Starting out with Java From control structors through obje
ID: 3744191 • Letter: L
Question
Language : Java
book: Starting out with Java From control structors through object edition 6
For your 3rd weeks Discussion, assume that you've passed the second round of job interviews at a sotware development company and the hiring manager asked you to explain the process of "how to be successful in your programming class". Because this class doesn't follow a sequence structure, you need to explain the process steps with a decision structure. Review Chapter 3 from your Textbook and syllabus' schedule and discuss the process steps) to be successful in this class, following these instructions 1. Write a short and simple "pseudocode" or "algorithm" 2. Use decision structures, including statements (if, if-else, nested if and/or if-else-if) and Logical Operators.Explanation / Answer
1. In order to determine if you are successful in your programming class, you would need to measure the following factors:
A student is successful only if he/she follows all the procedures described above.
2) Pseudocode
============================
// A util function to determine if a student is successful in a programming class or not
// Return true if yes, else false
Function isStudentSuccessful() {
if ("Have you grasped the fundamentals?" is true) {
fundamentalsGrasped = true
}
if ("Do you code by hand" is true && "Do you code by laptop" is true) {
codeByHandAndLaptop = true
}
if ("Do you ask for help in case you don't understand a topic?" is true) {
askForHelp = true
}
if ("do you search for more content online?" is true) {
searchOnline = true
}
if ("Do you tinker with the code taught in class?" is true) {
tinker = true
}
if ("Do you debug code?" is true) {
debugCode = true
}
if (fundamentalsGrasped == true && codeByHandAndLaptop == true && askForhelp = true && searchOnline == true && tinker == true && debugCode == "true") {
print ("You are a successful student in the class!!")
return true
}
else {
if(fundamentalsGrasped != true) {
print ("You would need to grasp the fundamentals")
}
if(codeByHandAndLaptop != true) {
print ("You would need to start coding by hand and laptop")
}
if(askForHelp != true) {
print ("Ask for help whenever stuck")
}
if(searchOnline != true) {
print ("Search for more online content")
}
if(tinker != true) {
print ("Start tinkering more with your code")
}
if(debugCode != true) {
print ("Debug your code more frequently")
}
return false
}
}
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.