

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
VB.Net Exam questions for testing VB.Net programming skills for beginners
Typology: Exercises
1 / 3
This page cannot be seen from the preview
Don't miss anything!
On special offer
Visual Basic .NET Programming Questions 1 - Write a Visual Basic console application that prints “Hello World” to the screen and waits for any to be press to terminate program. 2 - Write a Visual Basic console application program that inputs a student numeric grade and turns out the letter grade depending on following instructions. a. Letter Grade A: Equals to or greater than 80 b. Letter Grade B: Equals to and greater than 70 and less than 80. c. Letter Grade C: Equals to and greater than 60 and less than 70. d. Letter Grade D: Equals to and greater than 50 and less than 60. e. Letter Grade E: Less than 50. 3 - Write a Visual Basic console application program that makes mathematical calculations like +, - , , /, sqrt etc. When the program starts a list of mathematical expressions should be appears on the top of the screen and user should enter the number first to select operation and then input numbers. After that, program should show result and wait for user to press any to terminate program. a. 1 - Addition (+) b. 2 - Subtraction (-) c. 3 - Multiplication () d. 4 - Division (/) e. 5 - Square Root 4 - Write a Visual Basic console application program that lets user to input a name and displaying each character of name i. While Loop
Action Language element Compare two strings. StrComp Convert strings. StrConv Reverse a string. InStrRev , StrReverse Convert to lowercase or uppercase. Format , LCase, UCase Create a string of repeating characters. Space , StrDup Find the length of a string. Len Format a string. Format , FormatCurrency, FormatDateTime,FormatNumber, For matPercent Manipulate strings. InStr , Left, LTrim, Mid, Right, RTrim, Trim Set string comparison rules. Option Compare Work with ASCII and ANSI values. Asc , AscW, Chr, ChrW Replace a specified substring. Replace Return a filter-based string array. Filter Return a specified number of substrings. Split , Join