CLASS VII COMPUTER MODEL TEST PAPER
SECTION-A (MCQ'S) (12 Marks)
1. Which of the following is NOT a valid data type in Python?
a) int
b) float
c) string
d) character
2. What will be the output of the Python expression: 5 + 3 * 2 ** 2 - 1?
a) 26
b) 16
c) 17
d) 15
3. In Krita, which tool is primarily used for creating frame-by-frame animation?
a) Brush Tool
b Fill Tool
c) Pencil Tool
d) Timeline Docker
4. Which Krita feature allows you to see a faint representation of the previous and next
frames in your animation?
a) Onion Skins
b) Animation Playback
c) Frame Caching
d) Keyframes
5. Which HTML5 tag is used to embed audio files into a webpage?
a) <video>
b) <audio>
c) <source>
d) <embed>
6. Which of the following is a semantic tag in HTML5?
a) <div>
b) <span>
c) <header>
d) <b>
7. What does AI primarily enable computers to do?
a) Execute pre-programmed tasks faster.
b) Think and learn like humans.
c) Replace human workers in all industries.
d) Access the internet.
8. Which of the following is an example of Narrow or Weak AI?
a) Self-driving cars
b) A robot that can understand and respond to any question.
c) Spam filters in email
d) A computer that has consciousness.
9. What is the purpose of the if statement in Python?
a) To define a function.
b) To create a loop.
c) To make decisions based on conditions.
d) To print output to the console.
10. Which of the following file formats is best suited for exporting animation frames from
Krita for web use, while maintaining transparency?
a) JPEG
b) GIF
c) PNG
d) MP4
11. Which HTML5 attribute is used to provide alternative text for an image, important for
accessibility and SEO?
a) src
b) alt
c) title
d) href
12. Which of these is NOT a subfield of Artificial Intelligence?
a) Machine Learning
b) Deep Learning
c) Cloud Computing
d) Natural Language Processing**
SECTION-B
13. Explain the difference between integer and float data types in Python with examples.
(More on Python)
14. What are keyframes in Krita animation? How are they useful? (Animation in Krita)
15. Describe two advantages of using semantic HTML5 tags over <div> tags. (More on
HTML5)
16. What is the Turing Test? Why is it significant in the field of AI? (Introduction to AI)
17. Write a short Python code snippet to take user input for their name and print "Hello,
[Name]!" as output. (More on Python)
18. List any two features in Krita that help in creating smooth animations. (Animation in
Krita)
19. What is the purpose of the <canvas> element in HTML5? Give one example of its use.
(More on HTML5)
SECTION-C
20. Explain the concept of loops in Python. Describe the difference between for and while
loops with a simple example for each. (More on Python)
21. Describe the steps involved in creating a simple walk cycle animation in Krita.
(Animation in Krita)
22. How can you embed a YouTube video into an HTML5 webpage? Explain the tags and
attributes involved. (More on HTML5)
23. Discuss the potential benefits and ethical concerns associated with the increasing use
of Artificial Intelligence in everyday life. (Introduction to AI)
SECTION-D
24. Imagine you are creating a short, animated story using Krita. Describe the entire
process from planning to exporting the final animation. Include details about
storyboarding, creating layers, animation techniques you might use, and exporting for
web viewing. (Animation in Krita)
SECTION-E
25. Case Study: Python Program Debugging (More on Python)
number = input ("Enter a number:")
if number > 10:
print ("The number is greater than 10")
else:
print ("The number is not greater than 10")
(a) Identify the error in the given Python code. (1 Mark)
(b) Explain why this error occurs. (1.5 Marks)
(c) Rewrite the corrected code to achieve the intended functionality of comparing
the input number with 10 and printing the appropriate message. (1.5 Marks)
26. Case Study: Building a Simple HTML5 Page (More on HTML5)
You are asked to create a basic webpage to display information about your favorite hobby.
The webpage should have a title, a heading, a paragraph describing your hobby, and an
image related to it.
(a) Write the basic HTML5 code structure (including <html>, <head>, and <body>
tags) to start building this webpage. (1 Mark)
(b) Write the HTML code to add a title "My Hobby" to the webpage, a main heading
"Photography" within the body, and a paragraph "I enjoy taking photos of nature
and landscapes." below the heading. (1.5 Marks)
(c) Explain which HTML tag you would use to insert an image related to
photography into this webpage and what attributes are essential for this tag. (1.5
Marks)