Given A=1101 and B=1001. What is the result of the boolean statement: A
AND B​

Answers

Answer 1

Answer:

B  (1001)

Explanation:

The AND operator gets you 1's where there are 1's in both inputs. So if you would "overlay" the two binary values, only 1001 remains.


Related Questions

Structural Styles
Go to the Structural Styles section. Within that section create a style rule to set the background color of the browser window to rgb(151, 151, 151).
Create a style rule to set the background color of the page body to rgb(180, 180, 223) and set the body text to the font stack: Verdana, Geneva, sans-serif.
Display all h1 and h2 headings with normal weight.
Create a style rule for every hypertext link nested within a navigation list that removes underlining from the text.
Create a style rule for the footer element that sets the text color to white and the background color to rgb(101, 101, 101). Set the font size to 0.8em. Horizontally center the footer text, and set the top/bottom padding space to 1 pixel.

Answers

Solution :

For Structural Styles the browser's background color.  

html {

background-color: rgb(151, 151, 151);

}

For creating style rule for the background color and setting the body text

body {

background-color: rgb(180,180,223);

font-family: Verdana, Geneva, sans-serif;  

}

For displaying all the h1 as well as h2 headings with the normal weight.

h1, h2 {

font-weight: normal;

}

For create the style rule for all the hypertext link that is nested within the  navigation list  

nav a {

text-decoration: none;

}

For creating style rule for footer element which sets the color of the text to color white and the color of the background to as rgb(101, 101, 101). Also setting the font size to 0.8em. Placing the footer text to horizontally center , and setting the top/bottom of the padding space to 1 pixel.

footer {

background-color: rgb(101, 101, 101);

font-size: 0.8em;

text-align: center;

color: white;

padding: 1px 0;

}

/* Structural Styles At one place*/

html {

background-color: rgb(151, 151, 151);

}

body {

background-color: rgb(180,180,223);

font-family: Verdana, Geneva, sans-serif;  

}

h1, h2 {

font-weight: normal;

}

nav a {

text-decoration: none;

}

footer {

background-color: rgb(101, 101, 101);

font-size: 0.8em;

text-align: center;

color: white;

padding: 1px 0;

}

Adding Calculator Write a program that simulates an adding machine. Input to the program will be integers, submitted one per line. Input should be handled as follows: a nonzero value should be added into a subtotal; a zero value should cause the subtotal to be printed and reset to zero; two consecutive zeroes should cause the total (not subtotal) of all the values input to be printed and the program to be terminated. Here’s an example of how the program should work. However, it is only an example. Your program should work for any test case. Input is in red and output is in blue. Your program does not need to display colors, they are show here for illustration only so that you can distinguish input and output.

Answers

The calculator program is an illustration of iteration (loop) and conditional statements

What are iterations?

Iterations are program statements that are used to perform repetition operations

What are conditional statements?

Conditional statements are statements used to make decisions

The main programs

The program written in Python, where comments are used to explain each action is as follows:

#This initializes the subtotal and total to 0

subTotal = 0; total = 0

#This initializes the previous number to an empty list

prevNum = []

#This iteration is repeated for valid inputs

while True:

   #This gets the input from the user

   num = int(input())

   #This calculates the subtotal

   subTotal+=num

   #This calculates the total

   total+=num

   #If the current input is 0

   if num == 0:

       #This prints the sub total

       print("Subtotal:",subTotal)

       #This sets the sub total to 0

       subTotal = 0

   #If the previous number is empty

   if len(prevNum) == 0:

       #This sets it to the current input

       prevNum.append(num)

   #If otherwise

   else:

       #If the previous number and the current input are 0

       if(prevNum[0] == 0 and num == 0):

           #This prints the total input

           print("Total:",total)

           #This exits the loop

           break

       #If otherwise

       else:

           #This sets the previous number to the current input

           prevNum[0] = num

Read more about similar programs at:

https://brainly.com/question/26497128

Q.2 (A)
Write down the method for cooking pasta from the given ingredients.
% CUP
Ingredients and amounts
Dried pasta
Butter
Amul cheese spread
Milk
Salt
1 tablespoon
2-3 tablespoon
Va cup
pinch
ach line contains a letter o​

Answers

Answer:

First u need to soften pasta by boiling it .

Butter 1 tablespoon.

Then Fry wet pasta , And add veggies or spices

When it's about to prepare ,

Add Amul cheese ( if u want to make cheese pasta)

Add a pinch of salt ( if u want) not necessary.

Milk is not necessary though.

I hope this helps a little bit

Stroke weight - ____ of the line around a shape or size of the point

Answers

Explanation: "A stroke is referred to as an outline, or instead, it describes the edges of a shape or a simple line. The stroke height can be modified by changing the settings in an appropriate panel. ... Flash uses the color panel to determine whether that color is for fills or strokes.

what is falg register​

Answers

Answer:

I dont know the answer

Explanation:

I dont know the answer

If you meant “FLAGS register”, it’s the status register in Intel x86 microprocessors. It contains the current state of the processor.

What kinds of animations are available for slide objects besides animations for entrances and exists?

Answers

Entrance. Entrance animations are used to introduce a slide object within a slide or Emphasis. Emphasis animations are used to animate slide objects that are already present on a slide.

"We can't a computer use source code

Answers

Answer:

Explanation:

There are two main reasons why you can't access the source code from applications on your computer: It isn't present on your computer. The source code isn't really needed to run the application, the executable is (.exe) The executable is just a bunch of machine code stuff that isn't human readable.

I this is .exe hope it helps

(python) Given the formula for conversion from Celsius to Fahrenheit
Fahrenheit = 1.8 x Celsius + 32
Write a Python program that takes as input a temperature in degrees Celsius, calculates the temperature in degrees Fahrenheit, and display the result as output.

Answers

Answer:

initial_temp = float(input('Celsius Temperature: '))

final_temp = (initial_temp * 1.8) + 32

print(f'{final_temp} F')

Use the drop-down menus to complete each of the following sentences correctly.

To include someone on an e-mail without others knowing, use the
feature.

Use the
feature to send a file.

Use the
feature to send someone else an e-mail you received.

To allow the main recipient of an e-mail to see who is being included in the message, use the
feature.


is a feature that can be used to respond to someone’s e-mail.

Answers

Answer:

Blind carbon copy (abbreviated Bcc)

Click on the menu item with a paperclip icon that says "Attach a file" or something similar (e.g., "Attach Files")

Click Reply and then select Forward

CC

reply

true or false with reason :- profit and loss account is a real account​

Answers

Answer:

False

Explanation:

Account of expenses, losses, gains, and incomes is called the Nominal account. Profit and Loss Account contains all indirect expenses and indirect incomes of the firm. Therefore, Profit and Loss Account is a Nominal Account and not a real account.

:)

my uh coding teacher would like the class to do little piggy with code.


Write code using def to create functions so that each line is printed in its own function. Turn in a gdb link so I can grade it.


This little pig went to the market.

This little pig stayed home.

This little pig had roast beef.

This little pig had none.

This little pig cried wee wee wee all the way home.


here's a example from him but i don't understand it


import time


def myFunction():

print('In the function called my function')

time.sleep(2)


def yourFunction():

print('In the function called your function')

time.sleep(2)


#*********MAIN**********

print ('In the main part of the program')

time.sleep(2)

myFunction()

print ('Back in the main')

time.sleep(2)

yourFunction()

print ('Back in the main after your function')


please help if you can

Answers

Answer:

see picture below

Explanation:

I added a parameter to factor out the first bit of each sentence into a global variable. If you change for example 'pig' into 'monkey', all sentences will change.

Which of these is a problem that a computer CANNOT solve
A. Getting the news out to the public quickly
B. Helping architects build models of new buildings
C. Getting rid of racism
D. Making a game for entertainment

Answers

The answer should be C

Getting rid of racism

Hope this helps

How do I create a flowchart to output numbers from n...1? We were doing loops during the classes.

Answers

I use GOxxOGLE FORMS or WxxORDS and their good to make flow charts

dy
If x2 - y2 = 1, then
dx
1
(a) yx-1
(C) xy-1
(b) -xy-
(d) - yx​

Answers

Answer:

xy-1

Explanation:

Given expression is :

[tex]x^2-y^2=1[/tex] ..(1)

We need to find the value of [tex]\dfrac{dy}{dx}[/tex].

Differentiating equation (1) wrt x.

[tex]\dfrac{d}{dx}(x^2-y^2)=1\\\\2x-2y\times \dfrac{dy}{dx}=0\\\\2y\times \dfrac{dy}{dx}=2x\\\\y\times \dfrac{dy}{dx}=x\\\\\dfrac{dy}{dx}=\dfrac{x}{y}[/tex]

or

[tex]\dfrac{dy}{dx}=xy^{-1}[/tex]

Hence, the correct option is (c) "xy-1".


Write a program in QBasic to enter two numbers and print the greater one.​

Answers

Answer:

REM

CLS

INPUT “ENTER ANY TWO NUMBERS”; A, B

IF A > B THEN

PRINT A; “IS GREATER”

ELSE

PRINT B; “IS GREATER”

END IF

END

class one

{

public static void main ( )

{

int a = 1,b = 2;

if ( a > b )

{

System.out.print (" greater number is " + a);

}

else if ( a < b )

{

System.out.print (" greater number is " + b);

}

}

}

how are headers and footers are useful in presentation​

Answers

Answer:

Explanation:

PowerPoint is a software that allows user to create headers as well as footers which are information usually appears at the top of the slides and the information that appears at the bottom of all slides. Headers and footers are useful when making presentation in these ways:

✓ Both provide quick information about one's document/ data clearly in a predictable format. The information that is provided by the Header and footers typically consist of ;

©name of the presenters,

©the presentation title

©slide number

©date and others.

✓ They help in setting out different parts of the document.

✓Since the Headers and footers can appear on every slide, corporate confidentiality as well as copyright information can be added to footer area to discourages those that can steal ones secrete.

What is true about super computers?

Answers

Explanation:

Super Computer are expensive computer that are used to provide very quick results. Super computer are used in calculating complex mathematical calculations. Calculations such as weather forecast and Atomic energy research. Therefore Super Computer perform complex calculations rapidly.

As in previous prelabs, you can enter all the necessary Java code fragments into the DrJava Interactions pane. If you get an error, enter the corrected code. If you get really mixed up, you can reset the interactions pane and try again. Write a while loop that computes the sum of the first 10 positive integers. Write a for loop that computes the sum the first 10 positive integers. For each loop, you should use two variables. One that runs through the first 10 positive integers, and one that stores the result of the computation. To test your code, what is the sum of the first 10 positive integers

Answers

Answer:

public class Main{

public static void main(String[] args) {

 //The While Loop

 int i = 1;

 int sum = 0;

 while(i <=10){

     sum+=i;

     i++;  }

 System.out.println("Sum: "+sum);

 //The for Loop

 int summ = 0;

 for(int j = 1;j<=10;j++){

     summ+=j;  }

 System.out.println("Sum: "+summ); } }

Explanation:

The while loop begins here

 //The While Loop

This initializes the count variable i to 1

 int i = 1;

This initializes sum to 0

 int sum = 0;

This while iteration is repeated until the count variable i reaches 10

 while(i <=10){

This calculates the sum

     sum+=i;

This increments the count variable i by 1

     i++;  }

This prints the calculated sum

 System.out.println("Sum: "+sum);

The for loop begins here

 //The for Loop

This initializes sum to 0

 int summ = 0;

This iterates 1 through 10

 for(int j = 1;j<=10;j++){

This calculates the sum

     summ+=j;  }

This prints the calculated sum

 System.out.println("Sum: "+summ); }

What is the value of: 1 + int(3.5) / 2?
Select one:
a. 2
b. 2.25
C. 2.5
d. 3

Answers

Answer:

C (2.5)

Explanation:

int(3.5) = 3

So, using order of operations, (3/2)+1=2.5

The value of the expression value of: 1 + int(3.5) / 2 is known to be option C, which is (2.5).

What is the expression about?

In maths, an expression is known to be the composition of numbers, functions such as addition, etc.

Note that int(3.5) = 3

Therefore, using the given order of operations, (3/2)+1

=2.5

Therefore the answer =2.5 is correct.

Learn more about Expression  from

https://brainly.com/question/723406

#SPJ2

How can we make our programs behave differently each time they are run?

Answers

Answer:

By given the right speech as much as the answers must be

Explanation:

By given the right speech as much as the answers must be

How can you determine if the story is told in the third person

Answers

Answer:

They use pronouns like They, Them, He, She, It.

15 points....How do you get money at home by just playing a vidio game.

Answers

You could become a creator or make an account on twitch

Streaming or you tube!

I personally am starting to stream within the new few years but creating content and streaming can make you money by getting subs, bits, and more :)

A group of statisticians at a local college has asked you to create a set of functions that compute the median and mode of a set of numbers. Define these functions, median and mode, in a module named stats.py. Also include a function named mean, which computes the average of a set of numbers. Each function should expect a list of numbers as an argument and return a single number. Each function should return 0 if the list is empty. Include a main function that tests the three statistical functions using the following list defined in main:
List: [3, 1, 7, 1, 4, 10]
Mode: 1
Median: 3.5
Mean: 4.33333333333
#Here is the code I am using:
def median(list):
if len(list) == 0:
return 0
list.sort()
midIndex = len(list) / 2
if len(list) % 2 == 1:
return list[midIndex]
else:
return (list[midIndex] + list[midIndex - 1]) / 2
def mean(list):
if len(list) == 0:
return 0
list.sort()
total = 0
for number in list:
total += number
return total / len(list)
def mode(list):
numberDictionary = {}
for digit in list:
number = numberDictionary.get(digit, None)
if number == None:
numberDictionary[digit] = 1
else:
numberDictionary[digit] = number + 1
maxValue = max(numberDictionary.values())
modeList = []
for key in numberDictionary:
if numberDictionary[key] == maxValue:
modeList.append(key)
return modeList
def main():
print ("Mean of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]: "), mean(range(1, 11))
print ("Mode of [1, 1, 1, 1, 4, 4]:"), mode([1, 1, 1, 1, 4, 4])
print ("Median of [1, 2, 3, 4]:"), median([1, 2, 3, 4])
main()
The Error that I am getting is on Line 14: AttributeError: 'range'object has no attribute 'sort'.
Also on Line 36:
Line36: 10]: "), mean(range1, 11)).

Answers

Answer:

In Python:

def median(mylist):

   mylist.sort()

   if len(mylist) % 2 == 1:

       midIndex = int((len(mylist) +1)/ 2)

       print("Median: "+str(mylist[midIndex-1]))

   else:

       midIndex = int((len(mylist))/ 2)

       Mid = (mylist[midIndex] + mylist[midIndex-1] )/2

       print("Median: "+str(Mid))

def mean(mylist):

   isum = 0

   for i in range(len(mylist)):

       isum += mylist[i]

   ave = isum/len(mylist)

   print("Mean: "+str(ave))

   

def mode(mylist):

   print("Mode: "+str(max(set(mylist), key=mylist.count)))

Explanation:

Your program is a bit difficult to read and trace. So, I rewrite the program.

This defines the median function

def median(mylist):

This sorts the list

   mylist.sort()

This checks if the list count is odd

   if len(mylist) % 2 == 1:

If yes, it calculates the mid index

       midIndex = int((len(mylist) +1)/ 2)

And prints the median

       print("Median: "+str(mylist[midIndex-1]))

   else:

If otherwise, it calculates the mid indices

       midIndex = int((len(mylist))/ 2)

       Mid = (mylist[midIndex] + mylist[midIndex-1] )/2

And prints the median

       print("Median: "+str(Mid))

This defines the mean function

def mean(mylist):

This initializes sum to 0

   isum = 0

This iterates through the list

   for i in range(len(mylist)):

This calculates the sum of items in the list

       isum += mylist[i]

This calculates the mean

   ave = isum/len(mylist)

This prints the mean

   print("Mean: "+str(ave))

   

This defines the mode

def mode(mylist):

This calculates and prints the mode using the max function

   print("Mode: "+str(max(set(mylist), key=mylist.count)))

You have many drugs that you want to store electronically along with their purchase dates and prices, what kind of software would you use? *

Wordprocessing
Database
Presentation
Spreadsheet​

Answers

Answer:

Database

Explanation:

To store a variety of drugs electronically, along with displaying their purchase dates and prices, the kind of software that would be used is database.

advantage of micro teaching over traditional way of teaching ​

Answers

Micro teaching focuses on sharpening and developing specific teaching skills and eliminating errors. It enables understanding of behaviors important in classroom teaching. It increases the confidence of the learner teacher. ... It enables projection of model instructional skills.

Please use the tables in the flights database. Your deliverable should include a single SQL query that I can run against a "fresh copy" of the tables in the flights database.
1. Write a script to select all data from the planes table.
2. Update the planes table so that rows that have no year will be assigned the year 2013. (missing values will display as NULL).
3. Insert a new record to the planes table with the following values:
Tailnum: N15501
Year: 2013
type: Fixed wing single engine
Manufacturer: BOEING
Model: A222-101
Engines: 3
Seats: 100
Speed: NULL (notice this is not a text value but truly the absence of any value: "empty". As such, don't use single or double quotes around NULL when inserting this value).
Engine: Turbo-fan
4. Delete the newly inserted record on step 3.

Answers

Answer:

The scripts are:

1. SELECT * FROM planes

2. UPDATE planes SET YEAR = 2013 WHERE year IS NULL

3. INSERT INTO planes (Tailnum, Year, type, Manufacturer, Model, Engines, Seats) VALUES ('N15501',2013,'Fixed wing single engine', 'BOEING', 'A222-101',3,100,NULL)

4. DELETE FROM planes WHERE Tailnum = 'N15501'

Explanation:

1. SELECT * FROM planes

To select all from a table, use select * from [table-name]. In this case, the table name is planes

2. UPDATE [tex]planes\ SET[/tex] YEAR = 2013 WHERE year IS NULL

To do this, we use the update query which is as follows:

UPDATE [table-name] SET [column-name]= [value] WHERE [column] IS NULL

So: the above query will update all YEAR column whose value is NULL to 2014

3. INSERT INTO planes (Tailnum, Year, type, Manufacturer, Model, Engines, Seats) VALUES ('N15501',2013,'Fixed wing single engine', 'BOEING', 'A222-101',3,100,NULL)

To insert is very straight foward.

The syntax is:

INSERT INTO [table-name] (column names) VALUES (values)

4. DELETE FROM planes WHERE Tailnum = 'N15501'

To do this, we use the update query which is as follows:

DELETE FROM [table-name] WHERE [column] = [value]

So: The above query will delete the entry in (3) above

what is a cross-site scripting (XSS) attack?​

Answers

An XSS is a common type of online attack targeting web applications and websites, the attack manipulates the web application or website to give the user client-side scripts to install malware, obtain financial information or send the user to more malicious sites.

There are many types of XSS attacks including:

   Reflected XSS    Stored XSS    DOM-based XSS

Which visual aid best matches each description given?

population clusters within a particular country
✔ map

a cross-section of a cell membrane
✔ line drawing

the changes in cell-phone usage from 2000 to the present
✔ graph

an outline of the order of topics given in the speech
✔ handout

Answers

The changes in cell-phone usage from 2000 to the present

The options given above are all correct about the visual aid that best matches each description given.

What are Visual aids?

These are known to be any kind of thing or an instrument that is often used to portray an item or  one that helps people to know something or to remember something.

Conclusively, population clusters within a particular country can be depicted on a  map as well as the other options are also correct.

Learn more about visual aid from

https://brainly.com/question/3610367

I like the impact that the increasing number of social grants may have on the things mothers​

Answers

Answer:

yes. i do too.

Explanation:

Use the drop-down menus to match each description to its corresponding term.

millions of tiny dots on a computer screen
number of pixels that span an image’s width multiplied by its height
pixels mapped onto an X-Y coordinate plane

Answers

Answer:

Your answer is

Explanation:

A monitor's screen is divided up into millions of tiny dots, called ________. Select your answer, then click Done.

You chose pixels, clicked the Done button.

Abby has a research paper to write and doesn't know which sites provide quality information. Which of the following sites is the best site for a research paper? Click the image(s) to select the answer. When you are finished, click Done.

You selected the College Online Library option, clicked the Done button.

Answer:

millions of tiny dots on a computer screen

✔ pixels

number of pixels that span an image’s width multiplied by its height

✔ image resolution

pixels mapped onto an X-Y coordinate plane

✔ raster graphic

Get it ig

Other Questions
The length of Bryans garden is 4 meters longer than 3 times the width. The perimeter of his garden is 72 meters. What are the dimensions (l, w) of his garden? Judging from the events of the late1920s and early 1930s, howimportant do you think publicconfidence is to the health of theeconomy? Explain. Simplify this expression 2(10) + 2(x - 4 Justificacion de apendicitis en pacientes pediatricos abordando la importancia de dar un diagnostico adecuado para evitar alguna complicacion. What is the correct formula for sodium carbonate?a. Na(CO3)2b. Na,(CO3)2C. Na2CO3Naz(CO)2e. NaCO3d.aabbdde When you read the source you should annotate it (underlining or highlighting)with relevant pieces of information.Which of the following statements is not a reason why you should annotate thesource?To find quotations.OTo help you write your response.To identify language devices.To identify structure devices. What is one problem that Chief Joseph has with the "good words" of others? Answer the photo below thanks Brian invests 1850 into his bank account. He receives 2.7% per year simple interest. How much will Brian have after 3 years? Give your answer to the nearest penny where appropriate. What is the area enclosed by the curves??? Cattle egrets forage (feed) in fields among cattle. The egret gets easy access to flying insects stirred upby the cattle, and the cattle don't care if they are there or not.A.MutualismB.Commensalism C.Parasitism Help me with this!! I will mark Brainliest!!! Solve for p:-9 + p < 15 The Merge & Center option is available in the_____________ group of the Home tab. Which of the following is not a question typically asked at a job interview?O What skills do you feel are your strongest?O How would you handle a problem client?O What did you dislike about your previous employer?O What consultation questions would you ask a client? COLOR THEME Q ZOOM 1. The ratio of boys to girls at a dance was 9 to 5. How many girls were at the dance if there were 72 boys at the dance? 45 girls 90 girls 40 girls 108 girls please help and don't put nothing if you can't see it or don't know it 2) Ralph Wood, the Vice President for Marketing, is planning to fly in his eight area sales managers for a yearly planning session. Sarah Sayre, the Vice President for Finance, complains that the company is in a weak, cash position and looks to Bill for a technological alternative to the planning session planned by Ralph. What are other companies doing about this 2. What reasons would make it especially surprising for Cherry to be a spyfor the Greasers?* Can someone kindly give me some pictures of the classic harley quinn please? tysmm(art class)