Python Interview Pro 200 Interview Questions Basic To Advance Level Suri Download
Python Interview Pro 200 Interview Questions Basic To Advance Level Suri Download
https://ebookmeta.com/product/python-interview-pro-200-interview-
questions-basic-to-advance-level-suri/
https://ebookmeta.com/product/core-java-interview-questions-
youll-most-likely-be-asked-job-interview-questions-series-2nd-
edition-vibrant-publishers/
https://ebookmeta.com/product/advanced-sas-interview-questions-
you-ll-most-likely-be-asked-job-interview-questions-3rd-edition-
vibrant-publishers/
https://ebookmeta.com/product/ultimate-interview-100s-of-sample-
questions-and-answers-for-interview-success-ultimate-series-6th-
edition-lynn-williams/
https://ebookmeta.com/product/medicinal-cannabis-and-cbd-in-
mental-healthcare-1st-edition-kylie-o-brien-philip-blair-2/
Pills and the Public Purse: The Routes to National Drug
Insurance Milton M. Silverman
https://ebookmeta.com/product/pills-and-the-public-purse-the-
routes-to-national-drug-insurance-milton-m-silverman/
https://ebookmeta.com/product/blanket-immunity-1st-edition-adam-
van-susteren/
https://ebookmeta.com/product/silk-steel-1st-edition-ariana-nash-
pippa-dacosta/
https://ebookmeta.com/product/engaging-minds-evolving-learning-
and-teaching-4th-edition-davis-brent-francis-krista/
https://ebookmeta.com/product/handbook-of-what-works-with-sexual-
offenders-contemporary-perspectives-in-theory-assessment-
treatment-and-prevention-1st-edition-jean-proulx/
Portable Wire Antennas John Hill
https://ebookmeta.com/product/portable-wire-antennas-john-hill/
"SERIES OF 200 INTERVIEW QUESTIONS ON
PYTHON BASIC-ADVANCE"
Basic Python Concepts:
1. What is Python?
2. How is Python different from other programming languages?
3. Explain Python's dynamic typing.
4. What is the difference between Python 2 and Python 3?
5. What is PEP 8, and why is it important?
6. What are the different ways to comment in Python?
7. How is memory managed in Python?
8. Explain the Global Interpreter Lock (GIL) in Python.
Control Structures:
17. Explain if-elif-else statements in Python.
18. How do you use the for loop in Python?
19. What is the purpose of the range() function in Python?
20. Explain the while loop in Python.
21. How do you exit a loop prematurely in Python?
22. What is the purpose of the break and continue statements?
Functions:
23. How do you define a function in Python?
24. Explain the difference between parameters and arguments in
a function.
25. What is a lambda function, and how is it used?
26. What is a docstring in Python?
27. How do you return multiple values from a function?
28. Explain function scope and global variables in Python.
29. What is recursion, and how does it work in Python?
30. How are functions first-class citizens in Python?
Object-Oriented Programming
(OOP):
31. What is OOP, and why is it important?
32. Explain classes and objects in Python.
33. How do you create a class in Python?
34. What are attributes and methods in a class?
35. What is inheritance in Python?
36. Explain method overriding in OOP.
37. What is encapsulation, and how is it achieved in Python?
38. What is polymorphism in Python?
Exception Handling:
39. What is an exception in Python?
40. How do you handle exceptions using try-except blocks?
41. Explain the finally block in exception handling.
42. What is the purpose of the raise statement?
43. What is the difference between except and else in
exception handling?
File Handling:
44. How do you open a file in Python?
45. Explain the modes for opening files in Python.
46. How do you read data from a file?
47. How do you write data to a file?
48. What is the purpose of the with statement in file handling?
Python Security:
126.
What are common security vulnerabilities in Python
applications?
127.
How can you protect against SQL injection attacks in
Python?
128.
Explain cross-site scripting (XSS) and how to
prevent it in Python web applications.
129.
What is the importance of input validation and
sanitization in Python?
130.
How can you secure sensitive data storage in Python
applications?
II.
III.
The popular rising in 1903 opened new channels for the national
struggle; it was also the prelude to the hardest and bitterest time
that the Southern Slav people have yet been called upon to face.
Khuen’s successor was Count Theodore Pejacsević, a Croatian noble,
who was no great statesman, but at least a good administrative
official. He gave the distracted country a brief time of quiet,
equitable government, and deserves great credit for abolishing
Khuen’s system of corruption. Meantime the strongly Nationalist
parties in Croatia had formed a block,—the Serbo-Croat Coalition,—
and Count Pejacsević found it impossible to raise a pro-Hungarian
majority in Parliament. Shortly afterwards the Hungarian Opposition
also rose into conflict with the Crown, and the situation became
involved both in Hungary and Croatia. The Hungarian Opposition
applied to the Serbo-Croat Coalition for support in their struggle and
promised that, if their party were returned, they would grant all
Croatia’s demands as embodied in the Agreement of 1867.
Negotiations were carried on by Francis Kossuth and Geza Polonyi on
behalf of Hungary, and by Frano Supilo as delegate of the Serbo-
Croat Coalition. These negotiations resulted in the Resolution of
Fiume (October, 1905), which stipulated for the political co-operation
between the Hungarian and Serbo-Croat parties, and secured
considerable advantages to Croatia in the event of success. The
Resolution of Fiume was in every way a masterpiece of policy and
diplomacy, and was in all its details the achievement of Frano Supilo,
who was the popular leader in Croatia at the time. In the election of
1905 the Coalition won a brilliant victory. Not one Government
candidate was returned, and the small Opposition consisted of
partizans of Ante Starćević’s one-time idealist, patriotic
constitutionalist party, which however, since his death, had passed
under the control of Jewish solicitors, and was so committed to a
purely Austrian Christian-Socialist policy. As the Hungarian
Opposition had likewise scored a victory, the Croatian Cabinet was
composed of representatives of the Serbo-Croat Coalition, with
Count Pejacsević retained in office as “ut conditio sine qua non.”
Croatia enjoyed a short respite and began to look forward to better
times. But her hopes were once more doomed to disappointment.
The perfidious Magyars once more failed to keep their word. So long
as they needed the Serbs and Croats they were full of love and
brotherliness, but when they had gained their point, they discarded
the mask of false friendship. Francis Kossuth, having become
Handelsminister (Minister of Trade) in the Hungarian Cabinet in
1907, introduced a bill on the control of the Railways which was the
most flagrant and outrageous infringement of the Agreement as yet
attempted. It provided that thenceforth the language used on the
railway-system, even in Croatian territory, was to be Hungarian,
although it had been specially stipulated in the Agreement—which
stands in the place of a fundamental constitutional law—that
Croatian was to be official tongue in all joint offices within Croatian
territory. The Serbo-Croat Coalition, which is represented by forty
members in the Hungarian Parliament, rose in wrath against the Bill,
and declared war to the knife upon the Hungarian Government. The
conflict in the Hungarian Parliament is known all over Europe. The
Croats and Serbs pursued a policy of obstruction, which fairly
paralyzed the House and made parliamentary discussion of the
Railway Bill quite impossible. To get it passed Kossuth so worded his
Bill that it was contained in one paragraph, empowering the
Government to deal with the Pragmatic (administrative business of
the country) at their discretion as part of the Order of the Day.
The rupture with Hungary was now complete. The Serbo-Croat
Coalition transferred the conflict to Croatia, and the nation began to
agitate for detachment from Hungary. The Parliament was dissolved,
but the Coalition was again victorious in the election. On the
resignation of the Croatian Government, Alexander v. Rakodczay was
appointed Ban, but failing to raise a party friendly to the
Government he was forced to resign his office in two months. The
next Ban to be appointed was Baron Paul Rauch, who boldly entered
his capital town of Zagreb, but was received with hostile
demonstrations and showers of stones. It speaks well for his
courage that he was not affected by this reception, and even
introduced himself to the Parliament with great pomp. His reception
in Parliament was one great demonstration of hostility, so that he
could not even read the Royal message. He had to fly the building
with his Ministerial staff, and Parliament was officially dissolved the
same day. Baron Rauch formed a Government party of venal
upstarts and discredited characters, secured the support of the now
thoroughly demoralized “constitutionalist party,” and ordered a new
election. Everything was done to intimidate the electorate, with the
result that not one of Rauch’s candidates was returned. This
Parliament was dissolved without even having been summoned, and
Rauch embarked on a reign of terror which can only be compared to
that of Germany in the Cameroons. He organized the Jewish-
constitutionalist party into bands which went by the name of the
“Black Hand.” Their motto was “For the Emperor, and for Croatia,”
and their weapons were murder and assault, which they were
allowed to use with impunity against their opponents. At the same
time an organized judicial persecution of the Serbs was set on foot.
But even this tyranny could not break the national resistance.
At this juncture a new contingency arose. The Monarchy was
preparing to annex Bosnia and Hercegovina, and a suitable pretext
had to be found. The Government accordingly invented the “Greater
Serbian agitation.” The heroic struggle of the Serbo-Croat Coalition
was represented as being the outcome of a Greater Serbian
agitation, and Baron Rauch was commissioned to unmask this
“widespread criminal conspiracy.” In the summer of 1908, to the
amazement and consternation of the people, large numbers of
Serbs, chiefly priests, school-masters and business men, were
arrested, and the official Press triumphantly announced that a
horrible, widespread and highly treasonable propaganda had been
discovered! The preliminary investigations lasted a long time, and
March 3rd, 1909, saw the opening of the proceedings against the
“traitors” who had conspired with Serbia for the detachment of all
the Slavonic South from the Monarchy. The trial lasted till October
5th, when all the accused parties received very heavy sentences.
Immediately afterwards the Austrian historian Dr. Heinrich Friedjung
stated in the Viennese Neue Freie Presse, that the leaders of the
Serbo-Croat Coalition were also implicated in this conspiracy,
especially Frano Supilo, Grga Tuškan and Božidar Vinković, and that
his accusation was founded on documentary evidence. Hereupon the
whole Serbo-Croat Coalition took proceedings against Dr. Friedjung
for libel. The result of this case, which was fought in Vienna, caused
a European sensation. It was conclusively proved that all the
documentary evidence against the Coalition, both in the Zagreb and
the Viennese trials, had been forged by order of Baron Aehrenthal,
the Minister for Foreign Affairs, and Count Forgach, the Austrian
Ambassador in Belgrade. Friedjung himself confessed as much in
court. The consequence of this unparalleled exposé was, that the
King-Emperor had to rescind the sentences already passed in the
Zagreb trial.17 Meantime, however, the desired object had been
gained, and Bosnia-Hercegovina was annexed contrary to the will of
all the Slavs.
But, with scandalous details incidental to the annexation, Baron
Rauch’s mission had been brilliantly fulfilled. Soon afterwards
Kossuth’s perfidious Government was turned out and Croatia’s old
oppressor, Count Khuen Hedervary, became Premier. Khuen,
however, was a personal enemy of Rauch, and occasioned his recall.
In his place Nikolaus von Tomašić was appointed Ban of Croatia—a
most eminent and highly-respected Croatian scholar, but politically a
satellite of Khuen. He did his best to restore order, and to this end
negotiated with the Serbo-Croat Coalition. Frano Supilo protested
most emphatically against this. He had already had exhaustive
experience of Magyar perfidy, and had no desire to see his people
once again walk into the trap. But the Coalition was perhaps weary
of the struggle—perhaps they still hoped for fair dealing, and
accordingly entered into a compact with Tomašić which made
peaceful government possible so long as the rights of the nation
were respected. On the strength of this compact several Government
candidates were returned at the next election; after which Tomašić
promptly ignored the Coalition and governed only with his own
party. Supilo’s prophecy was fulfilled, and the Coalition had once
more to join the Opposition. Tomašić was overthrown but the
Austro-Hungarian Government replied by sending Herr von Cuvaj,
the Terrorist Commissioner, and suspending the Constitution. These
were the days of bitterest misery and unscrupulous tyranny in
Croatia. Cuvaj ruled with the knout, and the knout only. Police
espionage flourished, and all personal, political and civil liberty was
set at naught. All this time the Balkan War was raging, and woe to
the Serb or Croat who dared to rejoice at his brother’s victories. But,
when the Balkan Alliance was victorious, the Southern Slavs knew
that from henceforth they could rely on a measure of support from
their kinsmen. Vienna and Budapest were equally perspicacious and
realized the advisability of changing their tactics. Cuvaj was recalled
and Count Stephen Tisza, one of the most inveterate enemies of the
Slavs, sent Baron Skerlecz to Croatia with instructions to conciliate
the Croats. The effete Serbo-Croat Coalition was once more cajoled,
and, for the third time, it entered into a disastrous compact with
Hungary. This time one of the consequences was the expropriation
of the Croatian sea-board in favour of Hungary. Moreover, the
present crisis found the Coalition helplessly committed to the
Government.
But the people had stood firm. The dire sufferings of recent years
have begotten a new and healthy movement, which includes the
entire youth of Croatia. The younger generation has lost faith in
political parties, and begun to go its own way along the path which
leads away from Hungary and away from Austria, back to union with
their scattered kindred. Their aim is the establishment of a great,
free and independent Southern Slav State. At the head of this
younger generation stands a man of magnetic personality—Frano
Supilo.
IV.
“BURIED TREASURES.”
BY DIMITRIJ MITRINOVIĆ.