Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Record Answers Here for lesson 22nd March 2022 #7465
    aanya03
    Participant

    Can a function have more than 1 argument?
    Yes, if can have more than 1 argument if the arguments are placed and combined correctly.

    Can arguments be stored in variables?
    Yes, it can be stored in variables because a function can be assigned in variables.

    If a function contains more than one argument, do you think the order of the arguments makes a difference? Explain your answer.
    Yes, if there is more than one argument, then the difference will affect on the order of the printed function.

    in reply to: Python Input Output Activities 18th March #7464
    aanya03
    Participant

    It first ask us to enter our name, then ID number, and the your course name. This is all recorded in this specific sequence which is your name, your ID number, and then your course name. So the input is the name, ID number and Course name, and your output is all of this coming out in a code sequence.

    in reply to: Record Answers to Python Program 11.3 #7412
    aanya03
    Participant

    a. output:
    [‘Abbot’, 78, 79, ‘Barrava’, 97, 86]
    b. the commas are being stored
    otuput:
    [‘Abbot’, 78, 79, ‘Barrava’, 97, 86]
    Abbot 78 79 Barrava 97 86

    print((gradebook[1]+gradebook[2])/2)
    = the output is 78.5 this is because 78+79=157/2= 78.5
    print(gradebook[0]+gradebook[3])
    = the output is AbbotBarrava because the 0 item on the list is Abbot name and third item on the list is Barrava name.
    print(gradebook[2]+gradebook[3])
    = the output is ah error because it is an name and number together.

    in reply to: Record Answers to Python Activity 11.2 #7403
    aanya03
    Participant

    my list: compoundClass=[“math”,”science”,”history”,”La”,”Thai”]
    a. It will show error because the list start from 0. The step compoundClass[5] is out of range.
    list after adding another subject: my list: compoundClass=[“math”,”science”,”history”,”La”,”Thai”,”drama”]
    b. Now that I add another subject in the list which was drama, it will print “drama” because that is compoundClass[5]
    c. If my print statement is compoundClass[-1] my answer will be “drama”
    e. If my print statement changes from compoundClass[-1] to cpmpoundClass[-2] then my answer will be “Thai”
    f. The positive number starts from the front of the list whereas the negative number start from the back of the list.
    g. The who list of the subject is displayed and it looks like [‘math’, ‘science’, ‘history’, ‘La’, ‘Thai’, ‘drama’] this.

    in reply to: GUI and CLI #7109
    aanya03
    Participant

    The abbreviation CLI stands for Command Line Interface. CLI allows users to communicate with an operating system by writing instructions in a terminal or console window. Graphical User Interface (GUI) is an abbreviation for Graphical User Interface. The Graphical User Interface (GUI) allows users to communicate with an operating system via visuals.
    GUI ADVANTAGES: enable interaction through clarity and quality
    GUI DISADVANTAGES: Costly to develop. Implementing a graphical user interface is not an easy process as it seems while using it.
    CLI ADVANTAGES: CLI can be a lot faster and efficient than any other type of interface. It can also handle repetitive tasks easily. A CLI requires less memory to use in comparison to other interfaces.
    CLI DISADVANTAGES: Commands have to be typed precisely. If there is a spelling mistake then the command will not respond or fail. If user can mis-type an instruction, it is often necessary to start from scratch again.

    in reply to: Operating Systems Intro Types #7104
    aanya03
    Participant

    I will choose macOS since I have been using Mac for past 5 years. The Mac operating system is simple to pick up. When working with a Mac, the convenience of usage is incredible. I  will most likely use a Mac once and then never consider switching. The file system is very excellent, allowing you to quickly access anything you require. It has excellent feature and massive use of technology with time to time new updates which is fascinating. 

    in reply to: Online Security #6940
    aanya03
    Participant

    The security was bad and that lead to people’s accounts getting hacked. The authentication in banks and the security wasn’t high technology, which made it easier for hackers to hack bank accounts. This should spread as fast as it can, so it can warn other people and maybe banks should make immediate effect on their security as well.

    in reply to: Starter Variables and Constants #6539
    aanya03
    Participant

    Constant is the value in programming that cannot be change and replaced with anything, whereas variable is something in programming whose data can be changed during programming.
    1. Python
    2. Javascript
    3. Java
    4. C++
    5. GoLang
    6. C#
    7. SQL
    8. Dart
    9. R
    10. PHP

    There are different programming languages because each one does a different thing. Programming is some type of nerd thought they could make a better language which effect the modern world and modern needs.

    in reply to: Top software failures in recent history #6299
    aanya03
    Participant

    data loss at gitlab was one of the big software failures in this recent years. This was a big company that lost their 300GB and back up plan data did not work. Which now makes us realise that before making any big sort of data company you need to test their back ups and recovery capacity.

    in reply to: Approaches to online Learning #6293
    aanya03
    Participant

    both of these ways can be efficient while learning depending on which fits the student more better.

Viewing 10 posts - 1 through 10 (of 10 total)
Scroll to Top