1,550 Answered Questions for the topic computer science
12/20/20
Discrete Mathematics
Prove that if n is a perfect square, then n + 2 is not a perfect square.
12/20/20
Discrete Mathematics
Let N(x) be the statement "x has visited Finland," where the domain consistsof the students in your school. Express each of these quantifications∋ in English.(a) ∃xN(x)(b) ¬∃xN(x)(c) ∃x¬N(x)(d)...
more
12/20/20
Discrete Mathematics
Let P(x), Q(x), and R(x) be the statements "x is a clear explanation,""x is satisfactory," and "x is an excuse," respectively. Suppose that thedomain for x consists of all English text. Express...
more
12/20/20
Discrete Mathematics
Let the logical operator ↑ be defined by the equivalence p↑q ≡¬(p ∨q).(a) Find a compound proposition logically equivalent to ¬p using only thelogical operator ↑(b) Find a compound proposition...
more
12/20/20
Discrete Mathematics
Each inhabitant of a remote village always tells the truth or always lies. Avillager will give only a "Yes" or a "No" response to a question a tourist asks.Suppose you are a tourist visiting this...
more
12/20/20
Discrete Mathematics
The nth statement in a list of 100 statements is "Exactly n of the statementsin this list are false."(a) Which of the statements can be true?(b) Answer part (a) if the nth statement is "At least n...
more
12/18/20
If you're making an equation for 10 siblings to evenly share a pizza which is cut into 6 slices, what would be the best equation if X = 1 slice? (Algorithm)
This is more math based but I got this question for a computer science assignment. Can someone explain to me? These are the answers given. I can't wrap my head around it.A. (5X/2)+(X/10) B. X/10 C....
more
Computer Science
12/16/20
Compiler Design
Consider the following instruction:a= b +c * d + e - f * 25;Now convert this high-level code snippet to low level (assembly language) code snippet by usingall the phases of a compiler.
12/16/20
Develop a program(in C) that will output the route path and associative cost among the cities using the knowledge of GRAPH THEORY.
Choose 5 domestic airports of Y country as node(Vertices) and flight_fare as cost(for Edges) to form a GRAPH. Develop a program(in C) that will output the route path and associative cost among the...
more
Computer Science
12/15/20
Perform following operation and determine the 8-bit 2’s compliment on the result of following signed addition: 0001 0000 + 1110 1001
Computer Science
12/14/20
How does using the LEA instruction differ from using the OFFSET operator with MOV?
How does using the LEA instruction differ from using the OFFSET operator with MOV? Create program code that would illustrate an instance where OFFSET would be used and another where LEA would be...
more
Computer Science
12/14/20
Which of the following is NOT true when writing inline assembly code
options area. You can use register names as operands. b. Use assembler operators (other than PTR). c. Reference code labels and variables that were declared outside the asm block. d. Use the EVEN...
more
Computer Science
12/14/20
A standard C++ technique that involves modifying a function name with extra characters that indicate the exact type of each function parameter is called___________.
Options area. Name Decoration b. Name Mangling c. Name Translation d. None of these
Computer Science Computer Programming
12/13/20
HEAP-SORT: Implement a HEAP data structure where continuous deletion on the HEAP outputs the given data in descending orde in C
HEAP-SORT: Implement a HEAP data structure where continuous deletion on the HEAP outputs the given data in descending order in c
12/12/20
about digital system
Draw the circuit by following the steps for the given function.f(a,b,c,d)= Σ1(1,4,5,7,9,12,13)a) Fill the truth table.b) Draw the circuit using 4:1 multiplexer and other required logic gates....
more
Computer Science
12/11/20
Write an Algorithm , Flow chart , pseudo code to convert from binary number system(10110) to decimal number system (base-2)
12/11/20
Getting frustrated for the programming question below. Please give me a hand for some help.
Utilizing the same windows32 framework below, implement a program that will use a dialog box to prompt for an integer n, compute the sum 12 + 22 + . . . + n2 , and use a message box to display the...
more
12/11/20
Question Below.
Each office and cubicle will be equipped with a telephone and network connection. In addition, many of the employees travel as part of their job roles and require portable computers. Other...
more
Computer Science Java
12/10/20
How do you write a Java method for how to find the orthocenter of a triangle?
I need to know the steps on how to create an orthocenter method since whatever I try doesn't seem to work. I tried (a(x) * tan(a) and so on for the other three points but that doesn't work either....
more
12/10/20
How to solve this question below?
Consider an application A running on a single cycle datapath system comprising of data and instruction caches coupled with main memory. Assume that 90% of the instruction fetches hit in the...
more
12/10/20
What answer should be fit for the question below?
What would be the values of EAX and EDX after executing the following instruction considering the fact that EAX = 00000096, EBX = 00000005, and EDX = 00000000 before the executing the instruction?...
more
12/10/20
Which one should be fit for the questions below?
a. What would be the values of BX and CX after executing the following instruction assuming that BX = 008D and CX = 1A0C before executing the instruction? XCHG BX, CX(i) BX = 008D and CX =...
more
12/10/20
C++ Encryption/Decryption Spaces Problem Caesar Cipher
C++ I have a problem with this code I can't encrypt with spaces for the caesar cipher and decrypt back for caesar cipher with spaces. I have it working on substitution cipher but I can't fix it for...
more
Computer Science
12/09/20
data structures
What is the minimum and maximum height of a binary tree with 511 nodes. Solve this problem without drawing the tree. Make sure to show your work.
12/08/20
Microsoft office final help
To change the size of a page in a Word document:Question 1 options:
Home tab > Font group > Size
Insert tab > Pages group > Size
Design tab > Document Formatting group >...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.