Questions LLC
Login
or
Sign Up
Ask a New Question
Programming Concepts
Page 4
Questions (199)
Which of the following statements is TRUE?
(1 point) A name error occurs if the variable is referenced before it is declared A
1 answer
asked anonymously
22 views
Say you want to write a program to have Karel put down 300 tennis balls. Which control structure would you use?
If statement
1 answer
asked by
e
32 views
if the number of times that a loop repeats will be determined by whether the user inputs the correct answer to a trivia
1 answer
asked anonymously
32 views
the line after an if statement should begin with what
A # B a print statement C a colon D a indentation
1 answer
asked anonymously
29 views
Suppose you are writing a program to convert numeric grades to letter grades: print("Enter numeric grade: ") avg = int(input())
1 answer
asked anonymously
31 views
Now, we’re ready to program! Leave the visualizer and go to OnlineGDB to write your program. Here is the pseudocode for your
1 answer
asked anonymously
109 views
Discuss the three types of control structures. Describe how any one of these control structures impacts your program flow. Do
1 answer
asked anonymously
74 views
Which of the following is the method of list traversal?(1 point)
Responses if condition if condition if-else condition if-else
1 answer
asked by
Hayden
57 views
What are basic building blocks used to control computer programs, which are a sequence of words or symbols in a valid language
1 answer
asked by
Hayden
45 views
What is the most appropriate structure for handling code that is repeated multiple times in a program?(1 point)
Responses
1 answer
asked by
Hayden
41 views
A group of students is writing a program that will convert their letter grades into a 4.0 scale. For their program, they want a
1 answer
asked by
Hayden
29 views
Iteration (or "looping") is the act of repeating something. In code, a program loop will execute the same block of statements
1 answer
asked anonymously
25 views
which of the following would you use to access an item in a specific location in a list?
A. String variable B. Enumerator C.
1 answer
asked by
Kee
36 views
You are to implement five classes. The behavior of each class is described below.
Class getChar getMove Bird B Randomly selects
1 answer
asked anonymously
15 views
Inheritance means:
(1 point) Responses an object gets attributes and methods from another object. an object gets attributes and
1 answer
asked anonymously
18 views
Objects have:
(1 point) Responses attributes and methods. attributes and methods. classes and blueprints. classes and blueprints.
1 answer
asked anonymously
16 views
A line of code such as __init__(self) is known as a(n):
(1 point) Responses object. object. class. class. constructor.
1 answer
asked anonymously
16 views
A Python dictionary is:
(1 point) Responses a collection of code imported into a program. a collection of code imported into a
1 answer
asked anonymously
22 views
What is the purpose of a trace table?
(1 point) Responses to write clearer pseudocode to write clearer pseudocode to design a
1 answer
asked anonymously
17 views
The program below leads the user through a classic "Knock Knock" joke. The user must enter the word "Banana" two times at the
1 answer
asked anonymously
24 views
Which of the following best describes the difference between a logical error and a runtime exception?
Select one: a. Logical
1 answer
asked anonymously
26 views
How many times will the body of the following loop be run?
secret = input("Guess my secret: ") while secret != "I am a
1 answer
asked anonymously
25 views
Question 1
Of the following, which best describes a variable? 1 point A name that refers to a value A name that refers to a
1 answer
asked by
asia
43 views
What is it called when you use a specific piece of data, rather than a variable, for a value that should be able to change? (1
1 answer
asked anonymously
21 views
Read the text and answer the questions.
The biggest advantage of using a Python list over a tuple is that lists can be changed
1 answer
asked anonymously
32 views
What kind of program construct has a looping branch of code?
(1 point) Responses sequence sequence selection selection iteration
1 answer
asked anonymously
61 views
Which term describes an if statement inside of another if statement?
(1 point) Responses contested contested contained contained
1 answer
asked anonymously
72 views
What kind of program construct has lines of code that are executed in order, one right after the other?
(1 point) Responses
1 answer
asked anonymously
61 views
Helena is creating a Python program to teach a younger sibling how to tell time. Helena begins by writing a very general
1 answer
asked anonymously
39 views
In the code below, which statement(s) are part of the "for" loop body?
sum = 0 #LINE 1 for index in range(0,10): # LINE 2 sum =
1 answer
asked anonymously
22 views
Which of the following best describes how many times the statements in the body of a "while" loop will run?
Responses A maximum
1 answer
asked anonymously
25 views
What kind of program construct has a looping branch of code? (1 point) Responses sequence sequence selection selection iteration
1 answer
asked anonymously
32 views
what kind of program construct has a looping branch of code?
A. Sequence B. Selection C. Iteration D. Pseudocode
1 answer
asked by
Kee
95 views
What kind of program construct has lines of code that are executed in order, one right after the other? (1 point) Responses
1 answer
asked anonymously
36 views
Which term describes an if statement inside of another if statement?
A. Contested B. Contained C. Nested D. Sequential
1 answer
asked by
Kee
62 views
What kind of program construct has choices, with certain branches of code executed under certain conditions?
A. Sequence B.
1 answer
asked by
Kee
49 views
what kind of program construct has choices with certain branches of code executed under certain conditions?
A. Sequence B.
1 answer
asked by
Kee
53 views
Which of the following best describes the looping structure of a sequential search?
a. Nested for loops b. A series of if
1 answer
asked anonymously
22 views
Which of the following main features of structured algorithms executes the steps of the process in order without any skipping?
(1
1 answer
asked anonymously
23 views
Dallas is writing a structured algorithm that uses a control structure that determines which path to take depending on a
1 answer
asked anonymously
52 views
Sylvain is writing an algorithm in which a sequence of steps is repeated until a certain condition is met. What type of control
1 answer
asked anonymously
20 views
Code.org U1L07 apps with storage answers
1 answer
asked anonymously
12 views
What kind of program construct has lines of code that are executed in order, one right after the other?
(1 point) Responses
1 answer
asked anonymously
27 views
What kind of program construct has choices, with certain branches of code executed under certain conditions?
(1 point) Responses
1 answer
asked by
100%
25 views
What is program counter
1 answer
asked by
IT
10 views
What is procedural abstraction p? How do you practice it when writing your own programs?
1 answer
asked anonymously
9 views
Dividing up a program into smaller pieces is called ___________.
a. opportunism b. procedurification c. modularity d. division
1 answer
asked anonymously
4 views
Which of the following best describes "procedural abstraction"?
a. Making the behavior of a procedure very hard to understand b.
1 answer
asked anonymously
10 views
What is an example of polymorphism
1 answer
asked anonymously
2 views
Pages
1
2
3
4
Parent Categories (16)
C++
Computer Programming
Computer Programming Education
Computer Programming/Software Development
Computer Science
Computer Science and Programming
Computer Science and Technology
Computer Science Education
Computer Science/Information Technology
Computer Science/Programming
Computing and Programming
Java programming
Programming
Software
Software Development
Software Engineering