Programming Concepts Quiz
7 Questions
2 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the command used to display numbers and text on the screen or terminal?

  • show()
  • print() (correct)
  • display()
  • present()

What can be used to store information and values so that it can be used later? in other words, a Box that can be used to store information in our computer's memory.

  • container
  • holder
  • reservoir
  • variable (correct)

What kind of loop is used when the number of repetitions is known?

  • while loop(conditional loop)
  • for loop(counting loop) (correct)
  • infinite loop
  • do-while loop

Which loop runs as long as a condition is still true?

<p>while loop (D)</p> Signup and view all the answers

Which of the following would be an example of a Boolean variable?

<p>isFinished (B)</p> Signup and view all the answers

What is the value printed when executing the given code?

<p>Dave (A)</p> Signup and view all the answers

What is a input()?

<p>A function or command that allows us to ask the user to enter some data. (A)</p> Signup and view all the answers
Use Quizgecko on...
Browser
Browser