VB.NET Questions/Answers-VB.NET operators (PartI)

VB.NET operators (PartI)

1. In VB.NET, which of the following statements about increment are not valid?
a. a++   b.a=a+1   c. a+=1  d. ++a Check answer 2. Which of the following are not arithmetic operators?
a. +   b.-   c. >=   d. Mod Check answer 3. If originally x=10, what is the value of x after each of the expressions:
a.x=x+1     b.x+=1 Check answer 4. If x=10 and sum=0, what is the value of sum after each of the expressions:
a.sum-=x     b.sum=x Mod 2 Check answer 5. If originally x=10 what is the value of each of the expressions:
a.x-=1     b.x=x-1 Check answer 6. If originally x=10 and sub=0 what is the value of sub after each of the expressions:
a.sub=-x+1     b.sub-=x Check answer


This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages:
C, C++, C#, Java, VB.NET, Python, VBA,PHP & Mysql, SQL, JSP, ASP.NET,HTML, CSS, JQuery, JavaScript and other applications such as MS Excel, MS Access, and MS Word. However, we don't guarantee all things of the web are accurate. If you find any error, please report it then we will take actions to correct it as soon as possible.