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?
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 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 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 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, 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 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:
[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 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 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,
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
In: Computer Science
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.
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?
|
In: Computer Science
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?
In: Computer Science
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 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