Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4,6 TrustPilot
logo-home
Examen

CP212 Practice Exam Questions and Answers Already Passed

Note
-
Vendu
-
Pages
17
Qualité
A+
Publié le
03-03-2025
Écrit en
2024/2025

CP212 Practice Exam Questions and Answers Already Passed Which programming concept can be described as "The parts of a program have access to which other parts?" a.Logic b. Scope c. Variable d. Appearance - Answers Scope What VBA function can be used to check to see if a value is a valid date? a. isValidDate() b. isDate() c. isFloat() d. isNumeric() - Answers IsDate() In the code below, what is the scope of the salary variable? Sub Test1() Dim salary as Currency salary = 5000 End Sub a. Subroutine-level scope b. Form-level scope c. Project-level scope d. Module-level scope - Answers Subroutine-level scope On assigning a value to a new variable inside a function, it automatically becomes a global variable a. True b. False - Answers False A subroutine cannot call a function a. True b. False - Answers False What is the name of the VBA object that represents an Excel file a. Workbook b. Spreadsheet c. Application d. Worksheet - Answers Workbook Which VBA command will allow the user to access values from a Userform called myUserform before the Userform is displayed to the user? a. Load myUserform b. Display myUserform c. Show myUserform d. Hide myUserform - Answers Load myUserform Which VBA statement is typically used to display a Userform called myUserform on the screen for the first time? a. Show myUserform b. Hide myUserform c. Display myUserform d. Load myUserform - Answers Show myUserform A Userform that allows you to keep working in Excel while its open is called _____________ a. Modeless b. Moded c. Modular d. Modal - Answers Modal What is the line of code used to have your program continue when an unusual error happens? a. On Error GoTo 0 b. On Error Resume Next c. On Error Return d. On Error Resume Last - Answers On Error Resume Next

Montrer plus Lire moins
Établissement
CP212
Cours
CP212










Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
CP212
Cours
CP212

Infos sur le Document

Publié le
3 mars 2025
Nombre de pages
17
Écrit en
2024/2025
Type
Examen
Contenu
Questions et réponses

Sujets

Aperçu du contenu

CP212 Practice Exam Questions and Answers Already Passed



Which programming concept can be described as "The parts of a program have access to which other
parts?"



a.Logic

b. Scope

c. Variable

d. Appearance - Answers Scope

What VBA function can be used to check to see if a value is a valid date?



a. isValidDate()

b. isDate()

c. isFloat()

d. isNumeric() - Answers IsDate()

In the code below, what is the scope of the salary variable?



Sub Test1()

Dim salary as Currency

salary = 5000

End Sub



a. Subroutine-level scope

b. Form-level scope

c. Project-level scope

d. Module-level scope - Answers Subroutine-level scope

,On assigning a value to a new variable inside a function, it automatically becomes a global variable



a. True

b. False - Answers False

A subroutine cannot call a function



a. True

b. False - Answers False

What is the name of the VBA object that represents an Excel file



a. Workbook

b. Spreadsheet

c. Application

d. Worksheet - Answers Workbook

Which VBA command will allow the user to access values from a Userform called myUserform before
the Userform is displayed to the user?



a. Load myUserform

b. Display myUserform

c. Show myUserform

d. Hide myUserform - Answers Load myUserform

Which VBA statement is typically used to display a Userform called myUserform on the screen for the
first time?



a. Show myUserform

b. Hide myUserform

, c. Display myUserform

d. Load myUserform - Answers Show myUserform

A Userform that allows you to keep working in Excel while its open is called _____________



a. Modeless

b. Moded

c. Modular

d. Modal - Answers Modal

What is the line of code used to have your program continue when an unusual error happens?



a. On Error GoTo 0

b. On Error Resume Next

c. On Error Return

d. On Error Resume Last - Answers On Error Resume Next

What line of code is used to turn off error handling?



a. On Error GoTo 0

b. On Error Resume Next

c. On Error Return

d. On Error Resume Last - Answers On Error GoTo 0

In the following code, what is the word "DataEntryError" called in VBA?



Sub SomeErrors()

On Error GoTo DataEntryError

strUsername = InputBox("What is your name?", "User input", "")
$10.49
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
TutorJosh Chamberlain College Of Nursing
Voir profil
S'abonner Vous devez être connecté afin de pouvoir suivre les étudiants ou les formations
Vendu
353
Membre depuis
1 année
Nombre de followers
16
Documents
29264
Dernière vente
9 heures de cela
Tutor Joshua

Here You will find all Documents and Package Deals Offered By Tutor Joshua.

3.6

55 revues

5
19
4
14
3
12
2
0
1
10

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions