nerdexam
Cisco

300-215 · Question #85

Refer to the exhibit. Which type of code is shown?

The correct answer is B. Python. Python Code Identification Option B is correct because the exhibit displays Python code, identifiable by Python-specific syntax such as indentation-based structure, print() as a function (with parentheses), and likely the use of Python keywords like def, import, or colons (:)…

Submitted by kwame.gh· Mar 6, 2026Fundamentals

Question

Refer to the exhibit. Which type of code is shown?

Exhibit

300-215 question #85 exhibit

Options

  • AVBScript
  • BPython
  • CBash
  • Dshell

How the community answered

(34 responses)
  • A
    3% (1)
  • B
    88% (30)
  • C
    3% (1)
  • D
    6% (2)

Explanation

Python Code Identification

Option B is correct because the exhibit displays Python code, identifiable by Python-specific syntax such as indentation-based structure, print() as a function (with parentheses), and likely the use of Python keywords like def, import, or colons (:) to define code blocks. VBScript (A) is incorrect because VBScript uses keywords like Sub, Dim, and WScript, with no indentation enforcement. Bash (C) is incorrect because Bash scripts begin with a shebang line (#!/bin/bash) and use dollar signs ($) for variables. Shell (D) is incorrect as shell scripting similarly relies on command-line syntax, variables prefixed with $, and does not use Python's clean indentation structure.

Memory Tip: Remember "Python = Parentheses + Pretty indentation" - if the code uses print() with parentheses and relies on whitespace/indentation instead of braces {} or end statements to define blocks, it's almost certainly Python.

Topics

#Python#Scripting languages#Code identification#Security tools

Community Discussion

No community discussion yet for this question.

Full 300-215 Practice