Programming Classes
257 subscribers
35 photos
1 video
12 files
24 links
Tech For better Future!
Download Telegram
Quizzes For Web Development Course ๐Ÿ‘‡๐Ÿ‘‡
Forwarded from Programming Classes (๐Ÿ‡ฒ ๐Ÿ‡ท . ๐Ÿ‡ฒ ๐Ÿ‡ท ๐Ÿ‡ฝ)
What HTML tag is used to make text bold?
Anonymous Quiz
52%
<b>
11%
<strong>
37%
Both
What HTML tag is used to make text superscript?
Anonymous Quiz
60%
<sup>
15%
<superscript>
26%
Both of the above
What HTML tag is used to indicate that text is deleted?
Anonymous Quiz
61%
<del>
12%
<strike>
27%
Both of the above
How to add image to our website using html?

Watch This Videos ๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡
https://youtu.be/Hh_se2Zqsdk?si=yoYMQnB7Doe46mkm

https://youtu.be/Qerz5CQa2A8?si=BRYO73hXl4ph-lb8

https://youtu.be/p22-bIIvINw?si=yCcDq4MJS3oLq2iG

https://youtu.be/NSZWj0mio1A?si=hIhf3ICJET7YDhBx

And more videos are available on YouTube.
If it's still not clear ask me on comment ๐Ÿ‘‡
๐Ÿ‘3
#Basic_computer
What is the purpose of a cache in a computer system?
a) To store frequently accessed data for faster retrieval
b) To provide additional storage space for files
c) To control the flow of data between the CPU and other hardware components
d) To protect the computer from malware attacks
โค1
For all students of Python, web Development and basic Computer Courses

We would like to inform you that our Class which was scheduled to be held on the first Saturday of the week has been postponed to Next Friday due to our Exams next week. We would like to tell you to study the lessons with your full attention and prepare for the exams.

Note: Please note that there will be classes for two consecutive days next Friday and Saturday.
๐Ÿ‘3
We would like to inform you that our Class which was scheduled to be held on the first Friday of the week has been postponed to Next Saturday.
๐Ÿ‘1
Tomorrow, we will have classes just like scheduled in the timetable. So students do prepare and come to class on time.
Have a nice time.
๐Ÿ‘3
Write the output of the following functions.
A function to add two numbers:

def add_numbers(a, b):
return a + b

result = add_numbers(5, 3)
print(result)
2. A function to check if a number is even:

def is_even(num):
if num % 2 == 0:
return True
else:
return False

print(is_even(4))
print(is_even(5))
3. A function to calculate the area of a circle:

import math

def area_of_circle(radius):
return math.pi * radius ** 2

print(area_of_circle(5))
4. A function to print a greeting message:

def greet(name):
print("Hello, " + name + "!")

greet("Alice")
greet("Bob")
5. A function to calculate the factorial of a number:
def factorial(num):
if num == 0:
return 1
else:
return num * factorial(num-1)

print(factorial(5))

@oroscholarly
Website: oroscholarly.gaammeemedia.com
1. append() method adds an element to the end of the list:

numbers = [1, 2, 3]
numbers.append(4)
print(numbers) # Output: [1, 2, 3, 4]
2. extend() method adds multiple elements to the end of the list:

numbers = [1, 2, 3]
numbers.extend([4, 5])
print(numbers) # Output: [1, 2, 3, 4, 5]
3. insert() method inserts an element at a specific index:

fruits = ["apple", "banana", "orange"]
fruits.insert(1, "grape")
print(fruits) # Output: ["apple", "grape", "banana", "orange"]
4. remove() method removes the first occurrence of an element:

fruits = ["apple", "banana", "orange"]
fruits.remove("banana")
print(fruits) # Output: ["apple", "orange"]
5. pop() method removes and returns the last element of the list:

numbers = [1, 2, 3]
last_number = numbers.pop()
print(last_number) # Output: 3
print(numbers) # Output: [1, 2]
6. index() method returns the index of the first occurrence of an element:

fruits = ["apple", "banana", "orange"]
index_of_banana = fruits.index("banana")
print(index_of_banana) # Output: 1
7. count() method returns the number of occurrences of an element in the list:

numbers = [1, 2, 3, 2, 1]
number_of_ones = numbers.count(1)
print(number_of_ones) # Output: 2
8. sort() method sorts the list in ascending order:

numbers = [3, 1, 4, 2]
numbers.sort()
print(numbers) # Output: [1, 2, 3, 4]
9. reverse() method reverses the order of the list:

numbers = [1, 2, 3]
numbers.reverse()
print(numbers) # Output: [3, 2, 1]

#python
@oroscholarly
Oroscholarly.gaammeemedia.com
๐Ÿฅฐ1
16. \<b> for bold text:

   <b>This text is bold.</b>

17. \<i> for italicized text:

   <i>This text is italicized.</i>

18. \<u> for underlined text:

   <u>This text is underlined.</u>

19. \<s> for strikethrough text:

   <s>This text has a strikethrough.</s>

20. \<blockquote> for block quotes:

   <blockquote>This is a blockquote.</blockquote>

21. \<q> for inline quotes:

   <q>This is an inline quote.</q>

22. \<abbr> for abbreviations:

   <abbr title="World Wide Web">WWW</abbr>

23. \<cite> for citations:

   <cite>Book Title</cite>

24. \<sub> for subscript text:

   H<sub>2</sub>O

25. \<sup> for superscript text:

   E=mc<sup>2</sup>

These tags allow for text formatting, quotations, abbreviations, citations, and special text positioning within HTML content.
here are a few more basic HTML tags covering various text formatting and structural elements:

26. \<code> for indicating computer code:

   <code>int main() { return 0; }</code>

27. \<kbd> for indicating keyboard input:

   Press <kbd>Ctrl</kbd> + <kbd>C</kbd> to copy.

28. \<mark> for highlighting text:

   <mark>This text is highlighted.</mark>

29. \<time> for representing dates or times:

   <time datetime="2023-11-30">November 30, 2023</time>

30. \<del> for indicating deleted text:

   <del>This text has been deleted.</del>

31. \<ins> for indicating inserted text:

   <ins>This text has been inserted.</ins>

32. \<small> for smaller text:

   <small>This text is smaller.</small>

33. \<dfn> for defining terms:

   <dfn>HTML</dfn> stands for HyperText Markup Language.

34. \<address> for contact information:

   <address>123 Street, City, Country</address>

These tags offer additional ways to format and structure text, highlight content, and provide context within an HTML document.
#WebDevlopment

Since We Are Lagging Behind In Our Lessons In Website Development, please practice the codes I sent you above on your phone in the format you learned before. In our next class we will be talking about lists and Tables. Letโ€™s practice the preliminary codes weโ€™ll be looking at together under this topic.
<ul>
<ol>
<li>
<table>
<th>
<tr>
<td>
๐Ÿ‘1
As the week comes to a close we couldn't resist sharing of these new photos of programming class at Ambo Ifa Boru Special Boarding School.
๐Ÿ‘5โค4๐Ÿ‘1
Hello students

Due to different reasons we haven't learned for more than 3 weeks,
Please manage you're time as we might have multiple long learning sessions ahead to finish the course in this semester.
๐Ÿ‘4๐Ÿ”ฅ1๐Ÿ‘1๐Ÿ˜1