無料で使えるPCAP-31-03サンプル問題で100%カバー率のリアル試験問題(更新された145問あります)
今すぐダウンロード!リアルPython Institute PCAP-31-03試験問題集テストエンジン試験問題
PCAP-31-03認定試験は、Pythonプログラミングの知識を実証したい人に開かれたベンダー中立認定です。この試験は、構文、データ型、制御構造など、Pythonプログラミング言語に関する候補者の理解をテストするように設計されています。また、アルゴリズム、データ構造、オブジェクト指向プログラミングなどの基本的なプログラミングの概念もカバーしています。
質問 # 84
Assuming that the following snippet has been successfully executed, which of the equations are False? (Select two answers)
- A. b[0] - 1 == a[0]
- B. len(a)== len (b)
- C. a[0] = b[0]
- D. a [0]-1 ==b [0]
正解:B、D
解説:
>>> print(len(a)==len(b))
True
>>> print(a[0]-1==b[0])
True
>>> print(a[0]==b[0])
False
>>> print(b[0]-1 == a[0])
False
質問 # 85
What is the expected behavior of the following code?
It will:
- A. cause a runtime exception
- B. prints 3
- C. print an empty line
- D. print 0
正解:A
質問 # 86
What is the expected output of the following code?
- A. None
- B. 0
- C. True
- D. False
正解:D
質問 # 87
With regards to the directory structure below, select the proper forms of the directives in order to import module_ a. (Select two answers)
- A. import module_a from pypack
- B. import pypack.module_a
- C. from pypack import module_a
- D. import module_a
正解:B、C
質問 # 88
What is the expected output of the following snippet?
- A. 0
- B. the code is erroneous
- C. 1
- D. 2
正解:B
質問 # 89
What is the expected output of the following code if there is no file named non existing_file inside the working directory?
- A. 2 2
- B. 1 3
- C. 2 2 3
- D. 1 2 3
正解:C
質問 # 90
There is a stream named s open for writing. What option will you select to write a line to the stream''
- A. s.write("Hello\n")
- B. s.writeline("Hello")
- C. write(s, "Hello")
- D. s.writeln("Hello")
正解:A
質問 # 91
Assuming that the following piece of code has been executed successfully, which of the expressions evaluate to True? (Choose two.)
- A. isinstance (obj_b,A)
- B. B.VarA == 1
- C. obj_a is obj_aa
- D. A.VarA == 1
正解:A、C
質問 # 92
What is a true about python class constructors? (Select two answers)
- A. the constructor is a method named_init_
- B. the constructor must return a value other than None
- C. there can the more than one constructor in a Python class.
- D. the constructor must have at least one parameter
正解:A、D
質問 # 93
Assuming that the following code has been executed successfully, select the expressions which evaluate to True (Select two answers)
- A. a() > 2
- B. a is not None
- C. a is b
- D. b( ) > 2
正解:A、B、D
質問 # 94
A Python module named pymod.py contains a variable named pyvar.
Which of the following snippets will let youaccess the variable? (Select twoanswers)
- A. from pymod import pyvar pyvar ()
- B. from pymod import pyvar = 1
- C. import pyvar from pymod pyvar = 1
- D. import pymod pymod.pyvar = 1
正解:C、D
質問 # 95
Assuming that the following code has been executed successfully, select the expressions which evaluate to True (Select two answers)
- A. a() > 2
- B. a is not None
- C. a is b
- D. b( ) > 2
正解:A、B、D
質問 # 96
Which of the following lines of code will work flawlessly when put independently inside the inc ( ) method in order to make the snippet's output equal to 3? (Select two answers)

- A. self.put (self.prop + vaI)
- B. put (self.prop + vaI)
- C. self.put (self.get ( ) + vaI)
- D. self.put (get ( ) + vaI)
正解:A、C
質問 # 97
You need data which can act as a simple telephone directory. You can obtain it with the following clauses (choose two relevant variants; assume that no other items have been created before)
- A. dir={'Mom':5551234567, 'Dad':5557654321>
- B. dir={Mom:'5551234567', Dad:'5557654321'}
- C. dir={Mom:5551234567, Dad:5557654321}
- D. dir={'Mom':'5551234567', * Dad':'5557654321'}
正解:B、C
質問 # 98
What is true about Python packages? (Select two answers)
- A. _pycache_is a folder that stores semi-completed Python modules
- B. a package contents can be stored and distributed as an mp3 file
- C. the sys.path variable is a list of strings
- D. a code designed to initialize a package's state should be placed inside a file named init.py
正解:A、D
質問 # 99
What is the expected out of the following code of the file named zero_length_existing_file is a zero-length file located inside the working directory?
- A. 0
- B. an errno value corresponding to file not found
- C. 1
- D. 2
正解:D
質問 # 100
Which of the following expressions evaluate to True? (Select two answers)
- A. 'not' not in 'in'
- B. ' t '.upper () in 'Thames'
- C. 'in not' in 'not'
- D. 'a' not in 'ABC' .lower ()
正解:B
質問 # 101
......
PCAP-31-03試験は、Pythonプログラミングに関するさまざまなトピックをカバーしており、構文、データタイプ、制御構造、関数、モジュール、オブジェクト指向プログラミングの概念などが含まれています。さらに、試験ではPythonコードの書き方とデバッグ、コード断片の解釈、コードの読み取りと変更の能力も評価されます。試験は、65分以内に完了する必要がある40の多肢選択問題で構成されています。
最新PCAP-31-03テスト問題集を試そう!更新されたPython Institute試験が合格できます:https://jp.fast2test.com/PCAP-31-03-premium-file.html
検証済み!PCAP-31-03問題集と解答でPCAP-31-03テストエンジン正確解答付き:https://drive.google.com/open?id=1vudPDkggEMeahxXpfTgYNuexfAZCCZ9b