STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE — Flashcards
NIOS · Class 12 · Computer Science
24 flashcards for STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE (NIOS Class 12 Computer Science) to test yourself on key terms and facts.
Interactive on Super Tutor
Studying STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE? Get the full interactive chapter.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for flashcards and more.
Free trial, no card needed.
What is a structure?
Answer
A structure is a collection of simple variables which can be of same or different types. It is a user defined datatype used to combine different data types to store a particular type of record.
What are the members of a structure?
Answer
The data items in a structure are called the members of the structure.
How do you access a structure member?
Answer
Use the dot operator in this form: structure variable. member name. Example: S1.name or S1.marks.
What is the structure declaration shown for student?
Answer
struct student { char name [20]; int marks; };…
How much memory is given to each student structure variable S1 and S2?
Answer
Each structure variable gets 22 bytes in memory: 20 bytes for char name [20] and 2 bytes for int marks.
What happens in structure assignment S3 = S2?
Answer
Each member of S2 is copied to the corresponding member of S3. Structure assignment is valid only when both variables are of the same structure type.
Why does structure assignment work only for the same structure type?
Answer
One structure variable can be assigned to another only when they are of the same structure type, otherwise compiler will give an error message.
What is nested structure?
Answer
This is called nesting of structure. A structure can be placed inside another structure, such as today inside biodata.
+16 more flashcards
Practise AllFrequently Asked Questions
What are the important topics in STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE for NIOS Class 12 Computer Science?
How many flashcards are available for STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE?
How should I revise STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE for the NIOS Class 12 board exam?
Sources & Official References
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE
Practice Quiz
Test yourself with a quick quiz
Important Questions
Exam-style questions with answers
Revision Notes
Key points for last-minute revision
Formula Sheet
The chapter's formulas in one place
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect
Study Plan
Step-by-step plan for this chapter
Syllabus
What topics to cover
For serious students
Get the full STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE chapter — start free.
Quizzes, flashcards, an AI doubt solver and a study plan for NIOS Class 12 Computer Science. Free to start, no card needed.