
Structures in C
Authored by Karen Tan
Computers
10th Grade
Used 16+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What is a struct in the C programming language?
A type of loop
A composite data type declaration
A function in C
A type of variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Create a structure called "Student" with members name, age, and total marks.
What is the purpose of the 'Student' structure in the given C program?
To store student ages and total marks
To store student names and ages
To store student names, ages, and total marks
To store student names only
3.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Create structure named Time with members hours, minutes, and seconds. What does the 'Time' structure in the given C program store?
Hours, minutes, and seconds
Minutes and seconds
Seconds only
Hours and minutes
4.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Create a structure named Book to store book details like title, author, and price. What does the 'Book' structure in the given C program store?
Book authors and prices
Book titles, authors, and prices
Book titles and authors
Book titles only
5.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Create a structure named Circle to represent a circle with a radius. What does the 'Circle' structure in the given C program represent?
A rectangle
A circle with a radius
A triangle
A square
6.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Create a structure named "Employee" to store employee details such as employee ID, name, and salary. What does the 'Employee' structure in the given C program store?
Employee names only
Employee names and IDs
Employee salaries only
Employee IDs, names, and salaries
7.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Define a structure named "Date" with members day, month, and year. What does the 'Date' structure in the given C program store?
Years only
Days, months, and years
Months and years
Days and months
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
21 questions
Data protection
Quiz
•
9th - 11th Grade
27 questions
Adobe Illustrator Quiz Review
Quiz
•
9th - 12th Grade
21 questions
CITY & GUILDS PROOF CORRECTION SIGNS
Quiz
•
10th - 12th Grade
21 questions
P5.js Exam 1
Quiz
•
9th - 12th Grade
23 questions
DDD2 Y10 19th July Networks
Quiz
•
10th Grade
25 questions
Komputer dan Jaringan Dasar - Perakitan Komputer
Quiz
•
10th Grade
24 questions
WORD Module 2 Review
Quiz
•
9th - 12th Grade
21 questions
CodeHS 3.1 Boolean Expressions-4.2 For Loops Review
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade