C_Programming_30(sat)

Quiz
•
Computers
•
University
•
Hard
Abi V
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which memory segment stores local variables of a function?
Code Segment
Stack
Global Segment
Static Segment
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Global variables are initialized to what value by default?
Undefined
0
Random Value
1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which segment contains the compiled machine instructions?
Stack
Code Segment
Global Segment
Static Segment
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens to the stack frame of a function after it returns?
It remains in memory
It is cleared automatically
It is copied to the heap
It is moved to the static segment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Static variables are stored in which memory segment?
Stack
Code segment
Global/Static segment
Heap
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function's local variables are stored in which segment?
Code segment
Static segment
Stack
Global Segment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the scope of a global variable?
Limited to the function it is declared in
Accessible by all functions in the program
Limited to the file it is declared in
Limited to the code segment
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Y13 Graph Traversal

Quiz
•
9th Grade - University
20 questions
Assembly, Hardware Understanding, and Power Precautions

Quiz
•
10th Grade - University
20 questions
C++ Chapter 6 Review - Functions

Quiz
•
10th Grade - University
20 questions
JAVA Basics Quiz

Quiz
•
University
20 questions
TALENT-NEXT-JAVA-QUIZ1

Quiz
•
University
15 questions
c# mid test

Quiz
•
University
15 questions
Test de Programación en JAVA EPLP123-1

Quiz
•
University
15 questions
Introduction to Django Framework Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University