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
zzz [600]
3 years ago
13

Which Boolean operator produces the result 1 only if both values are 1? Which Boolean operator produces the result 0 only if bot

h values are 0? The (BLANK 1) Boolean operator produces the result 1 only if both values are 1. The (BLANK 2) Boolean operator produces the result 0 only if both values are 0.
BLANK 1= OR, AND, NOR, XOR
BLANK 2= OR, AND, NAND, NOR
Computers and Technology
1 answer:
lorasvet [3.4K]3 years ago
5 0

Blank 1 is AND

Blank 2 is OR

You might be interested in
Writeing an emeil in this senerio
ozzi

Dear, ____

Hi! I will be explaining all the questions you want answered! I will be visiting for every ___ hours. I will be providing to walk, feed, give essential playtime. and comfort for your pet. I will be also making sure everything is fine while i pet sit them. You can easily pay me cash when you get back, and that will be fine by me! I hope you have fun and know that your pet will be in great care!

sincerely,

_____

3 0
3 years ago
What are some of the benefits of digital media for our country as a whole? What are some of the problems it might cause?
dalvyx [7]
Media a whole makes it easier to stay more connected to others and it can make you aware of what is happening around you. One way media is bad is when the media over glorify's something like a cop shooting a black man. The media often focuses on stuff that has happened to a different race than something that has happened to the same.

5 0
3 years ago
A drunkard in a grid of streets randomly picks one of four directions and stumbles to the next intersection, then again randomly
sergiy2304 [10]

Answer:

its c so its c

Explanation:

6 0
3 years ago
Create a generic bubble sort method. Refer to the pseudo code below for a description of the sorting algorithm. Your method must
tangare [24]

Answer:

import java.util.Arrays;

import java.util.Random;

public class GenericSort{

/**

* Method for swapping the value

* @param list

* @param i

* @param j

*/

private static <T> void swap(T[] list, int i, int j) {

if (i != j) {

T temp = list[i];

list[i] = list[j];

list[j] = temp;

}

}

/**

* Generic method for sorting array

* who implement the comparable interface

* @param list

*/

public static <T extends Comparable<T>> void bubble_sort_(T[] list) {

//used the given algo

for (int k=1;k<list.length; k++){

for (int i=0; i<list.length-k;i++){

//using the compareTo method from comparable interface

if(list[i].compareTo(list[k])>0) {

swap(list,k,i);

}

}

}

}

public static void main(String[] args) {

Random rand = new Random();

//Array for int and double

Integer intArray[ ] = new Integer[100];

Double doubleArray []= new Double[100];

for(int i = 0;i<100;i++) {

intArray[i] = rand.nextInt(1000);

doubleArray[i] = 0 + (1000 - 0) * rand.nextDouble();

}

System.out.println("Integer Array Before Sorting ...");

System.out.println(Arrays.toString(intArray));

bubble_sort_(intArray);

System.out.println("Integer Array After sorting.....");

System.out.println(Arrays.toString(intArray));

System.out.println("\n\nDouble array Before Sorting ....");

System.out.println(Arrays.toString(doubleArray));

bubble_sort_(doubleArray);

System.out.println("Double array after sorting ...");

System.out.println(Arrays.toString(doubleArray));

}

}

Explanation:

7 0
3 years ago
suppose you have to implement an operating system on hardware that supports interrupts and exceptions but does not have an expli
Angelina_Jolie [31]

A trap is nothing but an exception that is caused by an abnormal condition. It is also used to invoke a system call or kernel routine because this has a higher priority than the user’s code. An interrupt is a response generated by the hardware which will occur at random times during the execution of the program. However, we cannot devise a substitute for traps using interrupts and exceptions because of the following reasons:

1. The interrupts are asynchronous whereas the exceptions and the traps are said to be synchronous.

2. The traps and exceptions can be manipulated or called whenever required whereas interrupts occur mostly at unwanted and random times.

To stop a process from happening, Ctrl + C is also done which is a user-defined interrupt in DOS operating systems

5 0
4 years ago
Other questions:
  • You decide to begin your presentation by providing your audience an overview of networking, with an emphasis on security and why
    11·1 answer
  • - The concept of communication competence suggests there is no single "ideal" or "effective" way to communicate in every situati
    6·2 answers
  • Write the following arithmetic expression as a valid C arithmetic expression: x = x + number
    9·1 answer
  • In Rizzati Corp, vice presidents in departments such as engineering, manufacturing, IT, and human resources report directly to t
    15·1 answer
  • Which of these statements about the truck driving occupation in the U.S. are accurate?
    12·2 answers
  • How to identify mistakes in a html code??​
    14·1 answer
  • Activity #2
    13·1 answer
  • What is meant by saving a sheet document​
    13·1 answer
  • A digital camera is an_____​
    6·2 answers
  • The ________ encloses and protects the power supply, motherboard, processor, and memory of a computer. drive bay solid-state sto
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!