{"id":28745,"date":"2023-11-18T12:12:05","date_gmt":"2023-11-18T06:42:05","guid":{"rendered":"https:\/\/tocxten.com\/?page_id=28745"},"modified":"2023-11-18T12:17:34","modified_gmt":"2023-11-18T06:47:34","slug":"sample-viva-questions","status":"publish","type":"page","link":"https:\/\/tocxten.com\/index.php\/sample-viva-questions\/","title":{"rendered":"Sample Viva Questions"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Lab 1a: Write a python program to find the best of two test average marks out of three test\u2019s marks accepted from the user.<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program accept user input for the three test marks?<\/li>\n\n\n\n<li>What steps does your program take to calculate the average marks for each test?<\/li>\n\n\n\n<li>How does your program determine the best of the two test averages?<\/li>\n\n\n\n<li>Could you explain the use of any conditional statements or loops in your program?<\/li>\n\n\n\n<li>How would your program handle invalid inputs, such as non-numeric characters or negative values for test scores?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 1b: Develop a Python program to check whether a given number is palindrome or not and also count the number of occurrences of each digit in the input number.<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program determine whether the given number is a palindrome or not?<\/li>\n\n\n\n<li>Could you explain the approach your program uses to count the occurrences of each digit in the input number?<\/li>\n\n\n\n<li>How does your program handle potential errors or invalid inputs, such as non- numeric characters or negative values?<\/li>\n\n\n\n<li>Does your program utilize any data structures or specific techniques to count the occurrences of digits efficiently?<\/li>\n\n\n\n<li>What optimizations, if any, have you implemented to enhance the efficiency of your program, especially in counting the occurrences of digits?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 2a: Defined as a function F as Fn = Fn-1 + Fn-2. Write a Python program which accepts a value for N (where N &gt;0) as input and pass this value to the function.<\/h2>\n\n\n\n<p><strong>Display suitable error message if the condition for input value is not followed<\/strong>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Could you explain the concept behind the function F, where Fn = Fn-1 + Fn-2?<\/li>\n\n\n\n<li>How does your Python program verify and handle the condition for the input value<\/li>\n<\/ol>\n\n\n\n<p>(N) to ensure it&#8217;s greater than zero?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Could you explain the process within your program that passes the user-provided value (N) to the defined function F?<\/li>\n\n\n\n<li>Does your program utilize any iterative or recursive methods to calculate the function Fn = Fn-1 + Fn-2?<\/li>\n\n\n\n<li>How does your program ensure the display of an appropriate error message when the input value does not satisfy the condition N &gt; 0?<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 2b: Develop a python program to convert binary to decimal, octal to hexadecimal using functions.<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Can you explain the specific functions you&#8217;ve created for converting binary to decimal and octal to hexadecimal?<\/li>\n\n\n\n<li>How does your program validate the input received from the user to ensure it represents a valid binary or octal number before performing the conversion?<\/li>\n\n\n\n<li>Could you describe the algorithms or mathematical operations used within the functions to perform the conversions accurately?<\/li>\n\n\n\n<li>How does your program manage potential errors or unexpected inputs during the conversion process?<\/li>\n\n\n\n<li>Do your functions handle large binary numbers or octal values effectively, or are there limitations to the size of the numbers they can process?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 3a: Write a Python program that accepts a sentence and find the number of words, digits, uppercase letters and lowercase letters<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program determine the number of words in the provided sentence?<\/li>\n\n\n\n<li>Could you explain the process your program follows to identify and count the number of digits within the sentence?<\/li>\n\n\n\n<li>What approach does your program take to calculate the count of uppercase letters in the sentence?<\/li>\n\n\n\n<li>How does your program differentiate between lowercase and uppercase letters while counting their occurrences?<\/li>\n\n\n\n<li>Does your program account for potential edge cases or unexpected inputs, such as special characters or punctuation within the sentence?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 3b: Write a Python program to find the string similarity between two given strings<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>What specific metric or approach does your program use to calculate the similarity between two strings?<\/li>\n\n\n\n<li>Can you explain how your program handles variations in string lengths when computing their similarity?<\/li>\n\n\n\n<li>Could you discuss the types of string similarity measurements or algorithms your program is utilizing?<\/li>\n\n\n\n<li>How does your program account for cases where the strings have similar content but different structures or order of words?<\/li>\n\n\n\n<li>Does your program consider the impact of case sensitivity or different character types (such as Unicode characters) in determining string similarity?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 4a: Write a Python program to Demonstrate how to Draw a Bar Plot using Matplotlib.<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program utilize Matplotlib to create a bar plot in Python?<\/li>\n\n\n\n<li>Could you explain the data representation used in your program for creating the bar plot?<\/li>\n\n\n\n<li>What customization options or attributes does your program employ to enhance the visualization of the bar plot (e.g., colors, labels, axes formatting)?<\/li>\n\n\n\n<li>Does your program allow for multiple bars, grouped bars, or stacked bars in the plot? If so, how does it achieve this functionality?<\/li>\n\n\n\n<li>How does your program handle potential errors or unexpected data types while creating the bar plot?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 4b: Write a Python program to Demonstrate how to Draw a Scatter Plot using Matplotlib.<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program use Matplotlib to create a scatter plot in Python?<\/li>\n\n\n\n<li>What type of data structure does your program utilize for generating the scatter plot?<\/li>\n\n\n\n<li>Could you explain the customization options applied in your program to enhance the visual aspects of the scatter plot (e.g., marker styles, colors, labels, axis formatting)?<\/li>\n\n\n\n<li>Does your program handle additional dimensions in the scatter plot, such as size or color of markers to represent another variable? If so, how is this accomplished?<\/li>\n\n\n\n<li>How does your program address potential issues or unexpected data types when creating the scatter plot?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 5a: Write a Python program to Demonstrate how to Draw a Histogram Plot using Matplotlib.<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program utilize Matplotlib to create a histogram plot in Python?<\/li>\n\n\n\n<li>What type of data representation or structure does your program use to create the histogram?<\/li>\n\n\n\n<li>Could you explain the customization options implemented in your program to enhance the visual aspects of the histogram (e.g., bins, colors, labels, axes formatting)?<\/li>\n\n\n\n<li>Does your program provide flexibility in setting the number of bins or handling different bin sizes in the histogram plot? If so, how is this managed?<\/li>\n\n\n\n<li>How does your program manage potential errors or unexpected data types while creating the histogram plot?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 5b: Write a Python program to Demonstrate how to Draw a Pie Chart using Matplotlib.<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program utilize Matplotlib to create a pie chart in Python?<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What type of data representation does your program employ for generating the pie chart?<\/li>\n\n\n\n<li>Could you explain the customization options your program uses to enhance the appearance of the pie chart (e.g., colors, labels, explode, shadow effects)?<\/li>\n\n\n\n<li>Does your program handle the labeling of slices in the pie chart, especially when there are many slices or small portions? If so, how is this managed?<\/li>\n\n\n\n<li>How does your program address potential errors or unexpected data types while creating the pie chart?<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 6a: Write a Python program to illustrate Linear Plotting using Matplotlib.<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program use Matplotlib to create a linear plot in Python?<\/li>\n\n\n\n<li>Could you explain the data representation and format used within your program to illustrate the linear plot?<\/li>\n\n\n\n<li>What customization options or attributes does your program utilize to enhance the appearance of the linear plot (e.g., line styles, colors, labels, axes formatting)?<\/li>\n\n\n\n<li>Does your program handle multiple lines on the same plot or incorporate markers along the plotted line? If so, how is this implemented?<\/li>\n\n\n\n<li>How does your program manage potential errors or unexpected data types while creating the linear plot?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 6b: Write a Python program to illustrate liner plotting with line formatting using Matplotlib<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program use Matplotlib to perform linear plotting with line formatting in Python?<\/li>\n\n\n\n<li>What line formatting options or attributes does your program employ to enhance the appearance of the plotted lines (e.g., line styles, colors, thickness)?<\/li>\n\n\n\n<li>Could you explain how your program differentiates and illustrates various lines using different formatting in the same plot?<\/li>\n\n\n\n<li>Does your program allow for the inclusion of markers or points along the plotted lines, and how are these incorporated with the line formatting?<\/li>\n\n\n\n<li>Does your program allow for the inclusion of markers or points along the plotted lines, and how are these incorporated with the line formatting?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 7: Write a Python program which explains uses of customizing seaborn plots with Aesthetic functions<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program utilize Seaborn&#8217;s aesthetic functions to customize plots in Python?<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Could you explain the types of customizations applied using Seaborn&#8217;s aesthetic functions (e.g., changing color palettes, modifying plot styles, adjusting plot elements)?<\/li>\n\n\n\n<li>What are the advantages of using Seaborn&#8217;s aesthetic functions over standard plotting libraries for plot customization?<\/li>\n\n\n\n<li>Does your program demonstrate the application of aesthetic functions in multiple types of plots (e.g., bar plots, line plots, scatter plots)? If so, how is this achieved?<\/li>\n\n\n\n<li>How does your program handle potential errors or unexpected inputs when using Seaborn&#8217;s aesthetic functions for plot customization?<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 8: Write a Python program for plotting different types of plots using Bokeh<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program utilize Bokeh to create different types of plots in Python?<\/li>\n\n\n\n<li>Which types of plots are demonstrated in your program using Bokeh?<\/li>\n\n\n\n<li>Could you explain the approach your program uses to handle and format the various plot types (e.g., line plots, scatter plots, bar plots) in Bokeh?<\/li>\n\n\n\n<li>Does your program showcase interactivity features or tools available in Bokeh for the created plots? If so, how are these features implemented?<\/li>\n\n\n\n<li>How does your program handle potential errors or unexpected data inputs when creating different types of plots using Bokeh?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 9: Write a Python program to draw 3D Plots using Plotly Libraries<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program use the Plotly library to create 3D plots in Python?<\/li>\n\n\n\n<li>Which types of 3D plots are demonstrated in your program using Plotly (e.g., 3D surface plots, scatter plots, contour plots)?<\/li>\n\n\n\n<li>Could you explain the approach your program takes to handle and format the different types of 3D plots in Plotly?<\/li>\n\n\n\n<li>Does your program showcase any interactive or customizable features available in Plotly for the created 3D plots? If so, how are these features implemented?<\/li>\n\n\n\n<li>How does your program handle potential errors or unexpected data inputs when creating various 3D plots using Plotly?<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 10a: Write a Python program to draw Time Series using Plotly Libraries.<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program utilize Plotly to create Time Series plots in Python?<\/li>\n\n\n\n<li>Which specific features of Plotly does your program use to handle time-based data in creating Time Series plots?<\/li>\n\n\n\n<li>Could you explain the process your program follows to format and represent Time Series data within the Plotly environment?<\/li>\n\n\n\n<li>Does your program offer any interactive elements for the Time Series plots, such as zooming, panning, or tooltips? If so, how are these implemented?<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How does your program manage potential errors or unexpected data formats when creating Time Series plots using Plotly?<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Lab 10b: Write a Python program for creating Maps using Plotly Libraries<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>How does your program utilize Plotly libraries to create maps in Python?<\/li>\n\n\n\n<li>Which types of maps are demonstrated in your program using Plotly (e.g., scatter plots on maps, choropleth maps, geographic heatmaps)?<\/li>\n\n\n\n<li>Could you explain the data representation and source used within your program to create maps in Plotly?<\/li>\n\n\n\n<li>Does your program showcase any interactive or customizable features available in Plotly for the created maps (e.g., zoom, hover information, custom styling)? If so, how are these features implemented?<\/li>\n\n\n\n<li>How does your program handle potential errors or unexpected data inputs when creating different types of maps using Plotly?<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Lab 1a: Write a python program to find the best of two test average marks out of three test\u2019s marks accepted from the user. Lab 1b: Develop a Python program&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-28745","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages\/28745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/comments?post=28745"}],"version-history":[{"count":1,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages\/28745\/revisions"}],"predecessor-version":[{"id":28747,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages\/28745\/revisions\/28747"}],"wp:attachment":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/media?parent=28745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}