Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: Lesson Review #7446
    Rafael
    Participant

    I learned about: program related to maths
    Ceil()= round up
    Floor()= round down
    import random= generates random numbers
    abs= absolute value
    int= integer

    in reply to: Record Answers Here for lesson 22nd March 2022 #7439
    Rafael
    Participant

    The function can only have 1 argument but can combine functions in one argument.
    The function can be assigned to a variable.
    The order of the argument makes difference. The order of the argument decides which one goes first and which one goes last.
    The import random => makes the random number

    Program2
    a. CEil() function rounds the number up to the nearest integer.
    b Floor() function rounds the number down to the nearest integer.
    c. THe syntax for both functions are same as the syntax for math.

    in reply to: Python Input Output Activities 18th March #7415
    Rafael
    Participant

    It firstly asks for the user to enter the name, then the student Id, and lastly course number. After writing all the answers to those questions, it labels in (Name, ID, and class enrollment)
    String literal escape sequence is a sequence of characters from the source character set enclosed in double quotation marks. They are used to represent a sequence of characters.
    When it changes to /t, it means ‘tab’, it is an escape sequence for the tab character.

    in reply to: Record Answers to Python Activity 11.2 #7396
    Rafael
    Participant

    a. Instead of print(compoundClass[3]), type print(compoundClass[4]). If you put compoundClass[5]), it won’t work since there is no compoundClass as it starts from compoundClass[0].
    b. compoundClass = [“alkanes”, “alkenes”, “alcohols”, “ketones”, “alkyl halides”, “alkynes”]
    print(compoundClass[5]) I add “alkynes” so there is compoundClass[5].
    c. compoundClass = [“alkanes”, “alkenes”, “alcohols”, “ketones”, “alkyl halides”, “alkynes”]
    print(compoundClass[-1]) I could observe that it starts count from the back. So it prints “alkynes”.
    e. compoundClass = [“alkanes”, “alkenes”, “alcohols”, “ketones”, “alkyl halides”, “alkynes”]
    print(compoundClass[-2]) It prints out alkyl halides.
    f. Positive starts from the alkanes and goes on, and negative is the opposite of positive. It goes from back to forward.
    g. It prints out all the compoundClass written.

    in reply to: Computer Resources on Various Computer Systems #7232
    Rafael
    Participant

    Supercomputers are used for large and hard mathematical computations. Mainframe computers are used as storage for large databases and serve a maximum number of users simultaneously. And as the name says “super” computer, it is the largest computer. Mainframe computers are much smaller than Supercomputers. Since Supercomputers focused on executive few programs as fast as possible while mainframe uses its power to the executive as many programs concurrently. A server is software that provides services to other programs or users.

    Laptop: Nowadays. due to covid, many people use a laptop. It is a computer that is portable for use while traveling, but they do not come with optical drives for use with CDs or DVDs. It also costs high prices.

    Mobile Phone: I bet most of the people at least have one. With the due invention of the mobile phone, there are more ways to communicate with others that can be an excellent resource.

    in reply to: What is a Resource? #7186
    Rafael
    Participant

    The resource is a source, supply, or support that can be used for making benefits or profits.

    Video card- Also called a Graphic card, is an expansion card that generates the video signal sends graphical information to a video display device such as a monitor and tv.

    CPU- Central processing unit, is the main processor which is composed of main memory, control unit, and arithmetic logic unit.

    Hard drive- Hard disk drive, is a component that stores all the data on our computer, from files to software such as documents, pictures, music, videos, programs.

    in reply to: Operating Systems Intro Types #7092
    Rafael
    Participant

    Microsoft Windows and macOS are my favorites since I have never heard of Linux. Microsoft Windows and macOS are both famous operating systems allow computers to run user applications Allows you to store information in files, connect with the world, and more. Both use a graphical user interface and both have command-line tools. Windows is a group of various proprietary graphical operating systems which is provided by Microsoft Incorporation. macOS stands for Macintosh Operating System. It is a series of proprietary graphical operating systems which is provided by Apple Incorporation. Firstly, they are developed by different companies. Microsoft is made by Microsoft Incorporation, and macOS is made by Apple Incorporation. And Microsoft Windows was published in 1985, which 16 years later macOS is launched. For Microsoft Windows, it was made to design for various different PC companies. But macOS was just made to design for their own company. Right now, the latest version for Microsoft Windows is Windows 10, and macOS has a 10.15.1 version for the latest version. Both of them are for workstations and personal computers. And nowadays why Microsoft Windows is more famous and well-used by people is that the Mac hasn’t gained more share in the computer market is the perceived lack of software written for the operating system. Apple is well known for designing personal computers and entertainment devices such as the iPod. The product has gone through a series of developments to meet the needs of consumers. Conversely, Microsoft is known when it comes to operating systems and applications such as Windows and Office.

    in reply to: Image Compression Activity #7038
    Rafael
    Participant

    Run Length Encoding is the Lossless compression algorithm that converts consecutive identical values into a code consisting of the character and the number marking the length of the run. Replace each row with numbers that say how many consecutive pixels are the same colour, always starting with the number of white pixels.

    in reply to: Compression File Formats #7032
    Rafael
    Participant

    1. File compression is used to reduce the file size of one or more files. File compression reduces the financial cost of running a network and takes up less storage space.
    2. Lossless means exactly it doesn’t lose any of the data. Lossless, A file can be restored in its original form. Lossless compression does not reduce the size of data. Lossless Compression is used in Text, images, sound. Lossy means it losses data when the compression occurs. It does not restore or rebuild in its original form. It also reduces the size of data. Lossy compression is mostly used in images, audio, and video.
    3. JPEG, GIF, MP4 -> Lossy
    PNG, BMP, ALAC -> Lossless

    in reply to: VPN Benefits #6998
    Rafael
    Participant

    1. VPN can prevent web browsers and others from accessing your connection, helping to keep the information you send and receive anonymous and secure.

    2. VPNs can securely connect a user to a company’s internal network or to the public Internet.

    in reply to: VPN Benefits #6996
    Rafael
    Participant

    1. VPN can prevent web browsers and others from accessing your connection, helping to keep the information you send and receive anonymous and secure.

    2. VPNs can securely connect a user to a company’s internal network or to the public Internet.

    in reply to: Encryption #6992
    Rafael
    Participant

    Symmetric encryption uses a single key that needs to be shared among the people who need to receive the message. And asymmetric encryption uses a pair of public key and a private key to encrypt and decrypt messages when communicating

    in reply to: Online Security #6933
    Rafael
    Participant

    – Turn on two-factor authentication
    turn on two-factor authentication to protect account takeovers that can lead to payment fraud. Even if a user’s original password is leaked or stolen, only the user receives the one-time password code via SMS that’s needed to log in to a digital payment app or site.

    – Verify your payment recipient
    Many digital payment systems lack the checks and balances we’re used to with more traditional payments. If you send money to the wrong address/person it can be lost forever.

    – Double-check QR codes
    Before scanning a QR code, especially one on printed material in a public place, make sure it hasn’t been pasted over with a different code.

    – Don’t reuse passwords
    Once a criminal acquires stolen data, they could potentially access any other accounts protected by the same username and password.

    in reply to: Difference between a Variable and a Constant in programming #6530
    Rafael
    Participant

    A constant does not change its value but variable changes its value depends on the equation. And when constants are written in numbers, variables are written in letters or symbols.

    in reply to: Top software failures in recent history #6420
    Rafael
    Participant

    This happened while addressing the glitches in New Jersey’s hospital vaccine scheduling system. Found 10k duplicate appointments. The team made more than 10,400 phone calls to fix the issue. And then identified that around 70 percent of appointments were duplicated.

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