0% found this document useful (0 votes)
2 views6 pages

Digital Concepts and Business Strategies

The document contains a series of objective questions and answers related to computer science concepts for Class 8th, covering topics such as patents, cyberbullying, business planning, digital media, algorithms, and programming. It includes algorithms for making tea, baking a cake, and printing even numbers, as well as definitions and distinctions between programming concepts like variables, functions, and conditional statements. Additionally, it discusses computational problems like the Halting Problem and the Factoring Problem.

Uploaded by

ExoSips
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views6 pages

Digital Concepts and Business Strategies

The document contains a series of objective questions and answers related to computer science concepts for Class 8th, covering topics such as patents, cyberbullying, business planning, digital media, algorithms, and programming. It includes algorithms for making tea, baking a cake, and printing even numbers, as well as definitions and distinctions between programming concepts like variables, functions, and conditional statements. Additionally, it discusses computational problems like the Halting Problem and the Factoring Problem.

Uploaded by

ExoSips
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Computer (2nd Term) (Objective) Class 8th 2024

1. 1 : The validity period of patent is: (a) Ten Years (b) Twenty Years (c) Thirty Years
(d) Forty Years
2. 1: The common type of harassment in cyber bullying is: (a) Verbal (b) Physical
(c) Social (d) Informational
3. 10 : A component of the business plan in which strengths and weaknesses of competitors are
discussed is: (a) Executive Summary (b) Market Needs (c) Operations
(d) Marketing
4. 10 : Identify the tool used to make informational videos for new business. (a) Tumbler
(b) YouTube (c) Quora ` (d) Blog
5. 2 : Lack of privacy is the main challenge of: (a) Social media (b) Print media
(c) Digital environment (d) Social engineering
6. 3 : Choose the web application used for message purposes. (a) YouTube (b) Google Maps
(c) Twitter (d) PlayStore
7. 3 : Watching violent videos and images results in: (a) Mental Health Disturbance
(b) Loss of eye side (c) Physical Weakness (d) Loss of memory
8. 4: Identify the crime represented in the given picture. (a) Cybercrime
(b) Cyber Troll (c) Cyber Bullying (d) Cyber Security
9. 5 : A program that can affect the computer system is called: (a) Malware (b) Spyware
(c) Shareware (d) Freeware
10. 5 : Sending the E-mails through known or unknown sources is called: (a) Spoofing
(b) Spamming (c) Phishing (d) Spanning
11. 6 : The most common problem of the digital environment is: (a) Confidentiality
(b) Accountability (c) Software Piracy (d) Copyright
12. 6: Identify the digital media platform. (a) Telephone (b) Facebook (c) Newspaper
(d) Messaging
13. 7 : The tool used for successful implementation of a Business plan is: (a) Facebook (b) Project
Management (c) YouTube (d) Blogs
14. 8 : Primary recommendation for making safe online payments is: (a) Use public computers
for online transactions (b) Save card information for future use (c) Utilize trusted and
official websites or apps (d) Share passwords with others
15. 8 : Type of marketing in which customers are informed about new products by sending
promotional messages is: (a) Paid (b) Social Media (c) E-mail (d) Reputation
16. 9 : Choose the social media website that can be suitable for entrepreneurship in Pakistan.
(a) Facebook (b) Twitter (c) YouTube (d) Blog
17. 1: Identify the issue in a digital environment. (a) Reputation (b) Disclosing privacy
(c) Accountability (d) Honesty
18. 3 : The given image represents: (a) Social Media (b) Search Engine (c) Internet Banking
(d) E-Learning
19. 5 : A technique that is used by the cybercriminals to collect the data from individuals is known as:
(a) Phishing (b) Cyber Troll (c) Social Engineering (d) Cyber Bullying
20. 7: It helps marketers to create a different place in the customers' minds. (a) Value
Proposition (b) Promotion (c) Quality Assurance (d) Business Plan
21. 9 : Choose the digital platform that is used to view informatory videos for customer awareness:(a)
Linkedln (b) Twitter (c) Instagram (d) Youtube
22. 6 : When digital media favour one point of view over another while covering news is called: (a)
Distortion Bias (b) Digital Media Bias (c) Conservative Bias (d) Liberal Bias
23. 8 : Identify the essential component of a business plan. (a) Profit margins of the product (b)
Product's features (c) Business overview (d) Cost of production
24. 1 : A complex problem can be solved: (a) by one way only (b) with more than one
steps (c) by following same steps (d) by never following same steps
25. 2 : Select the structure that will be used in the given statement, "An algorithm to find if a number is
odd or even". (a) Sequence (b) Iteration (c) Selection (d) Loops
26. 3 : Flow of execution in a complex program is: (a) Loop based (b) Sequence based (c)
Selection based (d) Condition based
27. 4 : Ali wrote three algorithms as solution for a problem, the best algorithm is that requires: (a)
More steps (b) More time (c) More cost (d) Less time
28. 5 : The number of basic rules for writing a good algorithms is: (a) 1 (b) 2 (c) 3 (d) 4
29. 6 : Scratch language has been translated more than languages: (a) 30 (b) 50 (c) 70 (d) 90
30. 7 : The number of possible answers of a Boolean expression could be: (a) 1 (b) 2 (c) 3 (d) 4
31. 8 : In Scratch, the following picture is an example of: (a) Function (b) Loop (c)
Clone (d) Variable
32. 9 : A structure that repeats a block of statements again and again is: (a) Sequential structure
(b) Function Call (c) Loop Structure (d) Conditional Structure
33. 10 : The correct example of Multiple Conditions in Scratch is: (a) If x > 5 then move 1 Step (b) If y
< 10 and x > 5 then move 1Step (c) If z = 0 then move 1 Step (d) If x
= 5 then move 1 Step
34. 4 : Select the number of steps in best algorithm: (a) 5 (b) 7 (c) 9 (d) 11
35. 5 : Number of best solutions of an Algorithm may be:(a) 1 (b) 2 (c) 3 (d) 4
36. 6 : The keyword that starts the Loop block is: (a) Object (b) Forever (c) If (d) Move
37. 10 : If y < 10 and x > 5 then moving 10 steps is a: (a) Boolean expression
(b) Conditional statement (c) Loop (d) Function
38. 1 : A complex problem may be:(a) Making the tea (b) Baking the cake (c) Bringing up the
child (d) Heating the food in oven
39. 2 : Select the symbol that is used to represent input/output in a flowchart: (a) Oval
(b)Parallelogram (c) Rectangle (d) Diamond
40. 4 : Select a best algorithm with respect to memory usage: (a) 2MB (b) 4MB (c)
6MB (d) 8MB
41. 9 : A block in loop that doesn't require a condition is: (a) if-then (b) if-then-else (c)
repeat until (d) forever

a) Write the terms that are used to measure the efficiency of an algorithm. (2 Marks)
1. Time Complexity
2. Space Complexity
Write an algorithm to make tea. (4 Marks)
Step 1: Start
Step 2: Boil water in a saucepan.
Step 3: Add tea to boiling water.
Step 4: Add sugar to boiling water.
Step 5: Add milk to boiling water.
Step 6: Boil this water with all the ingredients for 2 mins.
Step 7: Filter the tea into a cup.
Step 8: Stop
Describe Simple Problem with an example. (4 Marks)
A simple problem is one with a certain source and a certain outcome that is simple to locate and
resolve.
Example:
You placing food in an oven, but you don’t remember to set the timer. When left unattended for too
long, it burns. Burnt food is the result, and you may need to eat something else for supper.
a) Discuss the concept of Nesting with an example. (2 Marks)
Nesting: Nesting is the placement of one object within another object.
Example
Nested condition, nested iteration etc.
Distinguish between Nested condition and Nested loop. (4 Marks)
Nested Condition:
The condition may be placed within other conditions to solve a problem.
Nested Loop:
A loop within another loop is called nested loop.
Example 1:
if (condition)
{
if (condition)
{ statement(s) }
}
Example 2:
repeat (condition)
{
repeat (condition)
{ statement(s) }
}
Define variables and elaborate types of variables. (4 Marks)
Variable Used to change the values recorded in scratch.
Types of variable:
Local Variable:
The variable used by just one sprite.
Global Variable:
The variable used by all sprites.
a) Define Cloning and elaborate on how it is useful in a computer program. (5 Marks)
Cloning is a process of making a duplicate or copy of sprite or an object.
Usefulness of cloning:
Cloning is useful in program as it allow you to create multiple instances of sprite without recreating it
from scratch.
What is meant by stop cloning and how can you stop the cloning process in a program? (5 Marks)
Definition of stop cloning:
Stopping cloning means halting the process of making multiple copies of a sprite.
How to stop cloning:
You can stop the cloning process in a program by using “stop cloning” command.
Define function and write steps to create a function. (5 Marks)
Definition of Function:
A function is a block of code that performs a specific task. It can be called multiple times throughout
the program.
Steps to create a function:
1. To create a function in scratch you can use the “define” block.
2. You can then add blocks of code to the function that will be executed when it is called
a) Define Factoring Problem. Can we solve factoring problem computationally? (2 Marks)
Factoring Problem:
The factoring problem means identify the prime factor of an order integer. It is an example of
computational challenge.
Computational Problem:
We cannot solve factoring problem computationally. Because the factoring effort increases
exponentially as the size of input integer increases.
Write a note on the Halting Problem. (4 Marks)
Halting Problem:
The halting problem is a decision problem. Halting means terminating or stopping program after
certain execution. There is no generic algorithm that can accurately predict whether a certain
program will ever stop or not. Additionally, there is no generic algorithm that can tell us whether a
certain program will complete its execution and stop. The best approach is to run the application and
check to see if it stops or halts.
Write down any four rules of writing a pseudocode. (4 Marks)
Pseudocode Rules:
1. Put the task in the proper order and then start writing.
2. Start with a statement that states the primary objective.
3. Use the proper sentence case for each type of word.
4. Apply the proper naming conventions. The name must be clear and concise.
5. It should be easy enough for layman to understand.
6. Write everything that will occur in the real code without abstraction.
a ) Define nested condition. (2 Marks)
Nested Condition:
Conditions may be placed within the conditions to solve problem. These conditions will have many if
conditions block that are check line by line until condition is true. If it is not, then it executes the 'else'
block at the end.
Write an algorithm to print even numbers from 2 to 50. (4 Marks)
Algorithm to print even numbers from 2 to 50:
Step1: Start
Step2: Declare the value 2 to Num
Step3: Print the value Num
Step4: Add 2 to Num
Step5: if the value of Num <= 50, repeat steps 2 and 3.
Step6 Stop
Write a pseudocode to print the sum of two integers. (4 Marks)
Sum of Two Numbers ()
Begin
Set sum = 0;
Read: num1, num2;
Set sum = num1 + num2
Print sum;
End
a ) Define conditional statements with one example. (5 Marks)
Definition of conditional statements:
Statements with a condition and a result are said to be conditional. Depending on whether a
condition is true or false, a conditional statement instructs a program to act.
Example:
You want to cross the street. If there are no incoming cars, you cross the street. If there are incoming
cars, you wait and check again.
What is the relation between Programming and Scratch? (5 Marks)
Programming:
Computer always understand commands written in machine language i.e. 0 and 1. But machine
language is very difficult to understand and works with high level languages were introduced to
overcome the difficulties in machine language. Most high level languages use text commands. We
must memories these commands to write programs in high level languages.
Scratch:
Scratch will generate text code automatically. This text code will be converted into machine language
by the compiler; a software that is used to convert high level language to low level language.
Briefly explain the difference between Variables and Statements. (5 Marks)
Variables:
A variable is a place for some values in memory, much like x and y are popular variables in algebra.
In scratch, variables are represented with blocks shaped like elongated circles, uniquely labeled by
you.
Variables can be local or global.
A variable that takes only the value of true or false
Statements:
In programming, a statement is simply a directive that allows the
a) Write an algorithm to find either a number is even or not: (2 Marks)
Algorithm to find either a number is even or not:
1. Start
2. Take a number to N.
3. Divide the number by 2 and store the remainder in R.
4. If R = 0 then go to step 6.
5. Print "N is not Even" go to step 7.
6. Print "N is Even".
7. Stop
Write an algorithm of baking cake. (4 Marks)
Algorithm of baking cake:
Step 1: Preheat the oven.
Step 2: Gather all the ingredients.
Step 3: Measure the ingredients.
Step 4: Mix them.
Step 5: Grease the pan.
Step 6: Pour the mixed ingredients into the pan.
Step 7: Put the pan in the oven.
Step 8: Set a timer.
a) How many values a variable can hold at a time? Write two examples. (2 Marks)
A variable can hold only one value at a time.
Examples
Name, Roll_No, Class and Gender etc.
Differentiate between if and if-then-else conditions with an examples. (3 Marks)

If Condition:
A statement or block of statements that are only executed if a specific condition is true.
If-then-else Condition:
A statement or block of statements that are only executed if a specific condition is true otherwise it
goes to the else statement or block of statements to execute.
Examples:
1. If it is cold outside; we would take tea, or any other related example.
2. If it is cold outside; we would take tea, otherwise we enjoy ice cream.
Or any other related example.
Write an algorithm that prints even numbers from 2 to 100. (5 Marks)
Step 1: Start
Step 2: Declare the value 2 to Num
Step 3: Print the value Num
Step 4: Add 2 to num
Step 5: if the Value of Num < 100, repeat steps 3 and 4
Step 6: Stop
a) Define the term Cloning and write the only command to create clone in Scratch. (5 Marks)
Cloning:
Cloning A sprite can duplicate itself while the project is active.
Command:
Create clone of Myself
How many sprites used to make pong game in Scratch, write their names? (5 Marks)
There are five sprites used to make pong game.
Name of Sprites:
1. Ball
2. Goal 1
3. Goal 2
4. Player 1
5. Player 2
Define the step by step procedure to make a ball in Scratch. (5 Marks)
Step to make ball in Scratch:
1. Click on paint icon to draw new sprite.
2. Select a circle and draw it.
3. Click on fill and outline option to change the color of ball.
4. Change the size using size option.
5. Rename the sprite using text box.

You might also like