1,518 Answered Questions for the topic computer science

12/22/20

Discrete Mathematics

Is the assertion "This statement is false." a proposition? Justify.
Computer Science Sql Computer Programming Database

12/21/20

Database Questions

1.     Discuss some applications of active databases.2.     Discuss how time is represented in temporal databases and compare the different time dimensions. 3.     What are the differences between... more

12/20/20

Discrete Mathematics

Let A and B be subsets of the set S, where S = 10 and B = 5. Let f: A → Bbe a function.(a) If f is one-to-one, what are the possible values of A?(b) If f is onto, what are the possible values of... more

12/20/20

Discrete Mathematics

Let B be a subset of A. Let A = n and B = k. What is the number ofsubsets of A whose intersection with B has 3 elements?

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
Computer Science Math Algebra 1 Mathematics

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/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

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

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

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.