Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following topology. PC-A FO/6 GO/1 PC-B S1 FO/5 R1 G0/0 Addressing Table Device IP Address Subnet Mask Default Gateway R1 Interface G0/0 G0/1

image text in transcribed
image text in transcribed
Consider the following topology. PC-A FO/6 GO/1 PC-B S1 FO/5 R1 G0/0 Addressing Table Device IP Address Subnet Mask Default Gateway R1 Interface G0/0 G0/1 NIC NIC 192.168.10.1 192.168.11.1 192.168.11.3 192.168.10.3 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 N/A NA 192.168.11.1 192.168.10.1 PC-A PC-B (2 Marks) (2 Marks) i. Write commands to configure router Ri, as per given addressing table. ii. Write commands, to enable SSH connections and create a user admin in the local database of the router iii. Write command to establish an SSH session to R1 from PC-A. (1 Mark) 5) Create appropriate PHP function to find the area of a rectangle and call the function to your program to give output as shown below: Area of Rectangle with 1-5m & b=10m is : 50m2 Area of Rectangle with 1-8m & b-12m is : 96m2 6) Write a PHP program to check the color entered by the user. Use switch case to get your output as follows. If the user enters 'RED' in the text box, display "You have entered RED color". If the user enters BLUE' in the text box, display "You have entered BLUE color". If the user enters GREEN' in the text box, displa "You have entered GREEN color" Enter name of a color BLUE ENTER You have entered BLUE color! 7) Get input through forms and display the details in the ne page on a table. Fruit Survey Your Name: Tuge Gender: Male Female Favourite Fruit: Apple Orange Mango Grapes SAVE RESET Apple Survey Details Customer Name Gender Favourite Fruit Toga Female Apple

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions

Question

plan and structure your literature review;

Answered: 1 week ago