100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

IGME 105 Written Exam 2 Questions and Answers 100% Solved

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
29-03-2025
Written in
2024/2025

IGME 105 Written Exam 2 Questions and Answers 100% Solved How to use Array variables Correct Answ_1. Declare the variable 2. Initialize it 3. Access its value What number does the array indices starts Correct Answ_0 How to determine the length of an array Correct Answ_Use the Length property of an array to determine its Identifier.Length

Show more Read less
Institution
IGME 105 ...
Course
IGME 105 ...

Content preview

IGME 105 Written Exam 2 Questions and
Answers 100% Solved

How to use Array variables Correct Answ_1. Declare the variable


2. Initialize it

3. Access its value




What number does the array indices starts Correct Answ_0




How to determine the length of an array Correct Answ_Use the Length property of an array

to determine its size.arrayIdentifier.Length




How array elements are stored in memory? Correct Answ_Array elements are stored in

contiguous memory, one right after another.




what is the formula to calculate the memory address of an array element, given the element's

index, the array's base memory address and the size of each element? Correct

Answ_elementAddress = arrayAddress + index * size

, What's a method? Correct Answ_Defines the behavior specific to a class




What are the 2 key principles of good programming? Correct Answ_modularity and

reusability




How modularity works Correct Answ_Break down code into smaller, related parts


More manageable and readable

Reduce the number of local variables inside a module




How reusability works? Correct Answ_Duplicated code (copy/paste) is not good


Must maintain same code in multiple places

Better to put duplicate code in a new method and 'call' it from multiple places




What all methods must have? Correct Answ_A return type and a method identifier.

Parameters are optional.




What can end a method early? Correct Answ_A return statement in a void method

Written for

Institution
IGME 105 ...
Course
IGME 105 ...

Document information

Uploaded on
March 29, 2025
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$14.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
ARVEX

Also available in package deal

Thumbnail
Package deal
IGME 1O5 EXAM PACK WITH COMPLETE SOLUTIONS
-
3 2025
$ 40.97 More info

Get to know the seller

Seller avatar
ARVEX stuvia
View profile
Follow You need to be logged in order to follow users or courses
Sold
7
Member since
10 months
Number of followers
0
Documents
2867
Last sold
2 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions