Thursday, 4 January 2024

L-10 AR & VR Class 8th Computer

 

Class – VIII

Subject: Computer

L-10 Big Data, AR and VR

 

 

A.) Tick (ΓΌ) the correct option:

1)    What does VR stand for?

a)    Very Right

b)    Vertal Reality

c)    Virtual Reference

d)    Virtual Reality

Ans:  d) Virtual Reality

 

2)    Technology that allow the user to see the real world, with virtual objects composited in the real world.

a)    AR

b)    VR

c)    AI

d)    SR

Ans:  a) AR

 

3)    Wearable computing device in the form of computerized eyeglasses.

a)    HMD

b)    Helmets

c)    VR Glasses

d)    Smart Glasses

Ans:  d) Smart Glasses

 

4)    How is augmented reality used in watching a football game?

a)    The scoreboard

b)    For the coach to communicate

c)    Yellow 1st down marker

d)    Replays

Ans:  c) Yellow 1st down maker

 

5)    How do most people use AR currently?

a)    Computer

b)    Phones

c)    TV’s

d)    AR Goggle’s

Ans:  b) Phones

 

B.) Fill in the blanks using the words from the help box:

[  modern,             smartphones,             reflectors, 

              vision,         Maya,             Blender,              

mapping,               HDMI     ]

 

1)    AR uses computer  vision  as well as depth tracking in order to show appropriate content to the user.

2)    Smartphones  are very applicable for AR because they contain integrated GPS, sensors, camera accelerometers, display, digital compasses, and CPUs.

3)    Reflectors   such as mirrors are used on AR devices to help human eyes to view virtual images.

4)    Animation tools such as  Maya   and  Blender  are the most common examples.

5)    The visuals on the screen can rendered by using an  HDMI   cable connected to a mobile phone or PC.

 

 

C) State ‘T’ for True or ‘F’ False:

1)    AR is interactive in real-time. TRUE 

2)    Augmented Reality and virtual Reality are the same. FALSE

3)    VR uses real-world setting.  FALSE

4)    AR users are controlled by the real world. TRUE

 

 

D) Short Ans type questions:

1) AR stand for?

Ans:  Augmented Reality

 

2) Write full form of VR.

Ans:  Virtual Reality

 

3) Name the components of AR.

Ans:   Hardware (Smartphones, HMD, sensors, etc.) and Software (computer vision, depth tracking, etc.)

 

4) What are the 3 uses of Virtual Reality?

Ans:  Entertainment, Training and Simulation, Healthcare

 

E) Long answer type questions:

 

1) What is Augmented Reality?

Ans:  Augmented Reality is the technology that overlays digital information, such as text, images, or 3D models, onto the real-world environment in real-time.  

 

2) What are the Applications and some examples of Augmented Reality?

Ans:  Applications include gaming, education, healthcare, and more. Examples: Pokemon Go, IKEA Place, Google Translate.

 

3) How is Augmented Reality different from Virtual Reality?

Ans:   Augmented Reality enhances the real-world environment with digital information, while Virtual Reality immerses the user in a completely digital environment, detached from the real world.

 

4) How does Virtual Reality work?

Ans: Virtual Reality works by creating a simulated environment through computer-generated images and sounds, usually experienced through a VR headset.  

 

5) Write short note on Virtual Reality.

Ans:    Virtual Reality is a computer-generated simulation that immerses users in a virtual environment, providing a realistic and interactive experience.

 

F) Guess who am I?

1) I am involves projecting generated simulations on AR headset lenses or other surfaces for viewing.

Ans: Augmented Reality (AR)

 

2) I am completely immerses the user in a digital world.

Ans: Virtual Reality (VR)

3) I am used on AR devices to help human eyes to view virtual images.

Ans: Reflectors

 

4) I am collect data about the user’s interaction with the app and virtual objects and send them for processing.

Ans: Sensors

 

 

G) Group Discussion:

1) Divide the class into four groups. Discuss the difference between Augmented Reality and Virtual Reality.

1.     Ans: Augmented Reality (AR):

    • Definition: AR overlays digital information onto the real-world environment.
    • Interaction: Enhances the real world with additional digital elements.
    • Examples: Pokemon Go, IKEA Place.
    • Practical Uses: Training simulations, navigation, education.
    • Group Discussion Points: Discuss real-world applications and the impact on daily life.
  1. Virtual Reality (VR):
    • Definition: VR immerses the user in a completely digital environment.
    • Interaction: Creates a simulated environment detached from the real world.
    • Examples: VR gaming, virtual tours.
    • Practical Uses: Training simulations, healthcare therapies.
    • Group Discussion Points: Explore the potential of VR in various fields.
  2. Comparison:
    • Discuss the key differences: real-world augmentation vs. complete immersion.
    • Explore potential future developments and advancements in AR and VR.
  3. Integration:
    • Discuss scenarios where AR and VR might be integrated for a more comprehensive experience.
    • Brainstorm ideas for innovative applications combining both technologies.

 

H) Subject Enrichment/ Technological Growth

1) Make a chart of Applications of AR and VR with suitable examples. With advantage and disadvantages of each.

Ans:

Application

AR Examples

VR Examples

Advantages

Disadvantages

Education

AR educational apps

VR educational simulations

Enhanced learning experience, real-world context

Cost of equipment, limited physical movement

Healthcare

AR surgical assistance

VR therapy sessions

Surgical precision, remote training

Limited realism, potential motion sickness

Gaming

Pokemon Go

VR gaming platforms

Real-world interaction, social gaming

Limited mobility, equipment cost

Training/Simulation

AR flight simulations

VR military training

Realistic scenarios, hands-on practice

Costly development, hardware requirements

 

 

2) Students have to find the different website which are using Big Data.

Ans: Different Websites Using Big Data:

  • Students should explore and list websites that utilize Big Data for analytics, personalization, or other purposes.
  • Examples: Amazon, Netflix, Google, Facebook.
  • Briefly explain how each website leverages Big Data.

 

 

3) Define Big Data . Write 3 advantages and disadvantages of it.

·        Ans: Definition: Big Data refers to the massive volume of structured and unstructured data that organizations collect and process for insights.

  • Advantages:
    1. Informed Decision Making: Helps in making data-driven decisions.
    2. Improved Customer Experience: Personalized services based on user behavior.
    3. Innovation: Identifying trends and patterns for product/service development.
  • Disadvantages:
    1. Privacy Concerns: Collection of personal information raises privacy issues.
    2. Security Risks: Large datasets are vulnerable to cyber threats.
    3. Implementation Costs: Setting up Big Data infrastructure can be expensive.

 

 

 

 

 

 

Monday, 1 January 2024

L-9 Coding in Python / Class 8th Computer

 

Class – VIII

Subject: Computer

L-9 Coding in Python


State whether these statements are true or false.

1)    Sequence in another name for iteration.__FALSE

2)    While is a conditional loop.__TRUE

3)    There are 2 types of decision making statements in python._FALSE

4)    A list is denoted by round brackets. FALSE


A.) Test your Skills:

1)    Which of the following is not used as loop in python?

a)    For loop

b)    While loop

c)    Do-while loop

d)    None of the above

Ans: c) Do-while loop

 

2)    Which of the following is not a decision-making statement?

a)    If statement

b)    If-else statement

c)    For statement

d)    If-elf statement

Ans: c) For statement

 

3)    The order of the execution of the statements in a program is known as

a)    Flow of control

b)    Central flow

c)    Selection

d)    Iteration

Ans: a) Flow of control

 

4)    How many times will the loop run?
i=2
while (i>0)
i=i-1

a)    2

b)    3

c)    1

d)    0

Ans: c) 1

 

5)    While loop in python used for what type of iteration?

a)    Indefinite

b)    Definite

c)    Discriminant

d)    Infinity

Ans: a) Indefinite

 

B.) Fill in the blanks using the words from the help box:

[  Iteration,  Pass,    conditional,   statement  ]

 

1)    An empty statement in Python is Pass .

2)    Iteration   is another name of looping.

3)    Statement that allow you to give conditions are called conditional  .

4)    Python support  conditional   type of control structures.

 

C) State ‘T’ for True or ‘F’ False:

1)    Control statements control the flow of execution of program. TRUE

2)    ‘for’ is a conditional statement. FALSE

3)    You can not use else in while loop. FALSE

4)    A tuple is defined in a square bracket. FALSE

5)    Range function used when loop is finished. FALSE

 

 

D) Short Ans type questions:

1) What are conditional statements?

Ans: Conditional statements are programming constructs that allow you to make decisions based on certain conditions.

 

2) Difference between ‘for’ loop and while loop?

Ans: The 'for' loop is used for definite iteration, and the 'while' loop is used for indefinite iteration.

 

3) What are infinite loops?

Ans: Infinite loops are loops that continue indefinitely, never reaching a stopping condition.

 

 

 

E) Long answer type questions:

 

1) Differentiate between a tuple and list?

Ans:   A tuple is immutable (unchangeable), denoted by parentheses, and a list is mutable (changeable), denoted by square brackets.

 

2) What are iterative statement in python?

Ans:  Iterative statements in Python are loops, like 'for' and 'while' loops, that allow the execution of a block of code repeatedly.

 

F) Application based questions:

1) Your friend wants to write a program to count the number of even and odd numbers. Can you help your friend by writing the steps to do so?

Ans: # Step 1: Initialize the counters for even and odd numbers

even_count = 0

odd_count = 0

 

# Step 2: Get the range of numbers from the user

start = int(input("Enter the starting number: "))

end = int(input("Enter the ending number: "))

 

# Step 3: Iterate through the numbers in the given range

for num in range(start, end + 1):

    # Step 4: Check if the number is even or odd

    if num % 2 == 0:

        # Step 5: If even, increment the even counter

        even_count += 1

    else:

        # Step 6: If odd, increment the odd counter

        odd_count += 1

 

# Step 7: Display the results

print(f"Number of even numbers: {even_count}")

print(f"Number of odd numbers: {odd_count}")

Explanation of each step:

1.     Initialize Counters: Create variables to keep track of the count of even and odd numbers.

2.     Get User Input: Take input from the user for the starting and ending numbers to define the range.

3.     Iterate through the Range: Use a for loop to iterate through the numbers in the specified range.

4.     Check for Even or Odd: Use the modulo operator (%) to check if the current number is even or odd.

5.     Increment Even Counter: If the number is even, increment the even counter.

6.     Increment Odd Counter: If the number is odd, increment the odd counter.

7.     Display Results: After the loop completes, display the counts of even and odd numbers.

 

2) Write a program to print following pattern.

1

12

123

1234

Ans: for i in range(1, 5):

    for j in range(1, i + 1):

        print(j, end="")

    print()

 

G) Guess my name:

1) The order of the execution of the statements in a program. Flow of control

2) I am a list denoted by square bracket. List

3) I am loop also called as entry-controlled loop. For loop

4) I am loop that continues forever, and never ends. Infinite loop

5) I am statement execute in one after another. Sequential statement

 

Tech Practice:

1)    Print squares of first 5 natural numbers and cube of 5 natural numbers.

Ans: for i in range(1, 6):

    print(f"Squared: {i**2}, Cubed: {i**3}")

 

2)    Write a program to guess a number between 1 to 9.

Ans: import random

 

secret_number = random.randint(1, 9)

guess = int(input("Guess the number between 1 and 9: "))

 

if guess == secret_number:

    print("Congratulations! You guessed the correct number.")

else:

    print(f"Wrong guess. The correct number was {secret_number}.")

 

3)    Write a program to find area of triangle.

Ans: base = float(input("Enter the base of the triangle: "))

height = float(input("Enter the height of the triangle: "))

 

area = 0.5 * base * height

print(f"The area of the triangle is: {area}")

 

4)    Rama is PGT in a school. Her gross salary is Rs. 50,000. She donate 10% of her salary for the education of needy children write a program to find out the 10% of her salary.

Ans: salary = 50000

donation_percentage = 10

 

donation_amount = (donation_percentage / 100) * salary

print(f"Rama's donation amount is: Rs. {donation_amount}")

 

5)    Demonstrate the students how to use conditional, looping statements.

Ans: Provide examples and explain the use of 'if-else' statements, 'for' loops, and 'while' loops in solving problems.

 

6)    Draw the pattern given below using programming.

1

22

333

4444

Ans: for i in range(1, 5):

    for j in range(1, i + 1):

        print(i, end="")

    print()

 

7)    Draw the pattern given below using programming.

1

12

123

1234

Ans: for i in range(1, 5):

    for j in range(1, i + 1):

        print(j, end="")

    print()

 

 

8)    Draw the pattern given below using programming.

4444

333

22

1

Ans: for i in range(4, 0, -1):

    for j in range(1, i + 1):

        print(i, end="")

    print()

9)    Draw the pattern given below using programming.

1234

123

12

1

Ans: for i in range(4, 0, -1):

    for j in range(1, i + 1):

        print(j, end="")

    print()

L-1 Indian Heroes in IT/ Class 6 Computer

 Class-6th  Subject : Computer Science L-1 Indian Heroes in IT Paste and label Indian Heroes in IT and write their inventions / contribution...