EASDecisions and 202 er n1s Ir Then E1se 157 late binding 180 Locals window 194
ID: 1039877 • Letter: E
Question
EASDecisions and 202 er n1s Ir Then E1se 157 late binding 180 Locals window 194 logical operator 163 nested If 166 relational operator 159 Select Case 178 ANSI code 160 Autos window 194 breakpoint 191 Boolean Expression 159 call 181 Case structure 177 comparison operator 159 compound Boolean Expression 165 short circuit Step Into 193 163 condition 159 CType function 180 Step Over 193 Debug.writeline method 19 ToLower method ToUpper method 162 validation 175 DialogResult object 173 End If 157 Review Questions hat is the general format of the statement used to code decisions in an application? 2. What is a Boolean expression? 3. Explain the purpose of comparison operators and logical operators. 4. How does a comparison performed on numeric data differ from a compari- son performed on string data? 5. How does Visual Basic compare the Text property of a text box? 6. Why would it be useful to include the ToUpper method in a comparison? 7. Name the types of items that can be used in a comparison. 8. Explain a Boolean variable test for True and False. Give an example. 9. Give an example of a situation where nested Ifs would be appropriate 10. Define the term validation. When is it appropriate to do validation? 11. Define the term checking a range. 12. When would it be appropriate to use a Case structure? Give an example. 13. Explain the difference between Step Into and Step Over. 14. What steps are necessary to view the curent contents of a variable during program execution? Programming Exercise 4.1 Lynette Rifle owns an image consulting shop. Her clients can select fromExplanation / Answer
Ans of question no 10.
Valence Electrons for each element :
1 . He- Helium, Although it is a nonreactive element. It is an Inert Gas, but if however it reacts to any elements and make compounds, it has 2 valency electrons.Atomic No =2, electronic configuration=1S2
2. Pb- Lead, Atomic No = 82, Electronic Configuration of valence shell = 6s2 6p2
. So No of valence electrons = 4
3. Ne- Neon, Atomic No = 10, Electronic Configuration of valency shell = 2s2 2p6
So no of valency electrons =8
4. Se- Selenium, Atomic No =34, Electronic Configuration of valency shell = 4s2 4p4
So no of valency electrons = 6
5. Cs - Caesium, Atomic No = 55, Electronic Configuration of valency shell = 6s1
So no of valency electrons =1.
6 Ga - Galium, Atomic No = 31, Electronic Configuration of valence shell = 4s2 4p1
So no of valency electrons =3
7. Si - Silicon, Atomic No = 14, Electronic Configuration of valecy shell = 3s2 3p2
So the no of valency electrons = 4
8. N - Nitrogen, Electronic configuration of valecy shell = 2s2 2p3
So the no of valency electrons =5
9. B - Boron, Atomic no = 5, Electronic Configuration of valency electrons = 2s2 2p1
so the no of valency electrons = 3
Ans of question 9.
Highest Energy Levels ;
1. He, Helium, Atomic no =2, Electronic configuration = 1s2.
Highest energy level = 1s orbital, because 1s orbital is the only orbital present in this atom.
2. K- potassium, Atomic no =19 , Elect. configuration = 1s2 2s2 2p6 3s2 3p6 4s1
Highest energy level =4s orbital because it is far away from the nucleus.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.