1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
harkovskaia [24]
4 years ago
6

For each of the following Visual Basic code snippets, identify the syntax error.

Computers and Technology
1 answer:
Flauer [41]4 years ago
4 0

Answer:

1. No 'Then' in the if statement

2. No syntax error.

3. No closing if statement that is no "END IF"

4. No syntax error

5. No syntax error

Explanation:

1. The syntax for writing if statement in visual basic is:

If condition Then

'Stament block'

End If

From the above syntax, we see that the "Then" keyword is missing in the snippet.

2. This is okay as there is no syntax error.

str was declared as a string and a variable was assigned to it. Then, intLength was also declared as integer and the length of str is assigned to it.

3. The syntax for writing if statement in visual basic is:

If condition Then

'Stament block'

End If

From the above we can see that "End If" is missing in the given snippet.

4. There is no syntax error. The opening if and ending if are present.

5. There is no syntax error. The general form of writing a select case statement in Visual basic is:

Select Case VariableName

Case 1

"Statement to execute"

Case 2

"Statement to execute"

Case Else

"Default Statement to execute if other case fail"

End Select

You might be interested in
____ is an easy way to invitation through a web page​
madreJ [45]

Correct Question:

_______ is an easy way to navigate through a web page. ​

Answer:

Scrolling.

Explanation:

The responsiveness of a webpage is an ability of the design to respond to the end user's digital device and screen size.

In Computer programming, a responsive web design makes it possible for various websites to change layouts in accordance with the user's digital device and screen size.

This ultimately implies that, a responsive design is a strategic approach which enables websites to display or render properly with respect to the digital device and screen size of the user.

Additionally, media queries are simple filter design that can be applied to cascaded style sheets(css).

Depending on the size of the viewport, media queries makes it easy to tweak styles depending on parameters such as width, orientation, height, resolution and display type of the device rendering the data

Hence, scrolling is an easy way to navigate through a web page. It avails the end users an ability to scroll (navigate) from side to side (left-right or right-left) and top to bottom (bottom-top) by using the horizontal and vertical onscreen scrollbars respectively.

3 0
3 years ago
When handling project scope creep, which are two things that all parties involved need to be aware of?
WARRIOR [948]

Additional resource needed for the projects

Additional time needed for the project

<u>Explanation:</u>

In any project handing their will expected diversion and add on requirement, so to complete a project additional time and additional resource is required to finish a project.

As advice due the project details, end user has keep enough buffer for deviations on resource of man power and additional times taken to finish the project.

While design the project each scope of work is measure with additional time to complete the task

Each scope of work is considered as task in project management.

3 0
3 years ago
20
denis-greek [22]

Answer:

true

Explanation:

because my 8 ball said so

6 0
4 years ago
12. ______ is considered to be the first video game mascot.
Tatiana [17]
D pac man im hope im right
7 0
3 years ago
someone help me my browser is updated I don't know what to do someone help me please I'm trying to watch Crunchyroll.​
levacccp [35]

Answer: use chrome or firefox the browser app your using is one that they dont support

Explanation:

4 0
3 years ago
Read 2 more answers
Other questions:
  • What will be returned when the following SQL statement is executed?
    5·2 answers
  • HTTP is the protocol that governs communications between web servers and web clients (i.e. browsers). Part of the protocol inclu
    12·1 answer
  • Charlie is taking his slide presentation to a meeting at a remote location. He saves his presentation as a package on a CD. Char
    15·2 answers
  • Do you think the current system of punishment in the United States works? Why? What would you change?
    13·1 answer
  • Kayla wants to know whether she should set her network up as a WAN or a LAN. What are the three questions you would ask her, and
    11·1 answer
  • Aaron is stating the main idea of what he read in his own words. He is _____.
    11·2 answers
  • Which of the following statements is FALSE?
    5·1 answer
  • What help the ict in your life?and write own idea three or four sentence
    12·1 answer
  • 100 POINTS!!!!!!
    7·2 answers
  • Very few games have any sort of narrative, not even a simple one that involves setting the mood through color, sound, environmen
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!