Code Innovators
Code Innovators
Level 4: Code Innovator, Topics are briefly described in the document. Learners can prepare themselves from
other out sources.
The exam consists of multiple-choice questions (MCQs) and a practical coding challenge.
The total marks for the exam are 50.
The exam duration is 1 hours.
MCQs: 25 questions (1 mark each) covering theoretical concepts and computational thinking.
Coding Challenge: 25 marks for a programming task where logic and implementation will be assessed via provided link.
Link will be sent to the esteemed institutes 1 day before the test.
MCQs: Correct answers carry full marks; no negative marking.
Coding Challenge: Evaluation is based on accuracy, efficiency, and code readability.
You will be provided with a coding problem that will require you to write and execute a program.
Example problem: Write a program to find the sum of all even numbers in a given list.
Common Types:
Arrays:
Fixed-size structures that store elements in contiguous memory
locations.
Linked Lists:
Collection of nodes where each node contains data and a
pointer to the next node.
Stacks and Queues: Linear data structures, where stacks use
LIFO (Last In, First Out) and queues use FIFO (First In, First Out).
Trees and Graphs: Hierarchical data structures; trees are used
for hierarchical data representation, while graphs are used to
represent networks.
Real-World Example: Stacks are used in browser history and
undo functions in text editors; queues are used in printer task
management and customer service systems.
Algorithms:
Sorting Algorithms:
Bubble Sort: Repeatedly steps through the list, compares
adjacent elements, and swaps them if needed.
Merge Sort: Uses the divide and conquer approach to divide
the list into halves, sort each half, and merge them.
Searching Algorithms:
Binary Search: Efficiently searches a sorted list by repeatedly
dividing the search interval in half.
Practical Applications: Data structures and algorithms are
widely used in databases, file systems, operating systems, and
more.
Preparatory Links:
Videos:
Classes and Objects: A class is a blueprint for objects; an object is an instance of a class.
Encapsulation: Hides the internal state of an object and only allows access through public methods, enhancing
security.
Inheritance: Allows one class to inherit properties and methods from another, facilitating code reuse.
Polymorphism: Lets you use a single interface to represent different underlying data types. It allows functions or
methods to process objects differently based on their class type.
Preparatory Links:
Videos:
Functions are reusable blocks of code that perform specific tasks, making programs more modular. Loops
(like for, while, and do-while loops) allow you to execute code multiple times, reducing redundancy.
Mastering functions and loops is essential for efficient and readable code.
Preparatory Links:
Videos:
Database Basics:
SQL (Structured Query Language): SQL is used to manage and manipulate databases. Key SQL commands include:
SELECT: Retrieves data from a database.
INSERT: Adds new data.
UPDATE: Modifies existing data.
DELETE: Removes data.
CRUD Operations: Represent basic database operations—Create, Read, Update, Delete.
Practical Applications: Database integration is crucial in web development, mobile applications, and data-driven
applications to store and retrieve user data, preferences, and transaction details.
Preparatory Links:
Videos:
{
"name": "Alice",
"age": 25,
"skills": ["Python", "JavaScript", "API Development"]}
Real-World Examples:
Social Media: Platforms use APIs to allow users to post content from one app to another.
Financial Services: Banking apps may use APIs to connect to other financial institutions for real-time
transaction data.
Weather Applications: APIs provide current weather data and forecasts, used in various applications from
smartphone weather widgets to news sites.
6. Web Development
What is HTML?
HTML is the standard language used to create and structure web pages. It defines the content and layout of
a webpage using a series of elements and tags.
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Web Page</title></head><body>
<h1>Welcome to My Website</h1>
<p>This is a paragraph of text.</p>
<a href="https://www.example.com">Click here to visit Example</a></body></html>
<h1> to <h6>: Header tags, where <h1> is the most important heading and <h6> is the least.
<p>: Paragraph tag for text.
<a href="url">: Link tag that links to another webpage or resource.
<img src="image.jpg" alt="description">: Image tag to embed images.
<ul>, <ol>, <li>: Lists (unordered and ordered).
What is CSS?
CSS is used to style and layout web pages, including design, colors, fonts, spacing, and positioning of HTML
elements. CSS separates the content (HTML) from the design (CSS), allowing for cleaner code and easier
maintenance.
selector {
property: value;
}
h1 {
color: blue;
font-size: 30px;
}
p{
font-family: Arial, sans-serif;
line-height: 1.5;
}
What is JavaScript?
JavaScript is a programming language that enables dynamic interactions on websites. It allows for tasks
such as user input validation, animations, form submissions, and dynamically updating content without
reloading the page.
These three technologies—HTML, CSS, and JavaScript—work together to create modern, interactive websites. As a
web developer, you need to understand how to use them to build responsive, functional, and visually appealing
web pages.
Preparatory Links:
Total Marks: 25
Choose the correct answer for each question.
7. Which of the following is the correct way to declare let a = 5;let b = 10;console.log(a + b);
a function in C++? a) 10
a) function myFunction() b) 15
b) def myFunction() c) 50
c) void myFunction() d) undefined
d) func myFunction()
1. You are developing a small library system where books are arranged based on their
titles. A list of book titles is provided, but they are in random order. Write a Python
function that sorts this list alphabetically and returns the sorted list to be displayed on
the system.
2. Imagine you are working on a digital catalog for a bookstore. You need to create a
class in C++ named "Book" that stores information such as the title and author of each
book. Additionally, the class should provide methods for setting these details and
displaying them to the user when they browse the catalog.
3. You are developing a math tutorial application that helps students understand basic
mathematical concepts. One of the lessons includes calculating the factorial of a
number, which is crucial for combinatorics and probability topics. Write a Python or C++
function that takes a user-inputted number and returns its factorial to be displayed as
part of the lesson.
4. You are designing an educational app for children to teach them basic math. One
feature involves demonstrating even numbers within a certain range. Write a Python or
C++ loop that prints all even numbers from 1 to 20 so the app can display them as part
of a lesson on number patterns.
5. Youare creating a simple personal webpage to showcase your profile. The page needs
to have a heading with your name and a short paragraph describing your skills or
interests. Create the HTML structure to represent this webpage.