ICT 2611 Exam with Answers.
ICT 2611 Exam with Answers. SUCCESS 2 Section 1 [10 point—each 1 point]: Multiple choice questions (Select only ONE answer for each question) (1) Visual Basic is considered to be a A) first-generation language. B) package. C) high-level language. D) machine language. (2) Which type of procedure returns a value? A) Sub Procedure B) Procedure C) Function D) ByVal (3) Which of the following is NOT a valid filename in Windows? A) MYFILE*.TXT B) _MYFILE.TXT C) MYDATA.TXT D) MY-FILE.TXT (4) An algorithm is defined as A) a mathematical formula that solves a problem. B) a tempo for classical music played in a coda. C) a logical sequence of a steps that solve a problem. D) a tool that designs computer programs and draws the user interface. (5) Which of the following is the proper order of procedures used in the problem solving process? A) analysis, design, coding, testing B) analysis, testing, design, coding C) design, analysis, coding, testing D) analysis, design, testing, coding E) design, testing, analysis, coding F) design, coding, testing, analysis (6) Which is not a proper looping structure? A) Do While B) Loop Until C) Do Until D) For … Next (7) Which one of the following is NOT one of the three basic types of statement structures? A) sequence B) loop C) decision D) input/output (8) What does the diamond flowchart symbol represent? A) input/output B) terminal C) decision D) connector E) process (9) A graphical depiction of the logical steps to carry out a task and show how the steps relate to each other is called a(n) A) flowchart. B) pseudocode. C) algorithms. D) hierarchy chart. (10) What would be a good name for a text box to hold a person‟s first name? A) FirstName B) txtFirstName C) textBoxFirstName D) boxFirstName C C A C A B D C A B This study source was downloaded by from CourseH on :05:59 GMT -06:00 This study resource was shared via CourseH 3 Section 2 [10 points]: Multiple-choice questions (Select only ONE answer for each question) (1) Which of the following is the correct statement for specifying the words to appear in the title bar of Form called Form1? [1 point] A) Form1.Text = “My Text” B) Form1.TitleBar = “My Text” C) Me.Text = “My Text” D) Me.Caption = “My Text” (2) What will be the content of the variable x after the following statement is executed? [1 point] x = Math.Sqrt((9 + 7) / (4 * 2) + 2) A) 1 B) 2 C) 3 D) 4 E) None of the above (3) What will be displayed when the following lines are executed? [2 points] Dim x As Double = 3, y as Double = 1 Dim z As Double z = x + (y * x) x = y z = x + z lstBox.Items.Add(x + y + z) A) 4 B) 9 C) 10 D) None of the above (4) What will be displayed when the following lines are executed? [2 points] Dim a, b, c As String a = “THE WHOLE” b = “PART” c = a.Substring(CInt(Math.Sqrt(4)), b.Length) txtBox.Text = CStr(c) A) HE W B) E WH C) THE W D) THE WHOLE PART (5) What is a valid input if a Masked Text Box has the following mask: “(00) 0&LLL” [1 point] A) “(33) 3aaaa” B) “(00) ACDEF” C) “(00) 0&LLL” D) “(83)d9OST” (6) What is the result of the following code? [1 point] Dim Boy as string = “Jack” Dim Girl as string = “Jill” txtBox.Text = Boy & “ and “ & “Girl” & “ went up the hill” A) Nothing, there‟s an error. B) “Jack and Jill went up the hill” C) “Jack and Girl went up the hill” D) “ and went up the hill” (7) Which one of the following is NOT one of the three main types of errors? [1 point] A) Syntax error B) Logic error C) Declaration error D) Run-time error (8) What type of numeric variable type holds the most data? [1 point] A) Short B) Long C) Integer D) Single E) Double
Geschreven voor
- Instelling
- University of South Africa
- Vak
- ICT2611 - Graphical User Interface Programming
Documentinformatie
- Geüpload op
- 17 november 2021
- Aantal pagina's
- 8
- Geschreven in
- 2021/2022
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
ict 2611
-
ict 2611 exam with answers