Skip to main content
Chapter 17 of 29
Flashcards

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.

102 questions24 flashcards8 formulas & key relations5 concepts

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.

24 Flashcards·
StructureStructure assignmentNested structure
Card 1Structure

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.

Card 2Structure

What are the members of a structure?

Answer

The data items in a structure are called the members of the structure.

Card 3Structure

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.

Card 4Structure

What is the structure declaration shown for student?

Answer

struct student { char name [20]; int marks; };…

Card 5Structure

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.

Card 6Structure assignment

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.

Card 7Structure assignment

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.

Card 8Nested structure

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 All

Frequently Asked Questions

What are the important topics in STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE for NIOS Class 12 Computer Science?
Key topics in STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE include Structure, Nested Structure, Typedef, Enumerated Data Type. Study these first, then practise questions on each for the NIOS Class 12 board exam.
How many flashcards are available for STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE?
There are 24 flashcards for STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE covering key definitions, facts and ideas. A few sample cards are shown on this page.
How should I revise STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE for the NIOS Class 12 board exam?
Learn the core ideas first, then work through the 102 practice questions on STRUCTURE, TYPEDEF & ENUMERATED DATA TYPE. Revise definitions regularly and use flashcards for quick recall before the exam.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

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.