ICT3611_MYPack
ICT3611 Exam Pack Exam Prep MCQ study it File Processing always repeats just fit into the context Object and classes same just fit into the context Refer to oct/nov 2016 and may/June 2017 {Q4} The explanation you can do but code see below Dim m As Integer Dim n As Integer Try m = factorial(n) Catch e As PositiveIntegerException MsgBox (" Cannot pass a non - negative integer ...") End Try Definition refer to oct/nov 2016 and may/june 2017 {Q6} ICT3611 Exam Pack May/June 2017 P1 Question 2 2.1 Public Function CountEntriesFile(filename As String) As Integer Dim count As Integer = 0 Dim strmrdr As System.IO.StreamReader 'Open the file for reading strmrdr = new System .IO. StreamReader(fileName) 'Read one line of text until the end of the file Do Until strmrdr.EndOfStream Dim line As String = strmrdr.ReadLine() 'for both reading and adding to counter count += 1 Loop 'close the file () return count End Function 2.2 Public Function CountEntriesAge(filename As String) As Integer Dim entry_counte
Geschreven voor
- Instelling
- University of South Africa
- Vak
- ICT3611 - Advanced Graphical User Interface Programming
Documentinformatie
- Geüpload op
- 15 oktober 2021
- Aantal pagina's
- 16
- Geschreven in
- 2021/2022
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
ict3611
-
ict3611mypack