stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Introduction to Programming Flashcards | StudBud
Explore
/
Introduction to Programming
Introduction to Programming
20 terms
·
StudBud Administration
·
29 plays
Imported from external platform
Flashcards
20 cards
F
Practice quiz
P
Host live
L
Questions
20
Answers
1
Which of the following logic gates is the opposite of the AND gate?
NOR Gate
XOR Gate
NAND Gate
OR Gate
2
What is a text-based programming language?
None of the above
A language that is written and executed using text commands.
A language that uses graphical user interfaces (GUIs) to write code.
A language designed specifically for visual-based coding.
3
GUI-based programming languages are easier for beginners because they use visual elements rather than text-based
False
True
4
Which of the following is an example of a text-based programming language?
Tynker
Scratch
Python
Visual Basic
5
What is the output of an OR gate when both inputs are 0?
2
0
1
Endefined
6
If the input to a NOT gate is 0, what is the output?
1
Undefined
2
0
7
Which programming paradigm is most commonly associated with text-based programming languages?
Visual programming
Object-oriented programming
Drag-and-drop programming
All of the above
8
In which of the following logic gates will the output be '1' only when all inputs are '1'?
AND Gate
OR Gate
XOR Gate
NOR Gate
9
Which of these languages requires the programmer to manually code instructions using text?
JavaScript
Scratch
Blockly
Tynker
10
What is the output of a NAND gate when both inputs are 1?
Undefined
0
2
1
11
Which gate inverts the input signal?
NOT Gate
OR Gate
NAND Gate
AND Gate
12
What is the primary characteristic of a GUI-based programming language?
It is only used for web development.
It allows users to create programs by interacting with graphical elements
It relies on writing code in text form.
All of the above
13
Which of the following tools is typically associated with GUI-based programming languages?
Microsoft Visual Studio with drag-and-drop interface
Command Line Interface (CLI)
Eclipse IDE
All of the above
14
Which gate is represented by this truth table?
OR Gate
AND Gate
NOT Gate
NAND Gate
15
Which logic gate is represented by the following truth table?
NOT Gate
OR Gate
XOR Gate
AND Gate
16
Which is one of the main benefits of text-based programming languages over GUI-based ones?
They are limited to simple, educational projects.
They require no coding knowledge at all.
They are good for gaming only.
They are more suitable for creating complex applications and systems.
17
Which of the following is a popular GUI-based programming environment for creating simple games?
Java with NetBeans
Unity with C#
None in the list
Blockly
18
What is the output of an XOR gate when both inputs are the same?
1
Undefined
0
d2
19
What is the output of an AND gate when both inputs are 1?
1
o
undefined
0.5
20
Which of the following is a disadvantage of using GUI-based programming languages?
They lack the flexibility and control provided by text-based languages.
None of the above
They are only useful for mobile app development.
They often require more lines of code.