Oddbean new post about | logout

Notes by damselindistress | export

 I just completed question 23 with a grade of 75% on https://program-ai.app 

Describe a scenario in software development where loops are essential. #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 22 with a grade of 100% on https://program-ai.app 

Write a `for` loop that prints numbers from 1 to 5. #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 21 with a grade of 100% on https://program-ai.app 

Arrange the steps of a `for` loop execution with drag-and-drop. #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 20 with a grade of 100% on https://program-ai.app 

Which loop will continue executing as long as its condition remains true? #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 19 with a grade of 100% on https://program-ai.app 

In a Bash terminal environment, enter the help command to discover basic commands. #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 18 with a grade of 75% on https://program-ai.app 

Provide an example of how conditional statements are used in real-world applications. #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 17 with a grade of 100% on https://program-ai.app 

Which logical operator is used to check if both conditions in a conditional statement are true? #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 16 with a grade of 100% on https://program-ai.app 

Write an `if-else` statement that checks if a number `num` is positive, negative, or zero, and logs an appropriate message. #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 15 with a grade of 100% on https://program-ai.app 

Complete the following code to correctly implement an `if-else` statement that checks if a variable `x` is greater than 10, equal to 10, or less than 10. #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 14 with a grade of 100% on https://program-ai.app 

What is the primary purpose of an `if` statement? #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 13 with a grade of 70% on https://program-ai.app 

What is a function, and why is it useful in programming? #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 12 with a grade of 100% on https://program-ai.app 

Write a function named `greet` that takes a name as a parameter and logs a greeting with the name. #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 11 with a grade of 100% on https://program-ai.app 

Arrange the steps with drag-and-drop to create and use a function. #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 10 with a grade of 100% on https://program-ai.app 

Which of the following are primitive data types in JavaScript? #LearnWithNostr https://m.primal.net/KBLq.png 
 I just completed question 9 with a grade of 100% on https://program-ai.app 

Arrange the steps with drag-and-drop to create and use a function. https://m.primal.net/KBLq.png  
 I just completed question 8 with a grade of 100% on https://program-ai.app 

Which of the following is NOT a primitive data type in JavaScript? https://m.primal.net/KBLq.png  
 I just completed question 7 with a grade of 75% on https://program-ai.app 

Let's chat about the questions we've worked on so far. https://m.primal.net/KBLq.png  
 I just completed question 6 with a grade of 100% on https://program-ai.app 

Enter the command to change to the new_folder directory using a bash terminal https://m.primal.net/KBLq.png  
 I just completed question 5 with a grade of 75% on https://program-ai.app 

In your own words, explain the purpose of variables in programming. https://m.primal.net/KBLq.png  
 I just completed question 4 with a grade of 100% on https://program-ai.app 

Declare a variable named `age` and assign it the value `25`. https://m.primal.net/KBLq.png  
 I just completed question 3 with a grade of 100% on https://program-ai.app 

Arrange the following steps to correctly declare a variable in JavaScript: https://m.primal.net/KBLq.png  
 I just completed question 2 with a grade of 100% on https://program-ai.app 

Arrange the steps with drag-and-drop and order how programs execute. https://m.primal.net/KBLq.png  
 I just completed question 1 with a grade of 100% on https://program-ai.app 

Which of the following best describes coding? https://m.primal.net/KBLq.png