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
Full Stack & JavaScript Essentials

Quiz
•
University
20 questions
Data Structure

Quiz
•
University
25 questions
Kuis PD M11

Quiz
•
University
20 questions
C Programming

Quiz
•
University
20 questions
New DSC Quiz

Quiz
•
University
15 questions
OOP in Python

Quiz
•
University
18 questions
C Language 101

Quiz
•
University
20 questions
COA_QUIZ_UNIT I

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University