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
15 questions
Stack??

Quiz
•
University
20 questions
Data Structure

Quiz
•
University
15 questions
004_Java Instance Variables

Quiz
•
12th Grade - University
20 questions
Compiler Review

Quiz
•
University
22 questions
c++

Quiz
•
University
15 questions
Trắc nghiệm kiến thức Java Core - Phần I

Quiz
•
University
16 questions
A "C" Event-the backbone of modern coding.

Quiz
•
University
20 questions
C Programming

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade