words and meanings Flashcards
What is a bash file?
A bash file is a script written for the Bash (Bourne Again SHell) command interpreter, typically containing a series of commands to be executed in a Unix-like operating system.
True or False: A bash file must always have a .sh extension.
False. While it is common to use a .sh extension, it is not required.
What is the primary purpose of a repository in software development?
The primary purpose of a repository is to store and manage code, track changes, and facilitate collaboration among developers.
Fill in the blank: A repository can be hosted on platforms such as _____ or _____ for version control.
GitHub, GitLab
What is a perceptron?
A perceptron is a type of artificial neuron used in machine learning, particularly in binary classifiers, which takes multiple inputs, applies weights, and produces a single output.
Multiple choice: What does a perceptron primarily model?
A) Linear decision boundaries B) Non-linear decision boundaries C) Time series data D) Clustering of data
True or False: A bash script can include conditional statements.
True. Bash scripts can include conditional statements like if, then, and else.
What command is used to execute a bash file?
The command used is ‘./filename.sh’ or ‘bash filename.sh’.
Fill in the blank: A repository typically includes a _____ file that describes the project.
README
What is the output of a perceptron when the weighted sum of inputs exceeds a certain threshold?
The output is 1 (or ‘true’).
Multiple choice: Which of the following is NOT a component of a perceptron?
A) Weights B) Activation function C) Bias D) Loop
True or False: A bash file can be executed without having execute permissions.
False. A bash file must have execute permissions to be run directly.
What are the two main types of repositories?
Centralized and distributed repositories.
Fill in the blank: The perceptron learning algorithm adjusts weights based on the _____ of the output.
error
What is the significance of the shebang (#!) in a bash file?
The shebang indicates the script interpreter to be used to execute the file.
Multiple choice: Which command initializes a new Git repository?
A) git start B) git init C) git create D) git new
True or False: A perceptron can only classify linearly separable data.
True. A single-layer perceptron can only classify linearly separable data.
What is the purpose of using a version control system with a repository?
To track changes, manage versions, and facilitate collaboration.
Fill in the blank: The perceptron model is a foundational concept in _____ learning.
supervised
What happens when the perceptron’s output is below the threshold?
The output is 0 (or ‘false’).
Multiple choice: Which command is used to view the status of a Git repository?
A) git log B) git status C) git check D) git info
True or False: Bash files can only contain commands, not functions.
False. Bash files can contain both commands and functions.
What is the typical file extension for a bash script?
.sh
Fill in the blank: The perceptron uses a _____ function to determine the output.
step