Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a C program to read two strings and explain string library function.

1)strlen()

 2)strcyp()

 3)strcat()

 4) strcmp()


Question:

Perform the subnetting on the below IP Address and find out the number of networks, network of, first host, last host, and broadcast id of each network.

IP Address:210.220.150.0/29

Question:

Perform the subnetting on the below IP Address and find out the number of networks, network of, first host, last host, and broadcast id of each network.

IP Address:103.4.92.54/30

You must design a COVID-19 screening application for your campus. The guards at each gate will screen the students . The capabilities and features of the application should include a choice between the following functions:

1. A screening survey which will allow guards to record the students’ screening data.

 *No student should be allowed access to the campus after 12h00 in the afternoons regardless of whether capacity has been reached or not.

*If a student’s temperature is 38 degrees or more, they will not be allowed entry into the campus.



Your second task is to implement the Insertion Sort algorithm by making a function with the

following prototype;

void insertion_sort(int * ptr_array, int size, int order);

This function takes as input a pointer to the start of the array, and the array size and sorts it in-

place. The last input to the function is the sorting order (0 for ascending and 1 for descending).


Your task is to perform some functions on integer arrays. Specifically you will write a C program

that does the following:

1. Declare an array of size 20.

2. Initialize the array with random values (use loop, and rand() function).

3. Print all the elements in the array.

4. Print all the elements in the array in the reverse order.

5. Print the array such that every Nth element gets printed. N is user input.


A university that you attend requires an application that will print out a Course Report. You are required to create an application with this course data:

       COURSE CODE

DISD DIWD DIDM

COURSE NAME

Diploma in Software Development Diploma in Web Development Diploma in Data Metrics

STUDENT NUMBERS

35 28 39

LECTURER

Mr Jones Mrs Smith Mr Ntsinga

   In your main class must include a static method to handle the printing of the course report:

COURSE REPORT

Course Diploma in data metrics

Lecturer Mr Ntsinga

venue : venue 1

Would you like to exit the application?Enter (y) to use the exit or any other key to continue(JOptionPane input-must be a while loop)


Write a C++ program which perform the following:

1. Create a Class Sequence

2. Create a Private Static Data Member and initialize it with value 

zero

3. Create a Public Static Member Function, funcStatic( ) to access 

the static data member

4. Now, access the static member function in Main(), and using 

Constructor print the following sequence:

0 1 3 6 10 15 21 28


Write a C++ program which perform the following:

1. Create a Class factorial

2. Create Private Member Variable and initialize it with Member 

initialization list and with value zero

3. Now, take inputs from user

4. Create a Public Member Function Calculate( ) outside the class, 

to calculate the factorial of a given input

5. Create another Public Member Function Result( ) outside the 

class, to print the results on screen

6. Now, create a constant object of the class which perform following: 

a. Passes the values to the Calculate( ) function 

b. Call the Result( ) function to show result


Write a C++ program which perform the following:

1. Create a Class factorial

2. Create Private Member Variable and initialize it with Member

initialization list and with value zero

3. Now, take inputs from user

4. Create a Public Member Function Calculate( ) outside the class,

to calculate the factorial of a given input

5. Create another Public Member Function Result( ) outside the

class, to print the results on screen

6. Now, create a constant object of the class which perform following:

a. Passes the values to the Calculate( ) function

b. Call the Result( ) function to show result


LATEST TUTORIALS
APPROVED BY CLIENTS