ASSIGNMENT ONE Mobile Programming
ASSIGNMENT ONE Mobile Programming
GROUP MEMBERS
1. Muigai Cathrine – 19/05988
Questions
1.With the aid of examples, explain 50 terminologies as used in the world of computer
Programming
Answers
1. Variable- A container for storing data whose value can change. Example: int x = 5;
2. Function - A block of reusable code designed to perform a specific task. Example: void
printMessage() { cout << "Hello, World!"; }
3. Array: A data structure that stores a collection of items. Example: int numbers [] = {1, 2,
3, 4, 5};
4. String- A sequence of characters. Example: string message = "Hello, World!";
5. Boolean- A data type that can have one of two values, typically true or false. Example:
bool isReady = true;
6. Integer- A data type representing whole numbers. Example: int count = 10;
7. Float- A data type representing floating point numbers. Example: float pi = 3.14;
8. Double- A data type representing double-precision floating point numbers. Example:
double distance = 10.5;
9. Char- A data type representing a single character. Example: char grade = 'A';
10. Pointer- A variable that stores the memory address of another variable. Example: int* ptr
= &x;
11. Class- A blueprint for creating objects that encapsulates data and behavior.
Example:
class Person {
string name;
int age;
};
12. Object- An instance of a class. Example: Person person1;
13. Inheritance- A mechanism where a new class inherits properties and behaviors from
another class.
14. Polymorphism- The ability to present the same interface for different data types.
15. Encapsulation- The bundling of data and methods that operate on the data into a single
unit.
16. Abstraction- The process of hiding the implementation details and showing only the
functionality to the user. Example: Using a library function without knowing its internal
implementation.
17. Stack- A data structure that follows the Last In, First Out (LIFO) principle. Example:
Function call stack.
18. Queue- A data structure that follows the First In, First Out (FIFO) principle. Example:
Waiting line.
19. Linked List- A data structure consisting of a sequence of elements where each element
points to the next one.
20. Binary Tree- A hierarchical data structure in which each node has at most two children.
21. Algorithm: A step-by-step procedure to solve a problem. Example: Sorting algorithms
like Bubble Sort or Quick Sort.
22. Sorting: Arranging items in a specific order. Example: Sorting an array of numbers in
ascending order.
23. Searching: Finding a particular item in a collection of items. Example: Searching for a
specific value in an array.
24. Hashing: The process of converting input data into a fixed-size value. Example: Using
hash functions in data structures like hash tables.
25. Compiler: A program that translates source code into machine code. Example: GCC
(GNU Compiler Collection).
26. Interpreter: A program that directly executes instructions written in a programming or
scripting language. Example: Python interpreter.
27. IDE (Integrated Development Environment): A software suite that consolidates the
basic tools developers need to write and test software. Example: Visual Studio.
28. Version Control: The management of changes to documents, computer programs, large
web sites, and other collections of information. Example: Git.
29. Debugging: The process of finding and fixing errors or bugs in a computer program.
Example: Using print statements or a debugger to identify issues in code.
30. API (Application Programming Interface): A set of rules and protocols that allow
different software applications to communicate with each other. Example: The Twitter
API for accessing Twitter data.
31. Library: A collection of precompiled routines that a program can use. Example:
Standard Template Library (STL) in C++.
32. Framework: A reusable set of libraries or classes for a software system. Example:
Django for web development in Python.
33. GUI (Graphical User Interface): A type of user interface that allows users to interact
with electronic devices through graphical icons and visual indicators. Example: Windows
desktop interface.
34. CLI (Command Line Interface): A text-based interface used to interact with a
computer program. Example: Command Prompt in Windows or Terminal in Unix.
35. Database: A structured set of data held in a computer, typically accessed and managed
by a database management system. Example: MySQL, PostgreSQL.
36. SQL (Structured Query Language): A domain-specific language used in programming
and designed for managing data held in a relational database management system.
Example: SELECT * FROM employees WHERE department = 'IT';
37. Front end: Front end is the part of a computer program visible to users and allows them
to interact with the program.
38. Back end: Back end is the server side of the internet or an application. This is the part
users don't see. In the back end, programmers connect the web to a database.
39. Bug: These are pieces of code that cause a program crash or send an error message.
40. Command: A command is an action to ask a computer to perform. For example, when
you click to open a file, you're initiating a command that the computer obeys.
41. Data: Data refers to any information that a computer can store in its programs. This
includes addresses, names and phone numbers.
42. Data: Data refers to any information that a computer can store in its programs. This
includes addresses, names and phone numbers.
43.
2. With the aid of a diagram explain the components of VB.net IDE Window
3. With the aid of examples, explain any 30 VB.net controls as found in Toolbox