Computer Science - I Exam Notes
8 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What type of software is Linux categorized as?

  • Paid
  • Free (correct)
  • Public domain
  • Private
  • Pointer arrays are a type of data structure in C++.

    True

    What is a pointer in C++?

    A pointer is a variable that stores the memory address of another variable.

    In HTML, the ______ tag is used to create a definition list.

    <p>DL</p> Signup and view all the answers

    Match the following data types with their sizes in bytes:

    <p>Float = 4 bytes Double = 8 bytes Short Int = 2 bytes Unsigned Int = 4 bytes Long Double = 10 bytes Char = 1 byte</p> Signup and view all the answers

    Which control structure is NOT considered a type of flow control?

    <p>Data structure</p> Signup and view all the answers

    What is an object in programming?

    <p>An object is an instance of a class containing attributes and methods.</p> Signup and view all the answers

    The ______ attribute in HTML allows cells in a table to span multiple columns.

    <p>COLSPAN</p> Signup and view all the answers

    Study Notes

    Computer Science - I Exam Notes

    • Linux is a public domain software.
    • Data items divided into sub-items are called elementary items.
    • In the declaration float *ptr, the data type of ptr is float, and the data type of the variable pointed to by ptr is float.
    • The <DL> tag is used for definition lists.
    • Memory Management involves services like allocating memory.
    • Pointers in C++ store memory addresses. A pointer array is an array of pointers.
    • HTML has advantages (easy to understand, easy to install) and disadvantages (not a paragraphing language, etc)
    • Classes are a blueprint for creating objects.
    • Virus infections can occur through various methods.
    • A record, array, and linked list are data structures.
    • Inline functions are called directly within the code.
    • COLSPAN and ROWSPAN attributes in HTML control column and row spans in tables.
    • Control structures (sequences, selections, iterations) dictate program flow.
    • Basic HTML structure includes <html> and <body> tags.
    • File systems (OS related) are for managing and organizing data on storage devices.
    • Data types (float, double, short int, unsigned int, long double, char) have varying sizes in bytes.
    • Class members are accessed using objects.
    • Process scheduling involves managing processes for efficient CPU use.
    • Bubble sort sorts elements by comparing adjacent items.
    • Pointers can be used to accept a set of numbers and print them in C++.
    • Reversing a string is possible via pointers (C++ programming).
    • HTML can be used to display tables like in "Yesterday's Weather" example.
    • Programs can be written in C++ to count words or sum numbers.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Description

    Prepare for your Computer Science - I exam with this comprehensive set of notes covering essential topics like Linux, memory management, pointers in C++, and HTML structures. This resource highlights key concepts and terminology vital for any aspiring computer scientist.

    More Like This

    Computer Science: Memory Concepts
    10 questions
    Computer Science: Main Memory
    30 questions
    Use Quizgecko on...
    Browser
    Browser