Q1. (a) Find CRC code for message bits to be transmitted which is 11001110 with generator value 1011 known to receiver. (5 marks)
(b) Explain in detail Go-Back-N ARQ Protocol with timeline diagram. (5 marks)
We've been dealing with integers too much, it's time for float to shine!
Instructions:
Input five float numbers.
Print out the float numbers in one line, separated by spaces, and make sure you only print up to 1 decimal place.
Add the first four float numbers and check if their sum is greater than the fifth float number. Print out "Yes" if they are.
Input
1. First float number
2. Second float number
3. Third float number
4. Fourth float number
5. Fifth float number
Output
The first five lines will contain message prompts to input the five float numbers.
The next line contains the inputted float numbers.
The last line contains "Yes" if the condition is true.
Enter·the·first·number:·1.1
Enter·the·second·number:·1.2
Enter·the·third·number:·1.3
Enter·the·fourth·number:·1.4
Enter·the·fifth·number:·1.1
1.1·1.2·1.3·1.4·1.1
Yes
Write Linux Shell script to check whether a sample file is readable, writable, and executable
Write Linux Shell script to display current working directory.
Write Linux Shell script to display current date and time
write a program find mean,median and mode by using functions in python
Write a program to ask the user to input a value representing a score on a test. The value entered should be between 0 and 100. Use a IF control structure to output a message containing the letter grade corresponding to the score using the following table. Include pseudocode and flowchart
Score Letter grade
0-40 F
41-55 D
56-70 C
71-85 B
86-100 A
You are searching for information on the cellphone suppliers Vodacom and Cell C excluding MTN. What would you type into a database search to find the most relevant sources for your topic?
a.
Vodacom AND Cell C AND MTN
b.
Vodacom OR Cell C AND MTN
c.
Vodacom OR Cell C NOT MTN
d.
Vodacom AND Cell C NOT MTN
Write a program in C++ using repetition structures to print the following pattern. You are not
allowed to use nested loops.
****
***-
**--
*---
By using do while loop
Write a program that enter a number from user and display its factorial. e.g. factorial of 5 is
1 X 2 X 3 X 4 X 5=120. Where is N<=10. by using do while loop