An organization is granted a block of addresses with the beginning address 150.25.0.0/24. The organization needs to have 3 subblocks of addresses to use in its three subnets: one subblock of 11 addresses, one subblock of 40 addresses, and one subblock of 125 addresses. Design the network and plot it completely with respective subnets, IP range, Network IDs.
Discuss the IPv4 Datagram with the help of suitable example.
need aa brief summary
Input:
staff name, the amount of loan, Year of Installment = 2 Process:
Do the decision
if (amount of loan < 5 000)
interest = 2
else if ( 10 000 < amount of loan >= 5 000)
interest = 2.5 else
Display “Invalid input. The maximum amount is RM10000”
interest = 0 Calculate Total of Interest
= (interest/100) * amount of loan
Calculate the Total Loan with Interest = amount of loan + Total of Interest
Calculate the monthly installment
= Total Loan with Interest / (Year of Installment * 12)
Output:
staff name, the amount of loan, monthly installment.
Imagine that you are working in the production industry which produces leather shoe, for each pair of shoe your job is to label it using serial number given to you.
Assume that the serial number starts from 1 to 1000. But the serial number contains the repetition of the some number. Now your task is to identify the total number of repetition numbers in the serial list. Write a C program to provide the solution using array concept.
Test data:
The number of elements to be stored in the array is: 10
Enter the elements in tha array:
element 0: 1
element 1: 2
element 2: 3
element 3: 1
element 4: 4
element 5: 5
element 6: 6
element 7: 2
element 8: 5
element 9: 7
Expected output:
The count of repetition elements found in the array is: 3
swap letters in the string until vowel comes
your are given three strings as input. write a program to print first character of each string in python?
Write a program that takes an array ‘A’ of size 10 and an integer ‘x’ as input and searches the index of ‘x’ in the array. If ‘x’ is found, print the index. If ‘x’ is not found, then print -1. If ‘x’ is present two or more than two times in the array, then print the index of last occurrence of ‘x’.
The FizzBuzz Game
by CodeChum Admin
Let's play a game of FizzBuzz! It works just like the popular childhood game "PopCorn", but with rules of math applied since math is fun, right? Just print out "Fizz" when the given number is divisible by 3, "Buzz" when it's divisible by 5, and "FizzBuzz" when it's divisible by both 3 and 5!
Let the game begin!
Input
A line containing an integer.
15
Output
A line containing a string.
FizzBuzz
In this assignment, let's build a Bookmark Maker by applying the concepts we learned till now.use the
Html,css, JavaScript.
An organization is granted a block of addresses with the beginning address 150.25.0.0/24. The organization needs to have 3 subblocks of addresses to use in its three subnets: one subblock of 11 addresses, one subblock of 40 addresses, and one subblock of 125 addresses. Design the network and plot it completely with respective subnets, IP range, Network IDs.