Write the values of four quantum numbers for the electrons present in the following orbitals.
(i) 2p
(ii) 3d
(iii) 4f
Which type of school are termed exposed sites
a.school that have learners who often struggle to achieve academically and have a lack of resources but are well funded
b.school that serve poorer communities and have a lack of resources
c.school that have lack of resources but are well funded
d.schools that serve poorer community,have learners who often struggle to achieve academically and have a lack of resources
Given a positive number, create an array with that number as the size and populate it with the items/names provided. Additionally, the program should print out the longest name in the array.
Sample Run1
3
Apple
Banana
Kiwi
Output1: Banana is the longest name
As a build-up from the previous question, consider 3 possible scenarios of input: A character, number, or word. Your program should then do the following:
Sample Run 1 Sample Run 3
Enter a character, number or word : c Enter a character, number or word : 7
Output 1 : C is not a vowel Output 3 : 7 is a prime number
Enter a character, number or word: programming
Output 2: Programming is not a palindrome
Using the provided recording and your knowledge from programming 1. Create a program in java that takes in an input from the user and checks whether it’s a number or a word. In case a number is entered the program should print the number to the power 3 and if a word is entered your program should split that word into 2.
Sample Run 1
Enter a number or word: 7
Output 1:
7 to the power 3= 343
Sample Run 2
Enter a number or word: NAMIBIA
Output 2:
The word split in half is : NAMI and BIA
Question 6 [2]
State the mean Value Theorem.
Trial balance of GM as at 31 December 2021 Debit(RM) Credit(RM)
Sales 126,500
Purchases 99,850
Premises (cost) 100,000
Accumulated depreciation at 1 January 2021_Premises 25,000
Plant (cost) 18,000
Accumulated depreciation at 1 January 2021_Plant 2,300
Wages and salaries 8,900
Rent expense 7,500
Closing inventories RM12,500.
Capital at 1 January 2021 80,000
Drawings 25,000
Carriage inwards 4,000
Account receivables and Account payables 27,500 16,000
Bad debts written off 5,000
Other revenue 2,000
Cash at bank 18,950
Bank loan 30,000
300,750 300,750
Additional information at 31 December 2021:
i.Wages and salaries accrued amount to RM700.
ii. Rent prepaid amounts to RM300.
iii. Bank loan interest of 10 per cent per annum is outstanding.
iv. Provision for doubtful debt for account receivables of 2 per cent is to be made.
v. Depreciation is to be charged at 2 per cent of cost on the premises and 10 per cent of cost on the plant.
prepare Statement of Financial Position as at 31 December 2021
Question 5 [2;2]
Investigate whether the following functions are odd or even.
(a) 𝑓(𝑥) = 𝑥^
3
(b) 𝑓(𝑥) = cos 𝑥
Trial balance of GM as at 31 December 2021 Debit(RM) Credit(RM)
Sales 126,500
Purchases 99,850
Premises (cost) 100,000
Accumulated depreciation at 1 January 2021_Premises 25,000
Plant (cost) 18,000
Accumulated depreciation at 1 January 2021_Plant 2,300
Wages and salaries 8,900
Rent expense 7,500
Closing inventories RM12,500.
Capital at 1 January 2021 80,000
Drawings 25,000
Carriage inwards 4,000
Account receivables and Account payables 27,500 16,000
Bad debts written off 5,000
Other revenue 2,000
Cash at bank 18,950
Bank loan 30,000
300,750 300,750
Additional information at 31 December 2021:
i.Wages and salaries accrued amount to RM700.
ii. Rent prepaid amounts to RM300.
iii. Bank loan interest of 10 per cent per annum is outstanding.
iv. Provision for doubtful debt for account receivables of 2 per cent is to be made.
v. Depreciation is to be charged at 2 per cent of cost on the premises and 10 per cent of cost on the plant.
prepare Statement of Comprehensive Income for the year ended 31 December 2021
A mainframe computer has 4 ports. At any given time each port is either in use or not in use. How many possibilities are therefore overall port usage of this computer? Determine possible outcomes of at least two ports