【单选题】【消耗次数:1】
若定义inta=-5,b=-8,c=-12;则表达式a=b||bc的值为()。
变量i的值
变量j的值
0
1
参考答案:
复制
纠错
相关题目
【单选题】 若有定义:inta=5,b=2;则表达式b=(a!=5)的值为()。
①  5
②  0
③  3
④  2
【单选题】 已知inta=4,b=5;,这执行表达式a=a>b后,变量a的值为()
①  0
②  1
③  4
④  5
【单选题】 若有定义:inta;且表达式!a的值为0,则表达式()的值为1。
①  a!=0
②  a==0
③  a=0
④  !(a0||a0)
【单选题】 若有定义:inta=3,b=2,c=1,k;则表达式k=ac的值是()。
①  0
②  1
③  2
④  3
【单选题】 已知inta=2,b=5;则表达式a+5>b+3的值是
①  0
②  1
③  不确定
④  表达式错误
【单选题】 设int a =-12,b =5;则条件表达式a <b ?a+2:b 的值为()
①  1
②  0
③  -10
④  5
【单选题】 假设所有变量均为整型,则表达式(a=2,b=5,b++,a+b)的值是( )。
①  7
②  8
③  6
④  2
【单选题】 设int a =5,b =7;则条件表达式8<4?a :b 的值为()
①  0
②  1
③  5
④  7
【单选题】 如果变量a=50、b=ABC 、c=abc 、d=10,则表达式a d Or b c And b c的值 是 。
①  True
②  False
③  Yes
④  No
【单选题】 若有定义:int a=3,b=2,c=1;并有表达式:①a%b,②a>b>c,③b&&c+1,④c+=1,则表达式值相等的是()。
①  ①和②
②  ②和③
③  ①和③
④  ③和④
随机题目
【单选题】 Stylistically, Henry James’ fiction is characterized by ________.
①  highly refined language
②  ordinary American speech
③  short, clear sentences
④  abundance of local images
【单选题】 The first American writer of local color to achieve wide popularity was?____.
①  Bret Harte
②  Mark Twain
③  Henry James
④  William Dean Howells
【单选题】 Mark Twain, one of the greatest 19th century American writers, is well known for his ______.
①  international theme
②  waste-land imagery
③  local colorism
④  symbolism
【单选题】 Who exerts the single most important influence on literary naturalism, of which Theodore Dreiser and Jack London are among the best representative writers?
①  Freud
②  Darwin
③  W. D. Howells
④  Emerson
【单选题】 _____ had an evident influence on naturalism. It seemed to stress the animality of man, to suggest that he was dominated by the irresistible forces of evolution.
①  Transcendentalism
②  Darwinism
③  Marxism
④  Freudianism
【单选题】 As a realist, Mark Twain concerned particularly about the local character of a region, which came about as “_________”.
①  Naturalism
②  Transcendentalism
③  Local Colorism
④  Both A and C
【单选题】 ______ is not the representative writer in the Age of Realism in the literary history of the United States.
①  Henry James
②  Ezra Pound
③  William Dean Howells
④  Mark Twain
【单选题】 Which of the following is not right about Mark Twain’s writing style?
①  ungrammatical and complicated
②  colloquial and concrete
③  remarkable humor
④  deep influence on contemporary writers
【单选题】 After the Civil War America was transformed from ______ to ______.
①  an agrarian community … an industrialized and commercialized society
②  an agrarian community … a society of freedom and equality
③  a poor and backward society … an industrialized and commercialized society
④  an industrialized and commercialized society … a highly developed society
【单选题】 Which of the following is NOT right about Mark Twains style of language?
①  His sentence structures are long, ungrammatical and difficult to read.
②  His words are colloquial, concrete and direct in effect.
③  His humor is remarkable and characterized by puns, straight-faced exaggeration, repetition and anti-climax.
④  His style of language had exerted rather deep influence on the contemporary writers.