1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
serious [3.7K]
4 years ago
8

Your computer science teacher asks you to sample a black and white image that is 4" x 6". How would you sample the image to prov

ide a good digital approximation using the pixelation widget? What sample size would you use? How would your decision affect the digital representation?
Computers and Technology
1 answer:
max2010maxim [7]4 years ago
3 0

Answer:

The largest dimensions we can make of an image with the pixelation widget is 255*255.

When an image is resized, the number of pixels in the image may be reduced or increased, which causes the image to be resampled. Resampling changes the file size.

Explanation: This is all I could find. I hope its helps Sorry.

You might be interested in
If your presentation uses a background, your text should
almond37 [142]

Answer:

be at least 50-points

be placed in bulleted lists

WORK WELL WITH THE BACKGROUND

be written in paragraph form

Explanation:

4 0
4 years ago
Read 2 more answers
Class secretType { public: static int count; static int z; secretType(); secretType(int a); void print(); static void incrementY
ANEK [815]

Answer:

a. secretType mySecret(9)

Explanation:

6 0
3 years ago
Why are large commercial companies interested in developing mobile apps for smartphones?
loris [4]
Because they can make a lot of money if they create a popular application.
7 0
3 years ago
PLZ HELP!!! I'm a beginner in coding!
Lina20 [59]

import random

rock,paper,scissors = 1,2,3

choice = int(input("Please choose 1 2 or 3: "))

computer = random.randint(1,3)

player_won = False

draw = False

if choice == computer:

   draw = True

elif choice == 1 and computer == 3:

   player_won = True

elif choice == 2 and computer == 1:

   player_won = True

elif choice == 3 and computer == 2:

   player_won = True

if player_won:

   print("You won!")

elif not player_won and not draw:

   print("The computer won!")

else:

   print("It's a draw!")

First, I recommend importing at the beginning of your program. Also, you can combine all your same datatype variables in one line. You also need to cast your user choice to an integer so you can compare it with the computer's choice. I wrote the if, elif, and else statements using a boolean variable. I simply wrote all the possibilities that would result in the player winning and this would result in the player_won variable being true. If this is the case, we print to the console, "You won!"

4 0
3 years ago
when happens when the quantity of a good supplied at a given price is greater than the quantity demanded
Norma-Jean [14]

If there is a bigger supply than demand, it is called a surplus.

8 0
3 years ago
Read 2 more answers
Other questions:
  • Which structure does a web page normally use to define an area of focus?
    8·1 answer
  • How is a composite key implemented in a relational database model?
    11·1 answer
  • __________ is a contemporary term for data and software tools for organizing, analyzing, and providing access to data to help ma
    6·1 answer
  • You are in charge of an event at work. You want to plan and schedule events and resourse. What type of software should you use?
    14·2 answers
  • Select the correct answer.
    10·1 answer
  • Most sources consider the ARPA-NET project the birth of computer blank<br> .
    11·2 answers
  • Which of the following is not a data in python. float, integer, bool, str.​
    14·1 answer
  • What can relaxation help to reduce?
    14·1 answer
  • class Login: def __init__(self): self.login_name = 'none' self.login_password = 'none' # TODO: Define class method - check_crede
    11·1 answer
  • According to the test for x-ray film freshness, the film is fresh and has been properly stored and handled when the processed fi
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!