Share The Website Don't Just Download The Labs.
🧑🏻💻IDA Website
⚡Flash Website
🧑🏻💻IDA Website
⚡Flash Website
🍵 IT6008 - Computer Programming 1 (2024)
🥣 Welcome
Welcome
IDA
🕸️ IT6012 - Web Fundamentals
Async Activity - Unit 1: Lab 7
🍵 IT6008 - Computer Programming 1 (2024)
Lab 1: Introduction to Java
Lab 2: Variables and Data Types
Lab 3: Using Java Classes
Lab 4: Control Flow
Lab 4B: Methods
Lab 5A: Loops
Lab 5B: Advanced Loops
Lab 6A: Arrays
🛜 IT6003 - Networks and Data Communications (2024)
Network Exam 1
Networking Mock Questions
GS5102 - Introduction to Human Rights
ICCPR - MCQ & T/F
Civil Service Bureau (Discussion)
GS5104 - Arabic Language
اختبار درس مدخل إلى الهمزة
اختبار درس همزة القطع ومواضعها
اختبار درس كتابة الهمزة المتوسطة
GS5103 - Modern Economic History of Bahrain
Why study History & Historical chronology quiz
Topic 1. A Historic-geographical introduction to Bahrain Quiz
Topic 2- Early Trade in Bahrain Quiz
🍵 IT6008 - Computer Programming 1 (2024)
Lab 6A: Arrays
Question 1
#
Question 2
#
Question 3
#
Trace the following code, what is the output?
#
Answer:
0
1
4
9
16
25
36
49
64
81
Question 4
#
Trace the following code, what is the output?
#
Answer:
9
7
5
3
1
Question 5
#
Trace the following code, what is the output?
#
Answer:
Output will be:
1
2
3
4
5
6
7
8
9
Out of bounds exception
Question 6
#
Explain the purpose of the following method:
#
The algorithm checks if the values in the array are in increasing order
Question 7
#
Explain the purpose of the following method:
#
Answer:
The algorithm finds the minimum value in the array
Question 8
#
Question 9
#
Previous
Lab 5B: Advanced Loops
Next
Network Exam 1