Can you help me with these AP Computer Science Questions. (THIS IS DUE BY 1:30 PM today) you have to evaluate the Boolean Expressions.

Can You Help Me With These AP Computer Science Questions. (THIS IS DUE BY 1:30 PM Today) You Have To

Answers

Answer 1

Answer + Explanation:

'and' -> both statements are 'True' to evaluate as 'True'.

'or' -> at least one statement is 'True' to evaluate as 'True'.

1. True (grade has the value of 82, so the statement evaluates to 'True').

2. True (Both statements are true, this expression evaluates to 'True').

3. False (Both statements are false, this expression evaluates to 'False').

4. True (the != operator means not equal. Since the 'name' variable holds the string 'Rumpelstiltskin', name != 'Rumpelstiltskin' evaluates to 'False'. The 'not' operator returns the opposite of the given Boolean expression, so this expression evaluates to 'True').

5. True (name == 'Rumpelstiltskin' evaluates to 'True', so this expression is true).

6. False (All statements evaluate to 'False').

7. True (All statements evaluate to 'True').

8. False (All statements evaluate to 'True' except for not(x == - 3) which evaluates to 'False', so the whole statement now becomes false).

9. True (grade+5 < 90 and grade >= 80 evaluates to 'True', so this whole expression becomes true).

10. True (grade > 0 and x % 2 == 1 evaluates to 'True')

Hope this helps :)

Answer 2

In this exercise we have to have knowledge about computation, in this way it will be possible to analyze the code in python. So we will have:

1) True

2) True

3) False

4) True

5) True

6) False

7) True

8) False

9) True

10)False

In this way to understand the code we have to make clear an important point, that is:

'and' -> both statements are 'True' to evaluate as 'True'. 'or' -> at least one statement is 'True' to evaluate as 'True'.

1) The grade has the advantage of 82, so the charge evaluates to 'True'.

2) Both charge exist valid, this facial appearance evaluates to 'True'.

3) Both account of finances happen dishonest, this facial appearance evaluates to 'False'.

4)The 'not' manipulator returns the opposite of the likely Boolean verbalization, so this facial appearance evaluates to 'True'.

5) The name == 'Rumpelstiltskin' evaluates to 'True', so this facial appearance exist real.

6) All account of finances judge to 'False'.

7) All assertion judge to 'True'.

8) All account of finances judge to 'True' except that not(x == - 3) that evaluates to 'False', so all affidavit immediately enhance dishonest.

9) The grade+5 < 90 and grade >= 80 evaluates to 'True', so this whole verbalization enhance real.

10) The grade > 0 and x % 2 == 1 evaluates to 'True'.

See more about computation at brainly.com/question/26104476


Related Questions

Once you have chosen a topic, what should you do before beginning the research process?
a. Find as many possible facts and details on C. Discuss your idea with others
your topic
b. Choose a position
d. None of these
Please select the best answer from the choices provided
Ο Α
B
С
D
Kiki

Answers

Find as many possible facts and details on

Answer:

A

Explanation:

which of the following is an example of a boolean operator

A.

B. SEO

C. HTML

D. BUT

Answers

The option that is an example of a boolean operator is D. BUT

What is boolean operator?

A boolean operator is a logical operator that evaluates an expression and returns a boolean value (either true or false) based on the conditions specified in the expression. There are three main boolean operators:

AND operator (&&): It returns true if both the operands are true, otherwise it returns false.

OR operator (||): It returns true if either of the operands is true, otherwise it returns false.

Learn more about Boolean on

https://brainly.com/question/1675220

#SPJ1

which of the following is an example of a boolean operator

A.< TITLE

B. SEO

C. HTML

D. BUT

rebecca smith was the top scorer in a women’s professional basketball league

Answers

Answer:

awesome

Explanation:

Write a program that uses a while loop to calculate and print the multiples of 3 from 3 to 21. Your program should print each number on a separate line. Expected Output:
3
6
9
12
15
18
21

Answers

Code:

num = 3

while num <= 21:

   print(num)

   num+=3

Output of code:

3

6

9

12

15

18

21

Explanation:

The condition num <= 21 will ensure that the program will only print multiples of 3 up to 21. We set num as 3 since we want to start printing from 3, and we add 3 each time to get the multiples.

Hope this helps :)

A garments manufacturing company buys various types of natural and synthetic materials to produce clothes. Which material is a synthetic material?

A. cotton
B. nylon
C. jute
D. silk
E. linen

I need this answer please!! 20 points

Answers

a is the correct answer of the question

Answer: A.

Explanation:

__________ are organizations of special interest groups that solicit contributions from donors and fund campaigns to help elect (or defeat) candidates based on their stances on specific issues. Group of answer choices

Answers

Answer:

The appropriate approach is "Political action committees".

Explanation:

Committees created among moneyed interests to donate to presidential campaigns that are inclined to endorse whose stance regarding controversial factors. Due to various established campaign finance laws, Campaign contributions or PACs have been permitted to make contributions that are far greater just like groups of people would.

Rebbeca has finished with the research and outline portion of her slide presentation. Now, the next logical step is to begin working on what part of her slide?

Answers

Answer:

The next step is creating the layout and template style

Explanation:

As we know that the power point presentation is used for preparing the slides  i.e. easy for the company to describe them by adding the images, videos with sounds.

As in the situation it is given that the Rebbeca completed with the portion of the research and outline now the next and logical step would be that she could create the layout and the style of the template so that it looks attractive to the audience

Therefore the above represents the answer  

What is one disadvantage of transmitting personal data using digital signals?
A. The data cannot be accessed by other computers.
B. The data could be accessed or stolen.
C. The data are easily changed into different data.
D. The data can be changed by being transmitted.

Answers

Answer: The answer to your question is B i hope this helps

the reason for this is because useing digital signals can be hac,ked or accessed by another person so there for you maybe have to use another way.

Explanation:

i hope this helps if it does have a brilliant day and have a smile

B I think I’m not sure but I hope it helps

Which of the following statements is true?
O Secondary storage stores data for short periods of time.
O A hard drive is an example of secondary storage.
O The CPU holds instructional data for programs.
Audio data is saved to a computer's CPU.

Answers

C is the answer I think not sure

The statement true for the secondary storage device, is that hard drives are the example of secondary storage. Thus, option B is correct.

What is a secondary storage?

A secondary storage in the computer system is given as the non-volatile form of the storage media that has the ability to form the storage without being connected to power.

The secondary storage can be of solid state, optical and magnetic storage devices. Hard drive is the example of magnetic secondary storage devices. Thus, option B is correct.

Learn more about secondary storage, here:
https://brainly.com/question/86807

#SPJ2

You were issued a certificate on March 1st 2015 for your secure Web server. The validity period is three years and the renewal period is four months. What is the earliest date you can renew this certificate

Answers

Answer:

November 1, 2017

Explanation:

Given that the end of the three year validity period will be 1st of March 2018. And with the renewal period being four months.

This implies that to renew the certificate one will have to do it at least four months before the validity period elapsed.

Hence, in this case, the correct answer is November 1, 2017

Why won't my Brainly let me make an account? I have shut my computer down, closed the tab, and opened it, I have tried EVERYTHING!!!HELP PLZ!!

Answers

Explanation:

You may try opening the Brainly website using your browser's incognito mode. In other words,

Go to the Brainly website on Incognito mode > click Join and then follow the process to create an account.

However, if the issue persists you may then click the Contact Us button on the Homepage of the website and fill the accompanying form to send in your complaints.

7.
A videographer wants a fast computer to use to edit video files. What does this customer need to
consider when selecting RAM?

Answers

Answer:

16GB RAM

Explanation:

Ziad tells his son Marc: " This year my age is triple yours, but in 10 years, it will be the double". Find their ages.​

Answers

Answer:

Ziad age would be like 30

Explanation:

10x3=30

which member of the Jackson family was the spokesperson for the Psychic Friends Network.​

Answers

Answer:

La Toya Jackson

Explanation:

how are you going to preserve cultural heritage you social practices even when using ICT ?

Answers

Answer:

Cultural heritage is central to protecting our sense of who we are.

It gives us an irrefutable connection to the past – to certain social values, beliefs, customs and traditions, that allows us to identify ourselves with others and deepen our sense of unity, belonging and national pride.

Answer:

In Slovenia, an interactive geographic information system shows information about important natural areas. Since 2008, the system is available online also via an interactive map. The Slovenian Register is one of the most comprehensive and advanced tools in the EU, and can serve as an inspiration for other countries and regions aiming to improve digitisation of natural and cultural heritage.

Source: CD-ETA E-bulletin

Cheers! :)

what is the size of 4th generation of computer and what language does they use?​

Answers

Answer:

Computers of fourth generation used Very Large Scale Integrated (VLSI) circuits. VLSI circuits having about 5000 transistors and other circuit elements with their associated circuits on a single chip made it possible to have microcomputers of fourth generation.

Fourth-generation language (4GL), Fourth-generation computer programming language

(brainliest please)

Explanation:

The period of fourth generation was from 1971-1980. Computers of fourth generation used Very Large Scale Integrated (VLSI) circuits. VLSI circuits having about 5000 transistors and other circuit elements with their associated circuits on a single chip made it possible to have microcomputers of fourth generation.

Fourth generation computers became more powerful, compact, reliable, and affordable. As a result, it gave rise to Personal Computer (PC) revolution. In this generation, time sharing, real time networks, distributed operating system were used. All the high-level languages like C, C++, DBASE etc., were used in this generation.

Fourth Generation

The main features of fourth generation are −

VLSI technology used

Very cheap

Portable and reliable

Use of PCs

Very small size

Pipeline processing

No AC required

Concept of internet was introduced

Great developments in the fields of networks

Computers became easily available

Some computers of this generation were −

DEC 10

STAR 1000

PDP 11

CRAY-1(Super Computer)

CRAY-X-MP(Super Computer)

Which of these expressions is used to check whether num is equal to value?
num ? value
num = value
num – value
num == value

Answers

Answer:

num-value

Explanation:

is should equal to zero if it is correct.

Answer:

It is num - value

Explanation:

I got it right on the test

Scrie un program care citind varstele a 2 copii afiseaza care dintre ei este cel mai mare si cu cat. Exemplu: Pentru varstele 5 si 9 se va afisa "al doilea copil e mai mare cu 4 ani"

Answers

Answer:

primul_copil = int(input("Introduceți vârsta primului copil: "))

aldoilea_copil = int(input("Introduceți vârsta celui de-al doilea copil: "))

def copilmai_mare(varsta1, varsta2):

   if varsta1 > varsta2:

       diferenta = varsta1 - varsta2

       print("copilul mai mare este varsta1 cu diferența de vârstă de: ", diferenta )

   else:

       diferenta = varsta2 - varsta1

       print("copilul mai mare este varsta2 cu diferența de vârstă de: ", diferenta )

copilmai_mare(primul_copil, aldoilea_copil)

Explanation:

Programul python de mai sus definește o funcție "copilmai_mare" care ia două argumente "varsta1" și "varsta2". Diferența dintre vârstele copiilor este comparată, iar cel mai mare copil și diferența sunt tipărite pe ecran.

want some points you get some also stay away from people

Answers

Answer:

lol

Explanation:

thank YOUUUUUUUuuuuuuu

Which best describes the Quick Access toolbar and the ribbon tabs?

Answers

Answer: D

Explanation: The Quick Access Toolbar is customizable, and the Ribbon tabs are collapsible.

Answer:

d

Explanation:

2. Convert Octal number (6213), to Binary number?​

Answers

Answer:

This online calculator is able to convert numbers from one number system to any other, showing a detailed course of solutions. And calculator designed for:

Decimal to binary conversion,

Binary to decimal conversion,

Decimal to hexadecimal conversion,

Decimal to binary conversion method,

Floating point decimal to binary conversion method,

Decimal to binary converter with steps,

Decimal fraction to binary converter.

Explanation:

Hope this helps!

Write query to display 5 characters from the 2 nd left character onwards of the string ‘Practices'.

Answers

The following code is in C++

#include<iostream>

using namespaces std;

int main( ){

    char c[] = "Practices";

    for( int i =1 ; c[i] != '\0' ; c++ )

    {    

         cout<<c[i];

    }

    return 1;

}

The following code will print : ractices .

Hence, this is the required solution.

Which practice represents the trait of effective communication

Answers

Answer:

The answer is B. speaking clearly

Explanation:

I hope it's correct sorry if not.

what is low level language​

Answers

Answer:

The language which is spoken by low aged people is called as low level language

Answer:

A low level language is a language with few layers between itself and actual machine code.

Assembly is an example of a very low level language, where you're giving direct instructions to the processor.  C is often called a fairly low level language as it gets compiled very directly into machine code.

By contrast, high level languages have many more layers between themselves and the processor.  Java would be an excellent example, as you have a full object oriented language that gets parsed, linked and assembled to run on a virtual machine which itself runs on the hosting system.  Javascript is another, as it in precompiled and executed by the browser, which itself is running on the platform.

Ben is writing web page content on a newly launched gaming gadget. He has to use hyperlinks to help visitors navigate to web pages that deal with other types of electronic gadgets. Where should he place the hyperlinks in the web page?

Answers

Answer:

at the bottom of the web page

Explanation:

Ben is creating a web page content for the gaming gadget that  has been newly launched. He uses hyperlinks so that the visitors can navigate the web pages properly which deals with some other electronic gadgets also. So Ben should place the hyperlinks at the bottom of the web page as it will provide anyone viewing the web pages easily.

Users on your network report that they have received an email stating that the company has just launched a new website. The email asks employees to click the website link in the email and log in using their username and password. No one in your company has sent this email. What type of attack is this

Answers

Answer:

Phishing

Explanation:

A phishing attack may be defined as a attack made on social platform that is used to steal the data, which includes the credit card details or credentials of individuals, etc. It is a fraudulent attempt to collect important information.

In the context, the employees receives an email asking them to click on the link and login using their credentials. It is a fraud email which no one in the company has sent. So this is a phishing attack.

After running the following pseudocode, what will the value of VARIABLE be? 1. Set value of VARIABLE to 5 2. Increase the value of VARIABLE by 3 3. If the value of VARIABLE is odd, increase its value by 1 4. If the value of VARIABLE is even, increase its value by 1 5. If the value of VARIABLE is odd, increase its value by 1​

Answers

Answer:

10

Explanation:

you start with 5       5

you add 3                8

the variable is not odd so skip         8

the variable is even so add 1            9

the variable is odd so add 1              10

10

hope this helps <3

Why was 1990 an important year regarding air quality?

The United States took first steps to keep the air clean.
The United States created the Environmental Protection Agency.
Modifications and improvements were made to the Clean Air Act.
Funding was established under the Clean Air Act to study air pollution.

Answers

Answer:

It's C

Explanation:

Answer:

Its Modifications and improvements were made to the Clean Air Act. Or C

Explanation:

Why it is not recommended to add sound effect on slide transition? Write at least two reasons.​

Answers

Answer:

It could make the viewers of the slide confus.

It could make the viewers not think your dont carde.

Explanation:

is it okay if i call you my prada bae?

(take me serious :3)

Answers



yeah ofc! sounds perfect
Other Questions
BRAINLIEST IF RIGHT AND 40 POINTSImagine that you are writing a story in which a character travels to surprise her grandmother with a visit, but the grandmother has moved to a retirement home and is no longer in her old house. You would like to add foreshadowing to create suspense. Which sentence below would indicate foreshadowing that the grandmother may not be at the old family house when the character arrives?A.Sydney imagined her grandmother's surprise and smiled; she couldn't remember the last time she had even called her grandmother, much less visited her!B.At a stoplight, Sydney looked down at the locket in her passenger seat, eager to hear the story of this family heirloom from her Grandmother.C.The hazy sun reflected off the road and gave a yellow glow to everything around her.B.Her Grandmother's house was a rambling farmhouse on the outskirts of Wilton, nestled among old trees, enormous hydrangea bushes, and neat flower beds. The Swahili culture flourished because of the a. East African system of international trade. b. Mongol invasion of East Africa. c. Mongol invasion of West Africa. d. isolated nature of the East African coast. which of the following would NOT be a feature of an absolutists monarchy? mercenary armies centralization of state power showy displays of royal wealth declining power of nobles claiming divine right to rule please answer asap At which point is ocean water the warmest?O 1O 2O 3O 4 calculate the touque developed by a motor whose spindle is rotating at 1500 rev/min and developing a power of 1.80W For the following equation, complete the given ordered pairs.3x + y = 10 (__, 1), (2, __) A. (10, 1), (2, 12) B. (0, 1), (2, 3) C. (3, 1), (2, 4) D. (2, 1), (2, 5)PLEASE HELP ME!!!!!!!! ordan Industries declared a $0.90 per share cash dividend. The company has 180,000 shares authorized, 61,000 shares issued, and 58,000 shares of common stock outstanding. What is the journal entry to record the dividend declaration Which of the following is true about the expression below?9 * 1/4O It represents the product of two rational numbers and is equivalent to a rational number. O It represents the product of two rational numbers and is equivalent to an irrational number O It represents the product of a rational and an irrational number and is equivalent to a rational number O It represents the product of a rational and an irrational number and is equivalent to an irrational number How can kindness make a positive difference in our school? (Paragraph) Instead of finding that this country is populated as it ought to be after so long an occupation thereof by our subjects, we have learned with regret not only that the number of its inhabitants is very limited, but that even these are daily exposed to the danger of being wiped out by the Iroquois."Louis XIV, 1663This quotation best supports which statement about the ways Europeans competed in North America? A. European nations fought wars to decide which of them could build colonies in an area.B. European nations could better protect their interests in an area if they had more settlers there.C. European nations divided up colonial territories according to which nation had been there the longest. D. European nations had to fight and defeat any American Indians before they could compete with other Europeans. ANYBODY KNOW THIS???? In which region of the solar system is the orbiting body located? can you help me please 2. If a healthy individual suddenly had their receptors for Insulin change shape, what would happen to their bloodsugar levels? In a collection of coins there are twice as many nickels as dimes and seven less quarters then dimes. Find the number of each coin if the collection is worth $16.25 Help ill give brainleist Investment tax credits can increase investment, but stimulating investment is not a key to ending a recession. can increase investment, which is a key to ending a recession. cannot increase spending on investment goods, but stimulating investment is not a key to ending a recession. cannot increase spending on investment goods, but stimulating investment is a key to ending a recession. WHY do researchers consider the construction of the pyramids to be an amazing feat? A. because it is impossible today to build structures that last thousands of yearsB. because it would have involved great labor, effort and collaboration among workersC. because it has never been satisfactorily explained up until this pointD. because it was recorded by ancient Egyptians in inscriptions in tombs and quarries molecular structure of mg HURRYYY i neeeeeddd helppppppppp look at the photo ^^^