Questions
find the broadcast address for 10.248.139.232 with mask 255.255.255.252

find the broadcast address for 10.248.139.232 with mask 255.255.255.252

In: Computer Science

Why are we required to create a GPU from scratch on an FPGA using HDL language?...

Why are we required to create a GPU from scratch on an FPGA using HDL language?

What are the design challenges with this?

In: Computer Science

Q in c++ Write a program that will find the inverse of any two dimensional array...

Q in c++ Write a program that will find the inverse of any two dimensional array without the usage of the built-in function.? plz answer in while or do while loop

In: Computer Science

A company has been granted a block of classless addresses which starts at 198.87.24.0/23. Create the...

A company has been granted a block of classless addresses which starts at 198.87.24.0/23. Create the following 4 subnets by calculating the subnet address for each subnet including the prefix. Create a table to organise your answer. Show your working in the space provided.

a) 1 subnet with 256 addresses (1 mark correct subnet, 0.5 mark good calcs)

b) 1 subnet with 128 addresses (1 mark correct subnet, 0.5 mark good calcs)

c) 2 subnets with 64 addresses each (1 mark per correct subnet, 0.5 mark good calcs per subnet)

In: Computer Science

Write a method in C# which takes string as an argument and extracts all words of...

Write a method in C# which takes string as an argument and extracts all words of length between 4 to 5 and contains vowels in it. Method returns an array of type string containing words which satisfied above criteria. Show these words in main().

In: Computer Science

If I have a data warehouse for drugstores, what are the problems that this warehouse solves,...

If I have a data warehouse for drugstores, what are the problems that this warehouse solves, what are its requirements and what is the process run for it?

In: Computer Science

Lab 7: 2D Arrays Project Goals The goals of this project are to: 1.       Get students...

Lab 7: 2D Arrays

Project Goals

The goals of this project are to:

1.       Get students familiar with 2D arrays

2.       Continue loop practice

Important Notes:

1.        Formatting: Make sure that you follow the precise recommendations for the output content and formatting: for example, do not change the text of the problem from “Enter the number of rows in your array: ” to “Enter the number of rows: ”. Your assignment will be auto-graded and any change in formatting will result in a loss in the grade.

2.       Comments: Header comments are required on all files and recommended for the rest of the program. Points will be deducted if no header comments are included.

Problem 1

Save your program as squaring.c

It’s better to be odd, so let’s square those values. Write a program which gets values into an array and then squares the odd values. The program should prompt the user to enter the number of rows -1[1] and columns they would like in an array. Then it should prompt the user to enter values to fill that array. It should iterate over all the values in the array and square any which are odd. Display those values back to the user.

The program should function as follows (items underlined are to be entered by the user):

Enter the number of rows in your 2D array: 2

Enter the number of columns in your 2D array: 2

Enter a value to save: 1

Enter a value to save: 2

Enter a value to save: 3

Enter a value to save: 4

1 2

9 4

Run your program again, testing it with different values.

Notes:

  • You know the range and step, which loop is best?
  • Know which variables to initialize!

[1]I think this should be ...rows... and not ...rows-1...

In: Computer Science

1. Implement the faster algorithm for integer multiplication in C++ as a function, called “multiply”, that...

1. Implement the faster algorithm for integer multiplication in C++ as a function, called “multiply”, that takes 2 unsigned integers and returns their multiplication as an unsigned integer.

2. Test your code in main.

Hints: Represent integers as strings.

Write a utility function that pads integers with zeros, this will be useful If the 2 integers differ in length In calculating ??10^? and (??+??) 10^(?/2)

In: Computer Science

Please use Java eclipse Find pair in an array with given sum Given an array of...

Please use Java eclipse

Find pair in an array with given sum

Given an array of integers A and an integer S, determines whether there exist two elements in the array whose sum is exactly equal to S or not.

Display 1 a pair is found in an array with matching sum S else 0.

Input
    6
    5
    1 -2 3 8 7

    Where,

  • First line represents integer S.
  • Second line represents the size of an array.
  • Third line represents array elements separated by single space.

Output
    1

For the given array, A[1] + A[3] = -2 + 8 = 6 which is equal to the given number S=6

In: Computer Science

URGENT write a c++ program which asks the user to enter a positive number which is...

URGENT
write a c++ program which asks the user to enter a positive number which is less than or equal to 9. Do not let the user continue until he or she enters a number within range. once a valid number is entered, multiply it by itself. if the resulting number is even, display a message with the number followed by the words even. If it is odd, display the number followed by the words is odd. must use a do-while loop

In: Computer Science

Files that are read by the computer are called ____ files. a. report b. serial c....

Files that are read by the computer are called ____ files.

a.

report

b.

serial

c.

input

d.

storage

The database for a pet supply company includes the following table, named tblCollar, that contains product data for pet collars. The ItemDesc and Color fields contain text. The ItemNum, Price, and Quantity fields contain numbers.

ItemNum

ItemDesc

Color

Price

Quantity

2358

leather studded collar

black

30.00

35

2693

leather collar

brown

25.00

25

3547

striped collar

red

20.00

75

3855

striped collar

blue

15.00

42

3764

striped collar

green

15.00

48

5782

solid collar

pink

12.00

36

5785

solid collar

red

12.00

10

5787

solid collar

blue

10.00

15

Which of the following statements would select the ItemDesc and Price fields from tblCollar for all records whose ItemDesc field begins with the word “leather” followed by zero or more characters?

a. SELECT ItemDesk FROM tblCollar

     WHERE ItemDesc LIKE 'leather %'

b. GET ItemDesc, Price FROM tblCollar

    WHERE ItemDesc LIKE 'leather %'

c. SELECT ItemDesc, Price FROM tblCollar

    WHERE ItemDesc LIKE 'leather %'

d. SELECT ItemDesc, Price FROM tblCollar

    WHERE ItemDesc LIKE leather %

The ____ statement is used for exception handling in a procedure.

a.

aggregate

b.

Try…Catch

c.

ORDER BY

d.

LINQ

A(n)____ function returns a single value from a group of values.

a.

WHERE

b.

Calculate

c.

Aggregate

d.

Parameter

Visual Basic’s auto-implemented properties feature enables you to ____.

a.

add validation code to the set block

b.

make the property ReadOnly

c.

make the property WriteOnly

d.

specify the property of a class in one line of code

are the actions to which an object can respond.

a.

Methods

b.

Behaviors

c.

Events

d.

Attributes

In: Computer Science

What is Rapid provisioning and what are the tools that we use to implement rapid provisioning?

What is Rapid provisioning and what are the tools that we use to implement rapid provisioning?

In: Computer Science

What is the relationship between REST and JSON?

What is the relationship between REST and JSON?

In: Computer Science

Infile and getline - how can I change this code to get the whole line from...

Infile and getline - how can I change this code to get the whole line from a text file? Right now it only gets the first word each time it reads. NUMBER can be any integer. This code gets strings that are in multiple lines from a text file. Some words are separated by whitespace and that makes the input wrong. It only works if there is only one word.

infile >> arrayOne[dive] >> arrayTwo[dive];

while (infile && dive< NUMBER)
{
dive++;
infile >> arrayOne[dive] >> arrayTwo[dive];
}

infile >> arrayOne[dive] >> arrayTwo[dive];
}

In: Computer Science

Create a query using query design. from the Clients table, display the client first name and...

Create a query using query design. from the Clients table, display the client first name and last name. From the Accounts Table, select the savings balance. Add appropriate grouping so the clients total retirement account savings balances are displayed. Add a sort so the highest total savings balances are displayed first.

In: Computer Science