Practice Declaration and Initialization - 1.3 | Chapter 10: Arrays and Strings | ICSE Class 12 Computer Science
K12 Students

Academics

AI-Powered learning for Grades 8–12, aligned with major Indian and international curricula.

Professionals

Professional Courses

Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.

Games

Interactive Games

Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.

Practice Questions

Test your understanding with targeted questions related to the topic.

Question 1

Easy

What is an array?

💡 Hint: Think about storing multiple values of the same type.

Question 2

Easy

What does the declaration 'int marks[5];' do?

💡 Hint: What type of data is being stored and how many?

Practice 4 more questions and get performance evaluation

Interactive Quizzes

Engage in quick quizzes to reinforce what you've learned and check your comprehension.

Question 1

What is an array?

  • A single value
  • A collection of similar data types
  • A non-primitive type

💡 Hint: Think about how data is organized in programming.

Question 2

A partially initialized array sets unassigned elements to what value?

  • True
  • False

💡 Hint: What happens if you don't specify a value?

Solve 1 more question and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

Design an array that can store five temperatures recorded over a week. Initialize only the first three values.

💡 Hint: What happens to uninitialized elements in arrays?

Question 2

How would you write code to print each value of 'marks' that has been declared but not initialized?

💡 Hint: What do you recall about uninitialized arrays?

Challenge and get performance evaluation