stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Programming concepts - Shafeeq Flashcards | StudBud
Explore
/
Programming concepts - Shafeeq
Programming concepts - Shafeeq
15 terms
·
StudBud Administration
·
1 play
Imported from external platform
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
7.Which statement correctly assigns the string "Tanner" to the variable name?
name = print( "Tanner")
name = input("Tanner")
name = "Tanner"
input("Tanner")
2
2. What is a variable?
datatype
type of memory
memory location
type of graphics
3
1. Which command used to display text on the screen?
input
output
command
print
4
14. How do you comment a single line of code in Python?
/* Comment */
// Comment
' Comment
# Comment
5
4. What will be the output?
Dave
(name)
name
'Dave'
6
10. What data structure follows the First-In-First-Out (FIFO) principle?
Linked List
Queue
Stack
Trees
7
9. In a stack, elements are pushed and popped at ONLY one end.
False
True
8
3. Which symbol is used in python to assign values to a variable?
/
=
+
*
9
6. FOR...NEXT is called a count-controlled loop
False
True
10
8.Which of the following is
NOT
an ADT?
Trees
Queue
String
Linked List
11
11. Which of the following does NOT form part of SDLC?
Query
Design
Coding
Testing
12
5.Which process is used to find and fix error in a code?
Error Finder
Error Checking
Syntax Finder
Debugging
13
12. What is the result of 5 + 3 * 2 in Python?
10
13
16
11
14
13. REAL data type is used to store decimal numbers.
True
False
15
15. A double-linked list allows traversal in both forward and backward directions.
False
True