task_id
stringlengths
6
6
question
stringlengths
12
399
choices
sequencelengths
2
4
k00101
What is the command to add the remote repository "https://abc.xyz/d/e.git" as "origin"?
[ "git remote add origin https://abc.xyz/d/e.git", "git origin=https://abc.xyz/d/e.git", "git add origin https://abc.xyz/d/e.git", "git remote https://abc.xyz/d/e.git" ]
k00102
What is the command to delete the branch "new-email"
[ "git delete new-email", "git delete branch new-email", "git gone new-email", "git branch -d new-email" ]
k00103
What is the command to merge the current branch with the branch "new-email"?
[ "git add new-email", "git commit -merge new-email", "git merge new-email" ]
k00104
What is the option, when moving to a branch, to create the branch it if it does not exist?
[ "-b", "-new", "-newbranch", "-all" ]
k00105
What is the command to move to the branch named "new-email"?
[ "git branch new-email", "git branch -move new-email", "git checkout branch new-email", "git checkout new-email" ]
k00106
What is the command to create a new branch named "new-email"?
[ "git newBranch \"new-email\"", "git add branch \"new-email\"", "git branch new \"new-email\"", "git branch new-email" ]
k00107
In Git, a branch is:
[ "Nothing, it is a nonsense word.", "A separate version of the main repository.", "A secret part of Git config.", "A small wooden stick you can use to type commands." ]
k00108
What is the command to see the available options for the commit command?
[ "gitHelp commit", "git commit -help", "git commit readme", "git commitHelp" ]
k00109
What is the command to view the history of commits for the repository?
[ "git history", "git --full-log", "git commits", "git log" ]
k00110
What is the command to commit with the message "New email":
[ "git commit -log \"New email\"", "git commit message \"New email\"", "git commit -mess \"New email\"", "git commit -m \"New email\"" ]
k00111
What is the command to commit the staged changes for the Git repository?
[ "git snapshot", "git com", "git save", "git commit" ]
k00112
Git commit history is automatically deleted:
[ "Every month.", "Every year.", "Every 2 weeks.", "Commit history is never automatically deleted." ]
k00113
Git automatically adds new files to the repository and starts tracking them.
[ "True", "False" ]
k00114
What is the command to initialize Git on the current repository?
[ "initialize git", "start git", "git init", "git start" ]
k00115
What is the command to get the current status of the Git repository?
[ "git getStatus", "git config --status", "--status", "git status" ]
k00116
What is the command to add all files and changes of the current folder to the staging environment of the Git repository?
[ "git add --files", "git add --all", "git add" ]
k00117
What is the command to set the user email for the current repository?
[ "git email.user", "git config user.email", "git config email" ]
k00118
Which option should you use to set the default user name for every repository on your computer?
[ "No need to specify, that is the default.", "--all", "--A", "--global" ]
k00119
What is the command to get the installed version of Git?
[ "git --version", "getGitVersion", "gitVersion", "git help version" ]
k00120
Git is the same as GitHub.
[ "False", "True" ]
k00121
What is a correct syntax to create a NumPy array?
[ "np.createArray([1, 2, 3, 4, 5])", "np.array([1, 2, 3, 4, 5])", "np.object([1, 2, 3, 4, 5])" ]
k00122
Which of the following arrays is a two dimensional (2-D) array?
[ "[1, 2, 3, 4, 5]", "42", "[[1, 2, 3], [4, 5, 6]]" ]
k00123
What is a correct syntax to check the number of dimensions in an array?
[ "arr.ndim()", "arr.dim", "arr.ndim", "arr.dim()" ]
k00124
What is a correct method to round decimals in NumPy?
[ "np.around()", "np.fix()", "All the other 3 are rounding methods in NumPy", "np.trunc()" ]
k00125
What is a correct syntax to subtract the numbers from arr1 with the numbers from arr2?
[ "np.sub(arr1, arr2)", "np.subtract(arr1, arr2)", "np.minus(arr1, arr2)", "np.min(arr1, arr2)" ]
k00126
What is a correct syntax to mathematically add the numbers of arr1 to the numbers of arr2?
[ "np.append(arr1, arr2)", "sum(arr1, arr2)", "np.add(arr1, arr2)" ]
k00127
When using the NumPy random module, how can you return a Normal Data Distrbution with 1000 numbers, concentrated around the number 50, with a standard deviation of 0.2?``` random ```
[ "random.normal(size=1000, loc=50, scale=0.2)", "random.normal(size=1000, normal=50, s=0.1)", "random.normal(size=1000, mean=50, deviation=0.2)" ]
k00128
When using the NumPy random module, how can you return a random number from 0 to 100?``` random ```
[ "random.rand(100)", "random.randint(100)", "random.rand()" ]
k00129
What is a correct method to sort the elements of an array?
[ "orderby()", "sort()", "order()" ]
k00130
What is a correct method to search for a certain value in an array?
[ "find()", "where()", "search()" ]
k00131
What is a correct method to split arrays?
[ "array_split()", "vstack()", "All the other 3 answers are correct", "hstack()" ]
k00132
What is a correct method to join two or more arrays?
[ "join()", "concatenate()", "array_join()" ]
k00133
What is a correct syntax to return the shape of an array?
[ "shape(arr)", "arr.shape", "arr.shape()" ]
k00134
What is a correct syntax to return the index of all items that has the value 4 from the array below:arr = np.array([1,4,3,4,5,4,4])?``` arr = np.array([1,4,3,4,5,4,4]) ```
[ "arr.where()", "arr.search(4)", "np.where(arr == 4)" ]
k00135
What is a correct syntax to print the first item of an array?
[ "print(myArr,1)", "print(myArr[0])", "print(myArr[1])" ]
k00136
Only one of the following statements is true when it comes to Copies in NumPy, which one?
[ "The copy SHOULD be affected by the changes made to the original array.", "The copy SHOULD NOT be affected by the changes made to the original array." ]
k00137
Only one of the following statements is true when it comes to Views in NumPy, which one?
[ "The view SHOULD NOT be affected by the changes made to the original array.", "The view SHOULD be affected by the changes made to the original array." ]
k00138
What is a correct syntax to create an array of type float?
[ "arr = np.array([1, 2, 3, 4]).toFloat()", "arr = np.array([1, 2, 3, 4], dtype='f')", "arr = np.float([1, 2, 3, 4])" ]
k00139
What is a correct syntax to check the data type of an array?
[ "arr.ntype", "arr.datatype", "arr.dtype", "arr.type" ]
k00140
Which syntax would print every other item from the array below:arr = np.array([1,2,3,4,5,6,7])``` arr = np.array([1,2,3,4,5,6,7]) ```
[ "print(arr(0: step = 2))", "print(arr[1:3:5:7])", "print(arr[::2])" ]
k00141
Which syntax would print the last 4 numbers from the array below:arr = np.array([1,2,3,4,5,6,7])``` arr = np.array([1,2,3,4,5,6,7]) ```
[ "print(arr[4])", "print(arr[4:])", "print(arr[:4])", "print(arr[3:])" ]
k00142
What is a correct syntax to print the numbers [3, 4, 5] from the array below:arr = np.array([1,2,3,4,5,6,7])``` arr = np.array([1,2,3,4,5,6,7]) ```
[ "print(arr[2:4])", "print(arr[2:6])", "print(arr[3:6])", "print(arr[2:5])" ]
k00143
What is a correct syntax to print the number 8 from the array below:arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])``` arr = np.array([[1,2,3,4,5], [6,7,8,9,10]]) ```
[ "print(arr[3, 0])", "print(arr[1, 2])", "print(arr[7, 2])" ]
k00144
In NumPy, what does the SHAPE of an array mean?
[ "The shape is the number of elements in each dimension.", "The shape is the number of rows.", "The shape is the number of columns." ]
k00145
For the Pandas head() method, how many rows are returned by default, if you do not specify it?``` head() ```
[ "10", "5", "All" ]
k00146
What is a correct Pandas method for returning the last rows?
[ "back()", "foot()", "tail()", "last()" ]
k00147
What is a correct Pandas method for removing rows that contains empty cells?
[ "delete_null", "remove_null()", "dropna()" ]
k00148
True or false: by default, the Pandas dropna() method returns a new DataFrame, and will not change the original.``` dropna() ```
[ "True", "False" ]
k00149
Mean, Median, Mode. Which one returns the average value?
[ "median()", "mean()", "mode()" ]
k00150
When using the Pandas dropna() method, what argument allowes you to change the original DataFrame instead of returning a new one?``` dropna() ```
[ "dropna(original = True)", "dropna(inplace = True)", "dropna(keep = True)" ]
k00151
Mean, Median, Mode. Which one returns the value in the middle?
[ "median()", "mode()", "mean()" ]
k00152
Mean, Median, Mode. Which one returns the value that appears most frequently?
[ "median()", "mode()", "mean()" ]
k00153
What does the Pandas head() method do?``` head() ```
[ "Returns the headers and the specified number of rows, starting from the top", "Returns the specified number of rows, starting from the top", "Returns the headers" ]
k00154
What is a correct method to fill empty cells with a new value?
[ "insertna()", "value_null()", "replacena()", "fillna()" ]
k00155
What is a correct syntax to load a Python Dictionary called "data" into a Pandas DataFrame?
[ "pd.load_json(data)", "pd.DataFrame(data)", "pd.ReadJSON(data)" ]
k00156
What is a correct method to remove duplicates from a Pandas DataFrame?
[ "df.drop_duplicates()", "df.remove_duplicates()", "df.duplicates()", "df.delete_duplicates()" ]
k00157
What is a correct syntax to return the entire DataFrame
[ "df.Full()", "df.to_string()", "df.print_full()", "df.dump()" ]
k00158
What is a correct syntax to return the first 20 rows of a DataFrame?
[ "df.head(20)", "df.start(20)", "df.row(20)", "df.top(20)" ]
k00159
What is the correct Pandas function for loading CSV files into a DataFrame?
[ "read_file()", "ReadFile()", "ReadCSV()", "read_csv()" ]
k00160
What is a correct syntax to return both the first row and the second row in a Pandas DataFrame?
[ "df.[[0-1]]", "df.loc[[0, 1]]", "df.loc[[0-1]]", "df.[[0, 1]]" ]
k00161
What is a correct syntax to return the first row in a Pandas DataFrame?
[ "df.get(0)", "df[0]", "df.loc[0]" ]
k00162
What is a correct syntax to create a Pandas DataFrame?
[ "pd.DataFrame(data)", "pd.df(data)", "pd.dataframe(data)" ]
k00163
What is a correct syntax to add the lables "x", "y", and "z" to a Pandas Series?
[ "pd.Series(mylist, lables = [\"x\", \"y\", \"z\"])", "pd.Series(mylist, index = [\"x\", \"y\", \"z\"])", "pd.Series(mylist, names = [\"x\", \"y\", \"z\"])" ]
k00164
What is a correct syntax to return the first value of a Pandas Series?
[ "get(myseries, 0)", "myseries[0]", "myseries.get(0)" ]
k00165
What is a correct syntax to create a Pandas Series from a Python list?
[ "pd.Series(mylist)", "pd.getSeries(mylist)", "pd.createSeries(mylist)" ]
k00166
What is a correct method to discover if a row is a duplicate?
[ "df.duplicate()", "df.duplicated()", "df.dup()" ]
k00167
What is the correct Pandas function for loading JSON files into a DataFrame?
[ "ReadFile()", "read_file()", "read_json()", "ReadJSON()" ]
k00168
What is a correct method to find relationships between column in a DataFrame?
[ "df.rel()", "df.corr()", "df.relation()", "df.correlation()" ]
k00169
What is a correct syntax to return the number of 'not zero' values in an array?
[ "nonzeros()", "nozeros()", "no_zeros()", "count_nonzeros()" ]
k00170
When working with constanst, what would be the result of the following:constants.gram``` constants.gram ```
[ "0.01", "0.1", "0.001" ]
k00171
When running a Normality Test, what would be the skew value of a 'normal data distribution'?``` skew ```
[ "1", "0", "-1" ]
k00172
When running a Normality Test, what does a negative skew mean?``` skew ```
[ "None of the other two answers are correct", "The data is skewed left", "The data is skewed right" ]
k00173
When working with significantance testing, the 'Alpha value' is best described as:
[ "The highest possible number.", "The level of significance.", "The distance from the lowest to the highest number" ]
k00174
When we are missing some data point, we often use interpolation to substitute the missing values, what is this technique called?
[ "imputation", "amputation", "adoptation" ]
k00175
Which of the following methods is used when importing data from a Matlab format?
[ "matlab.get()", "loadmat()", "matlab()" ]
k00176
There is a method in the spatial data module that is also known as 'Manhattan Distance', which one?
[ "cityblock()", "blocks()", "block_distance()" ]
k00177
What is a correct method for exporting values in Matlab format?
[ "to_matlab()", "save_to_mat()", "savemat()" ]
k00178
Which explanation is correct for a 'convex hull'?
[ "A convex hull is the smallest square that covers four given points.", "A convex hull is the smallest triangle that covers all of the given points.", "A convex hull is the smallest polygon that covers all of the given points." ]
k00179
One of these methods is used when working with triangulation, which one?
[ "Duval()", "Dmitri()", "Delaunay()" ]
k00180
When working with constanst, what would be the result of the following:constants.kilo``` constants.kilo ```
[ "100.0", "1000.0", "10.0", "1.0" ]
k00181
When working with the csgraph modul, what is a correct method to find the shortest path in a graph from one element to another?
[ "dijkstra()", "ford()", "bellmann()" ]
k00182
Which explanation is correct for a 'Dense Array'?
[ "The values are sorted ascending", "Most of the values are not zero.", "The values are all positive" ]
k00183
What do we call an array where the content is the opposite of 'Sparse Data'?
[ "Lower Data", "Full Array", "Dense Array" ]
k00184
Which explanation is correct for 'Sparse Data'?
[ "A data set where most of the item values are zero.", "A data set with only negative values", "A data set where all numbers are higher than the previous number." ]
k00185
When dealing with curves, what are the highest point in the whole curve called?
[ "global maxima", "maximo dutti", "maxima" ]
k00186
When dealing with curves, what are the low points called?
[ "U", "bottom", "minima", "low" ]
k00187
When dealing with curves, what are the high points called?
[ "top", "slope", "high", "maxima" ]
k00188
True or False: Optimizers are a set of procedures defined in SciPy that either find the minimum value of a function, or the root of an equation?
[ "False", "True" ]
k00189
What is a correct syntax to return the speed of sound (in meters per seconds), if the module is imported like this:from scipy import constants``` from scipy import constants ```
[ "constants.mph", "constants.speed_of_sound", "constants.kmh" ]
k00190
What is a correct syntax to a list of all units under the constants module, if the module is imported like this:from scipy import constants``` from scipy import constants ```
[ "constants.list", "dir(constants)", "constants" ]
k00191
When working with the csgraph modul, what is a correct method to find all connected components in a matrix?
[ "comp_connections()", "connected_components()", "connections()" ]
k00192
What is a correct syntax to return the mathematical number PI from the constants module, if the module is imported like this:from scipy import constants``` from scipy import constants ```
[ "constants.pi_int", "constants.pi", "PI" ]
k00193
SVG can be animated and interacted with JavaScript.
[ "False", "True" ]
k00194
Which of the following attributes are used with the <linearGradient> element?
[ "x1, x2, y1 and y2", "rx, ry, cx and cy", "cx, cy, fx and fy" ]
k00195
SVG graphics do not lose any quality if they are zoomed or resized.
[ "False", "True" ]
k00196
SVG graphics cannot be indexed or searched.
[ "False", "True" ]
k00197
What is true for SVG?
[ "SVG defines vector-based graphics in XML format", "SVG defines vector-based graphics in HTML format" ]
k00198
What attributes are required for the SVG <rect> element?
[ "x and y attributes", "width and height attributes", "rx and ry attributes" ]
k00199
What attributes are used to create rounded corners for the SVG <rect> element?
[ "x and y attributes", "rx and ry attributes" ]
k00200
Which attribute is required for the SVG <circle> element?
[ "cy attribute", "r attribute", "cx attribute" ]