Cie AS Computing
Dear students of Block 6 AS computing, welcome to the computing class. I am your facilitator Dr.Ravichandran ( you can call me Dr.Ravi), I will be your course facilitator for AS computing and A2 computing. I will start communicating with you in this discussion forum - where you can start posting your queries and useful resources.
You are highly encouraged to interact with me and also with your peers as the class begins from 30th July 2013.
All the best and keep moving. Do not hesitate to ask and send your queries if you have one.
Regards,
Dr.Ravichandran
i HAVE ATTACHED THE SYLLABUS TOO.
YOU CAN DOWNLOAD THE ATTACHMENT FILE.
Tags:
Write a vb program to identify the missing numbers in a sequence of double digit numbers .The lowest and the highest values must be stated .
Example > "93,94,96,97,99"
Answer 95,98
Dear Students,
As promised, I have uploaded the SDLC slides and also the Packet and circuit switching PPT for your kind perusal. Please feel free to ask any doubts that may strike you during the course of your reading.
Also, I have give tons of useful resources for AS computing to our Class Queen Maizatul. Remember she would only give it to you if you ask. So, better ask her or better you can go and check Yuganesh computer desktop and download the folder with name AS computing.
All the best guys, keep moving.
Regards,
Dr.Ravi
Thanks for the PPT sir!
Ravichandran said:
Dear Students,
As promised, I have uploaded the SDLC slides and also the Packet and circuit switching PPT for your kind perusal. Please feel free to ask any doubts that may strike you during the course of your reading.
Also, I have give tons of useful resources for AS computing to our Class Queen Maizatul. Remember she would only give it to you if you ask. So, better ask her or better you can go and check Yuganesh computer desktop and download the folder with name AS computing.
All the best guys, keep moving.
Regards,
Dr.Ravi
hey guys~ my question was to find the LCM ( lowest common multiple) of a given 2 numbers. This is the code i came up with :
Private Sub Command1_Click()
a = InputBox("enter a number")
b = InputBox("enter a number")
If a > b And a / b = Int(a / b) Then Form1.Print a: MsgBox "end": End
If b > a And b / a = Int(b / a) Then Form1.Print b: MsgBox "end": End
c = a * b
Form1.Print c
MsgBox "end"
End Sub
I found the solution to Yuga's problem. Define a range of numbers (e.g. 90 to 99) and insert 5 numbers (e.g. 91, 93, 95, 96, 98) and print the missing numbers (output should be 90, 92, 94, 97, 99).
MsgBox "Hi! This is a program that detects which double-digit numbers that are missing in an increasing range of numbers :D "
a = InputBox("Please input the first value of the range. Value must be a double-digit number")
b = InputBox("Please input the last value of the range. Value must be a double-digit number")
Dim n(5) As Integer
For i = 1 To 5
n(i) = InputBox("Please input the double-digit number. Remember, the value must be from smallest to biggest.")
Next i
i = 1
If n(i) <> a Then MsgBox Str(a) + " is missing from the sequence."
Do
a = a + 1
If n(i) <> a Then MsgBox Str(a) + " is missing from the sequence."
If n(i) = a Then i = i + 1
Loop Until a = b
here's the solution for aiman's. (pls correct me)
Dim a(3, 3)
Private Sub Command1_Click()
For r = 1 To 3
For c = 1 To 3
a(r, c) = InputBox("enter any value")
Next
Next
For r = 1 To 3
For c = 1 To 3
b = Val(a(r, c))
If b / 2 = Int(b / 2) Then Form1.Print Val(a(r, c))
Next
Next
End Sub
© 2025 Created by Ravichandran.
Powered by