0% found this document useful (0 votes)
4 views3 pages

LMS Access and Python Basics Guide

The document provides answers to common questions about a Python programming course, including details about the welcome kit, attendance tracking, and accessing class recordings. It also covers Python programming concepts such as variable naming, field width, and formatting with f-strings. Additional information includes how to use the LMS platform and the availability of student email IDs.

Uploaded by

Swadhi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

LMS Access and Python Basics Guide

The document provides answers to common questions about a Python programming course, including details about the welcome kit, attendance tracking, and accessing class recordings. It also covers Python programming concepts such as variable naming, field width, and formatting with f-strings. Additional information includes how to use the LMS platform and the availability of student email IDs.

Uploaded by

Swadhi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Basic Python Programming - 1

1.​ When will we get the welcome kit?​


Answer: We will first send you the soft copy via email during the first
week of February. If any changes are required, a Google Form will be
attached to the email. Kindly fill out the form if any modifications are
needed. After this, it will take approximately 15 days to generate your
AWS ID. Once it's generated, your kit will be dispatched to you as soon
as possible. You will also receive a tracking ID to monitor the delivery
status once it's shipped.

2.​ Where do I check my attendance?


Answer: Please note that attendance status will not be visible in the
LMS. However, we are monitoring your participation on the backend,
and your activity in each lecture will be considered.

3.​ Where and how to see our details on LMS?


Answer: ​
Step 1 : Open LMS.
Step 2: You will be directed to the Masai LMS platform interface.
Step 3: At the top right corner, you will see the "My Profile" icon.
Step 4: Click on the "My Profile" icon.
Step 5: Once clicked, you will be able to see your details.

4.​ Do the practice assignments get reviewed by someone?


Answer: Assignments are autograded.

5.​ When will we get our student email ID?​


Answer: You will receive Daksh Gurukul email ID will be delivered to
you during Module 1 of your course.

6.​ Where can I find LMS?​


Answer: LMS Login : [Link] ​
You can bookmark this link in your browser for easy access.​
7.​ Where can I find the class recordings?​
Answer: Once the lecture is over, the recording will be available after 2
to 3 hours. To access the recording, click on the "VIEW RECORDING"
option.​

8.​ How can we print star patterns without loops?​


Answer:You can print star patterns without loops by using multiline
strings or the \n newline character.​
For eg : print("★ ★ ★ ★ ★\n★ ★ ★ ★ ★\n★ ★ ★ ★ ★")​

9.​ Can we use space in variables or not?​


Answer:No, you cannot use spaces in variable names in Python.​

10.​ What is the use of field width?​


Answer:Field width in Python defines the minimum space a value
should occupy when printed, ensuring proper alignment in output
formatting.​

11.​ What does 'f' mean in %f?​


Answer:In %f, the 'f' stands for float, which means it formats a number
as a floating-point (decimal) value.​

12.​ Can %f be used both for field width and precision?​


Answer:Yes​

13.​ Does it mean that if we write 20.2f, it means it will be printed after
20 spaces?​
Answer:Not exactly! Writing %20.2f means the total width (including
digits, decimal, and spaces) will be at least 20 characters​

14.​ Is field width measured from backward?​


Answer:Yes! Field width in Python is measured from the right
(backward)​

15.​ Is the value of PI already inserted in Python?​


Answer:Yes, the value of π (PI) is already available in Python through
the math module.​
16.​ In case of 20.20f, field width will be 40? Or is the field width 20 and
precision 2?​
Answer: Field width is 20 (total width of the printed number).​
Precision is 20 (number of digits after the decimal point).​

17.​ Is field width like a box?​


Answer: Yes, you can think of field width like a box that determines
how much space the formatted number will occupy when printed.​

18.​ What is the difference between a forward slash (/) and a backslash
(\)?​
Answer:Forward Slash (/): Used for division and in URLs/Unix file
paths.​
Backslash (): Used as an escape character in strings and in Windows
file paths.​

19.​ Why do we use f in the print statement?​


Answer:The f in a print statement is used for f-strings, which allow you
to insert variables directly into strings.

Common questions

Powered by AI

The restriction on spaces in variable names ensures that variables can be easily parsed and understood by the interpreter, avoiding ambiguities in code interpretation. This limitation requires developers to adopt naming conventions like camelCase or snake_case, which improve readability and maintainability .

Autograding automates the evaluation of assignments, offering consistency and speed in feedback. Benefits include immediate results and reduced instructor workload, but it may not fully assess qualitative aspects and can fail to provide personalized feedback needed for deeper learning .

In Python, 'f' is used to create f-strings, which allow embedding expressions inside string literals, using curly braces {}. This makes it significantly easier and more intuitive to integrate variables and expressions within strings .

Multiline strings and newline characters provide a simple way to format text in Python by allowing line breaks within strings directly. For star patterns, a single print statement can output multiple lines by including \n within the string or using triple quotes to span multiple lines .

In %20.2f, the number 20 specifies the total field width, including digits, decimal point, and spaces, while 2 specifies the precision, determining the number of digits to be displayed after the decimal point .

Field width in Python is inherently measured from the right, meaning the alignments are done from the back of the string, where extra spaces are added at the front to meet the specified width. This differs from positional formatting where placement is explicitly defined .

Using predefined constants like π from Python's math module is educationally valuable as it standardizes the value across programs, reducing errors. It also helps students understand the importance of modularity and reusability in programming by using standard libraries .

Restricting attendance visibility in an LMS may protect student privacy and focus more on participation than mere presence. However, it can challenge students' ability to self-monitor and verify their participation record, potentially leading to misunderstandings about their engagement status .

Field width in Python specifies the minimum space a value should occupy, which helps in aligning values correctly when printed. It is measured from the right, meaning the padding spaces, if needed, are added on the left side to reach the specified width .

Field width can be visualized as a box that determines the total space occupied by a value when formatted, including padding spaces. Precision, on the other hand, defines the number of digits after the decimal point. This analogy helps by providing a visual representation of how formatting constraints determine the spacing and representation of numbers in output .

You might also like