Design
The design of the network on which you will perform the experiments; and the design of your attacks, including the attacking strategies, the packets that you use in your attacks, the tools that you used, etc.
4.2 Observation
Once your network is up running, you may launch some attacks from one node and attack other nodes. Is your attack successful? How do you know whether it has succeeded or not? What do you expect to see? What have you observed?
Activity #5 – Applying Functions The output of this activity will be the same as activity #3 but instead you are required to use a function for the following algorithm:
1. A function for getting the length of each string
2. A function to get the shortest string
3. And a function to get the longest string Assume that each string has its own unique length.
Sample Run:
Sample Run A
Enter value of X: 3
Enter string value: a
Enter string value: ab
Enter string value: abc
a - total length is 1
ab - total length is 2
abc - total length is 3
The shortest string is a
The longest string is abc
Sample Run B
Enter value of X: 4
Enter string value: chico
Enter string value: strawberry
Enter string value: banana
Enter string value: guyabano
chico - total length is 5
strawberry - total length is 10
banana - total length is 6
guyabano - total length is 8
The shortest string is chico
The longest string is strawberry
Write an assembly language program that uses 3 byte variables, a, b, and c. The variable are initialized before the program starts with the values 2, 5, and 0, respectively. The program will add, sub, divide and multiply the contents of the variable a to that of b and store the result into c. Only c will change.
Given a dc bias of 0.5mA and a bandwidth of 10 kHz, calculate for the noise current.
The Information Systems Department is selling T-shirts. Create an attractive user interface that allows users to select sizes (S, M, L, XL) and quantity. Choose the most appropriate controls. Remember, the fewer keystrokes required of the user the better. Provide a menu labelled “Process”. Display the selections made by the user with the Process menu option under a “Display Order” option. Include an option to exit the application from the Process menu option. Include two more sizes, XSmall and XXLarge. Add statements that process the order by calculating the total cost. Each shirt is $16 except the XSmall and XXLarge; their speciality prices are $20 each Display the total cost of then selection. Include a help option that displays instructions. You can enhance your solution by allowing users to purchase different sizes on the same order.
Create a program that allows bags to be purchased. There are six different types: full decorative, beaded, needlepoint design, fringed beaded and plain. Create a ListBox object for the different styles. After the user makes a selection, display a message indicating which selection was made. Include an option to clear selections. Include a control that allows the user to enter the quantity desired. Include a set of radio buttons that contain shipping options of overnight, three day and standard. The price for each bag is as follows: full decorative R50; beaded – R45; needlepoint design – R40, fringed beaded – R30 and plain – R20. The shipping charges are based on the total purchase. The following percentages are used: Overnight – 10%, three day – 7% and standard – 5%. Display in a message box the shipping charge along with the selection, quantity and total cost.
Create a windows application that contains two TextBox objects and two Button objects. One of the TextBox objects and one of the buttons are initially invisible. The first textbox should be used to input a password. The textbox should be masked to some character of your choice so that the characters entered by the user are not seen on the screen. When the user clicks the first button, the second TextBox object and button object should be displayed with a prompt asking the user to reenter his or her password. Now the user clicks the second button, have the application compare the values entered to make sure they are the same. Display an appropriate message indicating whether they are the same.
Create a Windows application that functions like a banking account register. Separate the business logic form the presentation layer. The graphical user interface (GUI) should allow the user to input the account name, number and balance. Ensure that the full name is entered for the customer and that only numeric values are entered for the number fields when the Create Account Button is selected. Separate the business logic from the presentation layer by creating a Customer class. Include a deposit to and withdraw from methods in the customer class to keep the balance updated. After the object of the customer class is instantiated, provide Textbox objects on your GUI for the withdrawals and deposits. A second button object should be available to update the account for withdrawal and deposit transactions showing the new balance.