Answered step by step
Verified Expert Solution
Question
1 Approved Answer
question 4.1 Write server-side script statements to perform the following tasks a) Display Today is a good day on the screen. b) Declare a constant
question 4.1 Write server-side script statements to perform the following tasks a) Display "Today is a good day on the screen. b) Declare a constant variable named P1 with 3-142 as its value. c) Generate a random number between-20 to 10 d) To display the information about an array named azzNums. e) Assume a Boolean variable called i seven which containing a value of false, output the value on the screen. (5 marks] Question 4.2 Assume a text file called text.txt File Edit Format View Help Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla feugiat suscipit ultricies. Etiam vulputate risus at rhoncus faucibus. Maecenas at dignissim leo. Nam lorem nunc, consectetur. Figure 4.1 Write a server script to read the content of the given file (as shown in Figure 4.1) and convert them to Unicode braille pattern by using the Braille Alphabet chart (Table 4 below. Example: A word-s i t." will be encoded into-+2 BOSU-2adnu-2 612" U-2801 U2803 U2809 u+2819 u+2811 U-2808 0+2818 0+2813 U+280A U:281A U2805 012807 U280 0128D815 280F :281F U+2817 UROE281 U 282 U282720+2820 u:2830 +2835 U+2802 U+2832 120 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started